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
23
votes
4 answers

No podspec found for `FBReactNativeSpec` in `../node_modules/react-native/Libraries/FBReactNativeSpec`

I have upgrade react-native to 0.64 and I'm getting this error after I run pod install. No podspec found for `FBReactNativeSpec` in `../node_modules/react-native/Libraries/FBReactNativeSpec` I have tried to remove the node_module, remove the pod…
Paolo
  • 233
  • 1
  • 2
  • 5
22
votes
4 answers

Ruby: LoadError - library not found for class Digest::SHA1 -- digest/sha1

When running pod install it runs into a problem when installing yoga. Seems to be a problem with my ruby environment? $ pod install Analyzing dependencies Fetching podspec for `Folly` from…
Peter G.
  • 7,816
  • 20
  • 80
  • 154
22
votes
6 answers

Cocoapods: LoadError - no such file to load

I am trying to add a pod to my Xcode project. I am getting this error: LoadError - no such file to load -- xcodeproj/prebuilt/universal-darwin13.0-1.8.7/xcodeproj_ext /Library/Ruby/Site/1.8/rubygems/core_ext/kernel_require.rb:55:in…
user2885928
  • 323
  • 1
  • 6
  • 13
21
votes
4 answers

Integrating pods with all targets

I have been using CocoaPods for a few weeks now with my iOS app and it works perfectly with the one target I have been testing (let's call it "MainApp"). However, I now want to build a different target ("MyAppLite") and noticed that the build failed…
colincameron
  • 2,696
  • 4
  • 23
  • 46
20
votes
10 answers

Flutter: Cocoapods The 'Pods-Runner' target has transitive dependencies that include static binaries: Flutter.framework

I am getting this error while running pod install [!] The 'Pods-Runner' target has transitive dependencies that include static binaries: (/Users/me/Documents/flutter/flutter/bin/cache/artifacts/engine/ios/Flutter.framework) After doing bit of a…
Chaythanya Nair
  • 4,774
  • 6
  • 32
  • 40
18
votes
7 answers

C compiler cannot create executables (installing Cocoapods)

While installing RNPermissions and its dependencies I run into an error. Seems to be a problem with my compiler or the package that is being installed. The error: checking whether the C compiler works...…
Peter G.
  • 7,816
  • 20
  • 80
  • 154
18
votes
9 answers

No such module ... in Xcode

I've run into a problem with Xcode (using Swift) that has me completely stumped. I realize that this question has been asked and answered, but none of the answers have worked for me, and my situation seems to be a bit different than the others, as…
Lastmboy
  • 1,849
  • 3
  • 21
  • 39
16
votes
5 answers

ld: framework not found after pod install

I added Firebase libraries to my project, and then I got this error. When I compile it, Xcode can't find some directories. However, they are in the Pods directory. Here is the error log: ld: warning: directory not found for option…
えるまる
  • 2,409
  • 3
  • 24
  • 44
15
votes
5 answers

Unable to find a target named `RunnerTests` in project `Runner.xcodeproj`

I have hackintosh on my HP laptop. I'm trying to run a flutter app on the iOS simulator but it's giving me this error: [!] Unable to find a target named `RunnerTests` in project `Runner.xcodeproj`, did find `Runner`. This is the Podfile: #…
15
votes
3 answers

How to manually add a .xcframework to a Flutter iOS Plugin?

I'm trying to create a Flutter Plugin to use a native library. This library I'm trying to use is stored in a private repository and can be used with Swift Dependency Manager. This is causing me a headache, cause I can't add a private repository…
siega
  • 2,508
  • 1
  • 19
  • 22
15
votes
4 answers

An error occurred while processing the pre-install hook of the Podfile

I met an error when I run pod install. [!] An error occurred while processing the pre-install hook of the Podfile. undefined method `pods' for # /Users/XieYunjia/warmupApp/Podfile:49:in `block (2 levels) in…
MissYasiky
  • 163
  • 1
  • 6
14
votes
6 answers

React native ios - error when running pod install (installing Flipper-Glog)

When I try to run pod install, an error is generated at when program reaches Installing Flipper-Glog (0.3.6)below is the error message in its entirety: Installing Flipper-Glog (0.3.6) [!] /bin/bash -c set -e #!/bin/bash # Copyright (c) Facebook,…
james murphy
  • 1,505
  • 5
  • 31
  • 57
13
votes
11 answers

Flutter - Warning (CocoaPods not installed Skipping pod install) Even While Installed

I am trying to build a Flutter app with Geolocator plugin on Android Studio. When I am running the app I have the following warning - that prevents the app from running: Warning: CocoaPods not installed. Skipping pod install. CocoaPods is used to…
Idanref
  • 169
  • 1
  • 1
  • 9
13
votes
1 answer

ERROR: Parsing unable to continue due to merge conflicts in Podfile.lock

recently since updating Xcode i have big troubles using podfiles. I wasn't able to add any new pods to my existing pod file, hence i decide to create a new project and just copy all my stuff inside. But now I have to face the same issues again and…
11
votes
2 answers

Using local copy of a framework in podfile if exists

I have a framework and a project where I'm using my framework in. I'm trying to use the framework that is locally built during development. Is there a way to do something like: if my-local-library-path exists, do this: pod 'MyLibraryName', :path =>…
iamkaan
  • 1,495
  • 2
  • 23
  • 43
1
2
3
24 25