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
2
votes
1 answer

Xcode How to remove the framework after remove the pod file

After I remove the pod file, I get an error of ld: framework not found Alamofire clang: error: linker command failed with exit code 1 (use -v to see invocation) Wondering where can I remove the framework? Tried to go Targets, then go Linked…
Pak Ho Cheung
  • 1,382
  • 6
  • 22
  • 52
2
votes
0 answers

Cocoapods is not respecting the specification of a dependency from a podfile, when listed in a podspec

There's an issue with CocoaLumberjack when running with Xcode 9 and Swift 4, so I'm using the latest code from the master branch to resolve that issue. My podfile looks like so: source 'https://github.com/CocoaPods/Specs.git' platform :ios,…
Andrew
  • 7,693
  • 11
  • 43
  • 81
2
votes
1 answer

POD, target has frameworks with conflicting names

CocoaPods updated to 1.2, now I get errors. This is my POD: # Uncomment this line to define a global platform for your project # platform :ios, '8.0' # Uncomment this line if you're using Swift # use_frameworks! target 'myapp' do pod…
AVEbrahimi
  • 17,993
  • 23
  • 107
  • 210
2
votes
3 answers

The dependency `Firebase/Core` is not used in any concrete target

I am using Xcode 8.2.1, Swift 3, and IOS 10.2 (for iphone simulator). I am trying to follow this tutorial https://www.raywenderlich.com/139322/firebase-tutorial-getting-started-2 I have not gotten to the Firebase stuff. Right now I am just trying to…
kevin_b
  • 803
  • 4
  • 16
  • 34
2
votes
1 answer

pod update/install did not fetch framework as listed in podfile

After lots of reading and trial I am posting this for help. Just like "google-cast-sdk" (https://github.com/CocoaPods/Specs/blob/master/Specs/8/1/2/google-cast-sdk/3.3.0/google-cast-sdk.podspec.json), I am trying to include framework as pod to my…
userom
  • 403
  • 5
  • 8
2
votes
1 answer

I can't find podfile

I use terminal create podfile: $ cd /Users/user_name/Desktop/CocoaPodsTest $ touch Podfile but i can't find podfile in finder ,but i can use 'vim podfile' to edit it. and when i install podfile , it shows this information: [!] Could not…
yangOne
  • 79
  • 2
  • 9
2
votes
1 answer

Podfile not downloading latest Swift 3 version of pods

Since updating to Swift 3, I've had trouble getting the Swift 3 versions of pods to install. As an example, ReadabilityKit has Swift 3 support on master branch. In their readme, they state that for Swift 3 support, you must simply do: platform :ios,…
Andrew
  • 7,693
  • 11
  • 43
  • 81
2
votes
1 answer

Coreplot throws error when downloaded with cocoapods-1.0.1

I am trying to download coreplot using Cocoapods 1.0.1 and it keeps throwing the error 'CorePlot/CorePlot-CocoaTouch.h' file not found i tried various solutions given on the web and nothing worked for me. Do help me figure this out. Here is a sample…
Manju Basha
  • 665
  • 1
  • 9
  • 29
2
votes
0 answers

How to install new pods without updating old existing pods in pod file?

Hi I want to install new pod in my existing project, and in that there are some old pod files which we are using, So I don't want to disturb them (don't want update of old pods), I want to install only the required pod. So in stack overflow I got…
2
votes
3 answers

Firebase SDK doesn't work with iOS 10

I'm using Firebase in my Xcode project. And I am using cocoapods to install it. In Podfile I've set platform to ios, '9.0'. All works correctly in iOS 9.3.3 but when I test my app with iOS 10 , I get lots of errors and the Google Sign-in doesn't…
alessionossa
  • 923
  • 2
  • 15
  • 41
2
votes
0 answers

iOS my App Extension sharing code with Pods properly

I'm working on a signal based messaging app. I created a share extension and I need to use some of my pods in my share extension code. When I add these pods into my extension project, I get some errors. Because in some pods, it is used…
Ali Gunes
  • 46
  • 7
2
votes
1 answer

How to combine private git pod AND maximum pod version

I'm trying to set a maximum pod version into my 'Podfile', like AFNetworking does: pod 'AFNetworking', '~> 2.0' But I'm using a private repository so I also need to specify the git repository: pod 'AFNetworking', :git =>…
Raphaël Pinto
  • 653
  • 8
  • 20
1
vote
0 answers

The following Swift pods cannot yet be integrated as static libraries: FireBaseCoreInternal and FireBaseStorage

I'm having this problem, and I've already tried the basic solutions of use_frameworks! and use_modular_headers!, neither of which work for me, as they produce the same error: The Swift pod FirebaseCoreInternal depends upon GoogleUtilities, which…
superstar
  • 11
  • 2
1
vote
1 answer

Build Failed: No such module 'FirebaseCore'. Xcode Flutter

My project was running fine on a virtual machine but after migrating to Mac Mini M2, Xcode is not building the app. The error is No such module 'FirebaseCore' and I have tried almost every solution available on stackoverflow and github. Still the…
Tahir
  • 170
  • 10
1
vote
0 answers

iOS: React native version 0..72.1 -> 'react/debug/react_native_assert.h' file not found error

I get the error: 'react/debug/react_native_assert.h' file not found, React-utils/RunLoopObserver. The problem seems to be a pre_install hook that i added: dynamic_frameworks = [ 'Starscream', 'iProov', 'DatadogSDK', …