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
10
votes
3 answers

Error running pod install: How to solve this problem?

I've searched a lot but unfortunately I didn't find a solution. For my flutter project I added the Firebase plug in in the pubspec.yaml file and since then I wasn't able to run the project on my iPhone anymore. It says: Exception: Error running pod…
Berkin
  • 419
  • 1
  • 7
  • 15
9
votes
3 answers

RCT-FOLLY - Thread-local storage is not supported for the current target

When I try to build my react-native project in Xcode I get this error from RCT-Folly: {path}/App/ios/Pods/RCT-Folly/folly/container/detail/F14Table.cpp:41:10: Thread-local storage is not supported for the current…
Alex Skotner
  • 462
  • 1
  • 8
  • 18
9
votes
0 answers

Why does `Podfile.lock` change `SPEC CHECKSUMS` section on `pod install` when nothing has changed?

I don't check in my Pods dir into source control. If I run pod install, touch nothing, and then run pod install a few minutes later the SPEC CHECKSUMS section of my Podfile.lock changes. Why? pod --version 1.9.3 "react-native":…
rynop
  • 50,086
  • 26
  • 101
  • 112
9
votes
1 answer

Why is React(missing) in xcode scheme build targets list?

I'm trying to run my first React-Native app on an ios device using xcode and keep getting this error: ld: warning: directory not found for option…
Ben d'Straw
  • 141
  • 2
  • 9
8
votes
2 answers

How to change iPhone deployment target

I have updated flutter today also with Xcode and I'm getting an error when trying to run my app on IOS warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 7.0, but the range of supported deployment target versions is…
delmin
  • 2,330
  • 5
  • 28
  • 54
8
votes
1 answer

Pod install fails for private pod being served as binary from private repo

I have a private pod and a private spec repo. I am serving the pod as a binary, i.e. the podspec says: s.source = { :http => 'https://github.com/COMPANY/PROJECT/releases/download/v1.0/PrivatePod.zip' } My Podfile has the following source…
i_am_jorf
  • 53,608
  • 15
  • 131
  • 222
7
votes
3 answers

No podspec found for `FBLazyVector` after RN upgrade

EDIT: the solution for me was to use my previous PodFile before upgrading, ios app is working now. I upgraded an RN app to 0.59.1 (it was at 0.57.8) using react-native upgrade, android version is working but for the ios version i'm stuck with pod…
B. Mohammad
  • 2,152
  • 1
  • 13
  • 28
7
votes
1 answer

How do I solve: "Errno::ENOENT - No such file or directory @ rb_sysopen - "?

I am trying to merge React-Native into a swift application. I created a new podfile and added in all the dependencies. After trying 'pod install' many times, it will still not install the pods. I have tried to delete the podfolder and also delete…
Elias Wood
  • 159
  • 1
  • 6
7
votes
1 answer

How can I know which React Native pod subspecs to add?

Working on an issue where I needed to add the react-native-device-info package to my iOS system, I had to add a dependency on React into my Podfile. Initially I applied all the podspecs from a list I'd found on the net: pod 'React', :path =>…
deworde
  • 2,679
  • 5
  • 32
  • 60
7
votes
2 answers

How to ReInstall Podfile in the project?

I have downgrade my operating system from Mac Os Sierra to el Capitan, so all the files were removed from my system,but i have done backup my project. Now when i have opened my project for running .Workspace file it shows me empty in my project. So…
user6438311
  • 117
  • 1
  • 3
  • 13
6
votes
2 answers

Error updating CocoaPods after upgrading to flutter 3.0.1

I am using MacBook Pro, M1 Chip. OS is MacOS Monterey 12.3.1 today I upgraded flutter from 2.5.4 to 3.0.1. I can run my projects perfectly fine in Android. However in iOS I get the following error. Launching lib/main.dart on iPhone SE (3rd…
PeakGen
  • 21,894
  • 86
  • 261
  • 463
6
votes
3 answers

Flutter iOS cannot build due to modular header settings in podfile

I have a flutter app that was working fine. I'm going through updating my flutter version and the versions of some of my plugins (on the newest XCode version 11). I can no longer build my app because either one of two things occurs: 1) If I don't…
Kyle B.
  • 389
  • 1
  • 6
  • 22
6
votes
1 answer

Add Pod dependency to a Flutter Plugin Class

Finally I got a custom Flutter Plugin's MethodChannel to do the hello-world. But now, I would like to add a dependency explicitly to the iOS part of the Plugin Class (obviously not to the Android-part...). However, this somehow bites the snake in…
iKK
  • 6,394
  • 10
  • 58
  • 131
6
votes
1 answer

CocoaPods could not find compatible versions for pod "FirebaseCore": In snapshot (Podfile.lock)

I'm trying to add the Geofirestore pod I found on GitHub So I can add geo locations longitude and latitude to posts in a social media app. My pod file looks like this pod 'Firebase/Core' pod 'Firebase/Auth' pod 'Firebase/Firestore' pod…
6
votes
2 answers

Firebase UI Auth Provider iOS Swift Example

I am starting a new iOS Swift application and want to use FirebaseUI Auth. Here is the link to the docs where it talks about it under Drop-in authentication solution Firebase Auth. The FirebaseUI Auth for Android was very simple and easy. It appears…
Scott B
  • 1,478
  • 2
  • 16
  • 26
1 2
3
24 25