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

How do I include my own xcconfigs when using Cocoapods?

Is there a way to specify in the Podfile that an xcconfig file should be #included in the the one generated by Cocoapods? Is there an exposed method/variable for appending this #include or do I need to read the generated xcconfig and regurgitate it…
ray
  • 1,966
  • 4
  • 24
  • 39
6
votes
2 answers

podfile.lock is missing from working copy

I recently started having this issue after attempting to use the pod update command on my project. After successfully updating the pods, xcode now gives me the following error "podfile.lock is missing from working copy" Now i have tried cleaning the…
SmokersCough
  • 967
  • 7
  • 22
5
votes
2 answers

is there a way to exclude a package from iOS in flutter?

I am making use of the package "sms_maintained" which is only available for Android. However, the project needs an iOS version and what I am doing currently is to remove the package when developing for iOS. How can I keep the package in the…
Benedictgeek
  • 167
  • 1
  • 2
  • 9
5
votes
0 answers

[!]Invalid `Podfile` file: Unable to locate the executable `node`

I've been searching high and low for a solution to this error. When I run: pod install, I get: [!] Invalid Podfile file: [!] Unable to locate the executable node. # from /Users/admin/Desktop/myapp2/myapp/ios/Podfile:85 # …
Bill Pope
  • 591
  • 8
  • 20
5
votes
1 answer

Default app has already been configured

I know there has been plenty of discussions on the topic, but no answer helped to resolve the bug for me Terminating app due to uncaught exception 'com.firebase.core', reason: 'Default app has already been configured.' I have tried with : -…
user4422315
5
votes
2 answers

Pod install takes too long time

I'm trying to install my pods with pod install, it prints Setting up CocoaPods master repo and it takes too long time and nothing installing. Is that a bug or that's my mistake? Can I fix that problem?
J. Doe
  • 563
  • 1
  • 9
  • 20
4
votes
1 answer

React-Native - iOS - CocoaPods could not find compatible versions for pod "OpenSSL-Universal":

I want to run a "pod install". I get the warning "[!] use_flipper is deprecated, use the flipper_configuration option in the use_react_native function" So i replace the line "use_flipper!" to "use_flipper!({ 'Flipper-Folly' => '2.3.0' })" in my…
iSaBo
  • 117
  • 9
4
votes
1 answer

Invalid `Podfile` file: uninitialized constant Pod::Podfile::FlipperConfiguration

I have implemented a iOS where need to unlinked react-native-linear-gradient and then install the react-native-video and added all of the information but there is an issues when I install PodFile using pod install. Below the required version which…
Imdadul Haque
  • 1,635
  • 5
  • 23
  • 44
4
votes
2 answers

React Native: what to set minimum deployment target to?

I'm trying to add react-native-vision-camera to my React Native app, and it gave me the following error: Specs satisfying the VisionCamera (from ../node_modules/react-native-vision-camera) dependency were found, but they required a higher minimum…
4
votes
2 answers

Android Studio Bumblebee 'pod install' command failed with an exception error=2

Yesterday I updated my Mac with Android Studio Bumblebee 2021.1.1 hoping that it would solve multiplatform issues I encounter. Below some screenshots about my Mac and versions to be 100% clear: Android Studio Bumblee About macOs Monterey 12.2 iMac…
Bash
  • 125
  • 6
4
votes
1 answer

CDN: trunk Relative path: CocoaPods-version.yml exists

Issue also reported on Github-Cocoapods So I was testing to working on Jest on my project (was running RN0.59.10), everything was fine with Enzyme installed and running fine. When I merge them to my current project (runs on RN0.61), solved some…
Tommy Leong
  • 2,509
  • 6
  • 30
  • 54
4
votes
1 answer

React Native 0.61: With autolinking, do you still need to add lines to Podfile?

I noticed that when I install native libraries in React Native 0.61, they do not add lines to my Podfile automatically, but when I run pod install, it seems to link the libraries anyway. Does anyone know how this works? Do I need to add lines to my…
RNdev
  • 953
  • 1
  • 8
  • 26
4
votes
1 answer

Need to upgrade RN version of existing project

I'm using react-native version 0.59.5. I need to upgrade my react-native to latest version 61.2. Can someone help me with this. Do I have to make changes with podfile??? React Native Environment Info: System: OS: macOS 10.14.6 CPU:…
James Matthew
  • 435
  • 1
  • 6
  • 10
4
votes
0 answers

How to migrate from React Native upgrade from .59 to 0.60 when existing project already have Podfile?

I want to upgrade react native from 0.59 to 0.60. With 0.60 Podfile automatically gets generated if you are creating a new project. But my project already have a Podfile. So what steps should I follow to do the migration?
Shweta
  • 1,099
  • 1
  • 9
  • 9
4
votes
3 answers

Invalid `Podfile` file: syntax error, unexpected end-of-input, expecting keyword_end

I'm having an error that only happens to me. My colleagues don't get the same error and we share the same code. I'm trying to pod install but I'm getting this error: Invalid Podfile file: syntax error, unexpected end-of-input, expecting…
Bruno Lopes Bacelar
  • 115
  • 1
  • 2
  • 14