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
1
vote
1 answer

What is the utility of specifying Versions in use_flipper()

I'm working on a react-native application, inside iOS/podfile are specified the versions of some packages : # # Note that if you have use_frameworks! enabled, Flipper will not work and # you should disable the next line. use_flipper!({…
1
vote
2 answers

Error running pod install (Flutter android studio)

im having trouble building my flutter project on my mac M1. When i try launching it in android studio im getting the error code 'error running pod install' and when i try opening it in xcode im getting 'module cloud_firestore not found'. I have…
1
vote
1 answer

I tried running my flutter project on my simulator but keeping get the error message on the picture

click to see error picture hereI ran into below error as i tried running my flutter app on my iphone 13 Pro Max Simulator. Launching lib/main.dart on iPhone 13 Pro Max in debug mode... CocoaPods' output: ↳ Preparing Analyzing…
stan
  • 51
  • 8
1
vote
0 answers

How to automatically add multiple pods for a single target in ionic project

I want to generate the following Podfile on running ionic cordova add platform ios platform :ios, '10.0' target 'Sunorbit' do project 'Sunorbit.xcodeproj' pod 'Alamofire', '~> 3.0' pod 'GoogleAnalytics', '~> 3.1' end but currently the…
Rohan
  • 33
  • 8
1
vote
1 answer

Eureka not working with Swift 5 | Swift/Xcode

I've got to gather three different sections of data from users. Instead of building all the forms myself and it taking forever, I decided to use a third party pod. I found that Eureka is largely used. For some reason, it WILL NOT work for me, no…
Christian W
  • 353
  • 2
  • 12
1
vote
1 answer

Unable to find a specification for `UMConstantsInterface` depended upon by `EXLocalAuthentication`

I'm trying to update my react native version to 0.66.4. I tried to follow the helper tool (https://react-native-community.github.io/upgrade-helper/?from=0.61.5&to=0.66.4) but it didn't worked. This is my package.json: "react":…
1
vote
1 answer

Cocoapods EXCLUDED_ARCHS flag not being set during build

I am trying to build my project but kept getting 'No Module Found' when deploying to the simulator but not to an actual device. After digging around, I found I should add the arm64 to the Excluded Archtiectures section of the building settings for…
user-44651
  • 3,924
  • 6
  • 41
  • 87
1
vote
0 answers

How to update umbrella header using the podspec file?

I want to add a few lines of code in the podspec file which will automatically update the umbrella header file on running pod install command.
iosDev
  • 11
  • 2
1
vote
1 answer

How to know the minimum deployment target a pod needs?

I'm using firebase_app_check in my app and when I run pod install It gives me an error: [!] CocoaPods could not find compatible versions for pod "Firebase/AppCheck": In Podfile: firebase_app_check (from .symlinks/plugins/firebase_app_check/ios)…
iDecode
  • 22,623
  • 19
  • 99
  • 186
1
vote
1 answer

Expo eject causes Invalid `Podfile` file: syntax error, unexpected '.'

I just ejected from expo and I am getting this error bellow: [!] Invalid `Podfile` file: syntax error, unexpected '.'. # ------------------------------------------- # installer.pods_project.targets.each do |target| > if…
1
vote
0 answers

After upgrading min iOS SDK hitting error for react-native-firebase package

Hitting this error after updating min sdk in podfile from platform :ios, '9.0' to platform :ios, '10.3'. xxx/node_modules/react-native-firebase/ios/RNFirebase/analytics/RNFirebaseAnalytics.m:20:19: No known class method for selector…
TT_TT
  • 91
  • 3
  • 16
1
vote
0 answers

Bug in ruby interpreter

I am learning React Native and i want to implement google maps in my project. But when i update my podfile and run pod install. WebStorm gives me error as You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are…
1
vote
0 answers

podfile setup when one project is dependent on other

Consider this as my podfile require_relative '../node_modules/react-native/scripts/react_native_pods' require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules' platform :ios, '11.0' workspace…
Alwaysblue
  • 9,948
  • 38
  • 121
  • 210
1
vote
2 answers

Error when trying to run my Flutter App with my m1 mac

I get the following Error everytime i try to run my Flutter App. I tried literally so much to fix it but still the Error isn't fixed. Launching lib/main.dart on iPhone 12 Pro Max in debug mode... Running pod install... CocoaPods'…
blurryface
  • 45
  • 2
  • 7
1
vote
0 answers

Multiple dependencies error Podfile during prepare on iOS with Nativescript

I worked on Nativescript project for Android and IOS. And I want to use this plugin Socket.IO-Client-Swift. I execute this ns plugin add @triniwiz/nativescript-socketio . "@triniwiz/nativescript-socketio" is well installed in 4.0.2 version My app…
KillianPjl
  • 11
  • 2