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

Flutter iOS : Unable to read the license file `LICENSE` for the spec `Firebase (7.3.0)`; `GoogleUtilities (7.2.2)`

I use Flutter with xcode. I get an error if I do $ flutter run ios And i get error from my xcode Podfile content Error output from Xcode:…
alabiboo
  • 53
  • 1
  • 10
2
votes
0 answers

podfile error when running flutter application

This is the error when I try to run ios app. [!] CocoaPods could not find compatible versions for pod "FBSDKLoginKit": In Podfile: flutter_facebook_auth (from `.symlinks/plugins/flutter_facebook_auth/ios`) was resolved to 0.3.1, which…
2
votes
1 answer

use_framework! in Podfile caused 'React/RCTBridgeDelegate.h' not found

I'm currently integrating a private library from vendor which they mentioned it's required to have use_framework! added in Podfile. Apparently I found out from them, the framework is written in Objective-C, if so.. why is use_framework! needed? I…
Tommy Leong
  • 2,509
  • 6
  • 30
  • 54
2
votes
0 answers

Unable to find a specification for a local (private) pod

I created two local pods: MainPods & ChildPod like this: Create Framework (in Xcode) pod init & pod install for MainPod & ChildPod pod spec create MainPod & pod spec create MainPod (in their folders) modify it Then I inited pod in root folder of…
ocbnishi
  • 21
  • 3
2
votes
1 answer

ld: library not found for -lRCTAnimation

Description After react native version upgradiong to 0-62.2, I encountered many problems. This is one of them in the following question: -- I took this page for reference and edited it…
Ibrahim Yolbir
  • 139
  • 2
  • 14
2
votes
3 answers

pod 'MaterialComponents/TextFields' error in installing

here is my pod file platform :ios, '9.0' target 'MaterialUi' do # Pods for MaterialUi pod 'MaterialComponents/TextFields' end i tried all the possible solutions sudo gem install cocoapods pod repo update butt every time i got this! ##…
Hamid Ali
  • 74
  • 5
2
votes
2 answers

How to Change Existing Repository Url in Podfile , Update all pods into New Repository

While a updating pod file it's asking big-bucket password using existing repository, but i don't have password (vendor big-bucket repository) , i would like change repository url. can you please share how i can change url. platform :ios, '10.0' #…
user11211835
  • 164
  • 2
  • 16
2
votes
1 answer

Modify Podfile in Nativescript application

I've added a share extension to my Nativescript app, and this extension needs a Pod. So I need to modify the Podfile of the Nativescript app to target my share extension too with the required Pod, something like this: target :MyApp do platform…
Macarthurval
  • 178
  • 11
2
votes
1 answer

What exactly does `pod install` do in react-native's autolinking?

I'm using React Native 0.61, and have been reading about the new auto-linking feature. If you have any insight on ANY of the following questions, I'd appreciate it. My Questions Are: 1) My understanding of react-native link is that it adds…
gkeenley
  • 6,088
  • 8
  • 54
  • 129
2
votes
2 answers

Can't install react-native-unimodules on React Native 0.60.3

Installed with yarn install react-native-unimodules The next step in the instructions required me to edit my project Podfile. The necessary additions were shown here. Here is my resultant Podfile platform :ios, '10.0' require_relative…
Will
  • 476
  • 1
  • 8
  • 19
2
votes
1 answer

How to get git branch inside the podfile?

So I'm working in an iOS project using cocoapods. I have some custom libraries that are added via cocoapods. For example: pod 'MyLibrary', :git => 'git@git.mydomain.com:pods/mylibrary-pod.git', :tag => '1.1' I'd like to change the MyLibrary's…
Marc Estrada
  • 1,657
  • 10
  • 20
2
votes
0 answers

UIApplication.shared is unavailable

I've been trying to add OneSignal to my proyect, the error appears on my other pods that I'm working with when I add target 'OneSignalNotificationServiceExtension' do pod 'OneSignal', '>= 2.6.2', '< 3.0' end to my Podfile. I've also tried to…
Flugrek
  • 153
  • 1
  • 1
  • 7
2
votes
1 answer

How to use local CocoaPods dependencies for Cordova Plugin?

I'm developing a Cordova plugin, and I need to add local pods to my project. for distant pods we can add them in our plugin.xml file using an xml tag like this : Once we add this tag and…
2
votes
0 answers

Refer the target's Preprocessor macro within a pod project

I have a project that has multiple targets. On each target's, I have added some pre-processor macros. It has multiple pods added to the workspace. Obviously, the target's preprocessor macro won't be visible to the pod projects. How can I get…
Sj.
  • 1,674
  • 2
  • 15
  • 23
2
votes
0 answers

Ignore warnings for all pods

I put inhibit_all_warnings! at the top of my pod file then ran pod install and still see warnings in XCode. Update: I was able to get it to kinda work by cleaning the project after pod installing, however, I still see warnings sporadically.
bj97301
  • 342
  • 1
  • 13