Questions tagged [podfile]

The Podfile is a specification that describes the dependencies of the targets of one or more Xcode projects. The file should simply be named Podfile.

A pod file is used with CocoaPod and CocoaPods is a dependency manager for Swift and Objective-C Cocoa projects.

370 questions
3
votes
0 answers

Could not find 'minitest' (~> 5.1) among 42 total gem(s) (Gem::MissingSpecError)

I am new to using React Native and is currently trying to make a simple to-do list. Unfortunately, I cannot proceed rn as I am stuck with this error, which I have no idea how to fix. What happened? My react native worked fine until today because of…
mxlyct
  • 31
  • 1
  • 2
3
votes
0 answers

How to modify post_install hook ? Specifying multiple `post_install` hooks is unsupported

I am new to iOS development and tried to merge the following pieces of code into one post_install hook without luck: post_install do |installer| installer.pods_project.targets.each do |target| flutter_additional_ios_build_settings(target) …
BerlinUkn0w
  • 458
  • 4
  • 8
3
votes
1 answer

GoogleDataTransport/GDTCORLibrary/Public/GoogleDataTransport/GDTCORTransport.h' file not found

I didn't change my code at all, and all of a sudden I got this error. This is not a file I created, it is probably from one of the pods I have included in my podfile, but I really don't know how to resolve this error. I checked the filepath for the…
JJ S.
  • 84
  • 7
3
votes
1 answer

Podfile doesn't install selected branch

Hi I'm trying to add https://github.com/fxm90/GradientLoadingBar/tree/feature/notch-gradient-loading-bar in my Xcode project , but when I specify pod 'GradientLoadingBar', :git => 'https://github.com/fxm90/GradientLoadingBar', :branch =>…
Bogdan Bogdanov
  • 882
  • 11
  • 36
  • 79
3
votes
0 answers

How to set 'exclude_files' in Podfile rather than podspec

I've created a new react-native project (0.61.5) and am trying to install react-native-track-player. The default installation docs are pretty sparse but after going through the issues I was able to successfully get the app running, just in a hacky…
Obscenity
  • 197
  • 12
3
votes
3 answers

Command PhaseScriptExecution failed with a nonzero exit code flutter

I got an error when I tried to add flutter to an existing iOS app it worked fine on the android side, in IOS I got this error message : /Users/mac/Library/Developer/Xcode/DerivedData/Fixit-…
elhoucine ayoub
  • 949
  • 2
  • 12
  • 19
3
votes
1 answer

Cocapods -Can't Update pod ObjectMapper to version 3.3 error [!] Unknown command: `ObjectMapper,`

I just updated to Xcode 10.1 Swift version 4.2.1 and I have several build errors of: Invalid redeclaration of '<~' I followed this GitHub q&A and this one that says I need to update the ObjectMapper pod to version 3.3 I didn't see the ObjectMapper…
Lance Samaria
  • 17,576
  • 18
  • 108
  • 256
3
votes
2 answers

How to install specific pod file without updating other dependencies?

I am trying to install 2 pod files without affecting/updating other dependencies in my pod file. I tried with pod install --no-repo-update command. It is not working. I want to install Fabric pod file when I try to install other dependencies are…
3
votes
1 answer

How to fix swift linker error "framework not found GTMSessionFetcher clang"

This error suddenly showed up in my Swift program ld: framework not found GTMSessionFetcher clang: error: linker command failed with exit code 1 (use -v to see invocation) but I have it as one of the frameworks and this is the pod file I have…
e.iluf
  • 1,389
  • 5
  • 27
  • 69
3
votes
0 answers

iOS App, Objective-C: Weird Podfile

I am trying to get a app running which was written by some guys some years ago. Instead of a Podfile, the app had a file called SBPodfile with the following content: #platform :ios, "8.0" #use_frameworks! target '------' do pod…
Snerps
  • 616
  • 1
  • 5
  • 12
3
votes
2 answers

Could not build objective-c module 'Firebase' and 'FirebaseAnalytics/FirebaseAnalytics.h' file not found

As described in the title, the two errors I get when trying to build and run a project that used to work when I originally started this project a year ago are as follows: Could not build objective-c module…
evanhaus
  • 727
  • 3
  • 12
  • 30
3
votes
2 answers

Private Pod update/install stuck at Pre-downloading: "" from "" step

We have a private git repo that has shared framework for mobile apps, let's call it mobilesdk. Recently a new dev joined the team, and when she is setting up the repo pod install & pod update mobilesdk are getting stuck at the following step: …
lal
  • 7,410
  • 7
  • 34
  • 45
3
votes
2 answers

Swift 3.0 with Alamofire or Objectmapper "no such module Alamofire"

I am creating an application and I need to import "Alamofire" and "ObjectMapper" to call a service API REST. The problem is that I can not import any of the two pods in any way. To simplify the program I have created a project with only one…
3
votes
2 answers

Is it possible to build pods only once?

I want to know, is it possible to build Pods only once? Because building them each time without any changes takes too much time. Is there any solution for building Pods only once and reducing build time with it?
J. Doe
  • 563
  • 1
  • 9
  • 20
2
votes
1 answer

I cannot get my simulator to work: Error running pod install

When I try to run my Flutter app on my iPhone 14 Pro Max simulator, I get the following error message: CocoaPods' output: ↳ Preparing Analyzing dependencies Inspecting targets to integrate Using `ARCHS` setting to build…
aycha
  • 59
  • 1
  • 9