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

How to use cocoapods in both app and extension

I'd like to use some libraries in both main app and its extension. I tried this podfile platform :ios, '10.2' use_frameworks! target 'myApp' do target 'myAppShareExtension' do pod 'SVProgressHUD', :git =>…
radar
  • 500
  • 1
  • 6
  • 24
0
votes
1 answer

How to use SVProgressHUD in both ios app and its extension

I have a project of an iOS app and its share extension using libraries like Alamofire and FileKit. Everything was working perfectly with the following Podfile: target 'myApp' do use_frameworks! pod 'BRYXBanner' end target 'myAppShareExtension'…
radar
  • 500
  • 1
  • 6
  • 24
0
votes
3 answers

Cocoapods cannot install pod

I ran pod install after I updated my Podfile, the LeanCloud pod was not installed, and I got the following message: Analyzing dependencies [!] There are only pre-release versions available satisfying the following requirements: 'LeanCloud', '>=…
f_qi
  • 689
  • 8
  • 21
0
votes
1 answer

Using Cocoapods in a Workspace with two apps

I have two apps (xcode projects) that i want to have in one workspace. Since Cocoapods usually generates the workspace, i looked to see if it was possible to do this and found some answer. The recommended Podfile would look like: workspace…
Alex Bollbach
  • 4,370
  • 9
  • 32
  • 80
0
votes
6 answers

pod files are showing empty during checkout in new version of xcode

I have developed an application in Xcode version 7 and now I want to run the same application in Xcode version 8.2.1.Do I need to re-install the pod files which I have included in the previous version of Xcode or is there any procedure i need to…
Krishu
  • 1
  • 4
0
votes
0 answers

The document “podfile” could not be opened in CococaPods client

Use CococaPods client to open the podfile meet the error below: The document “podfile” could not be opened I also token pictures to show detail: You see, I can not open the podfile and Podfile.lock With the error: So, how to open the podfile…
aircraft
  • 25,146
  • 28
  • 91
  • 166
0
votes
1 answer

Cocoapods Syntax error in Podfile

I'm running Cocoapods 1.1.1 at macOS Sierra and use Xcode 7.3.1 I've create Podfile in textedit in plain format with this text: platform :ios, ‘9.3’ project ‘cd/ls/Desktop/rexpense-ios-rexpenseiOS-Rodrigo/Rexpense/Rexpense/Rexpense.xcodeproj def…
user7189581
0
votes
4 answers

-bash: pod: command not found

I am taking a course from Udemy for iOS 10 (swift 3) programming. An app works with Firebase and Firebase requires a pod file. In the course, it said to type the following commands in Terminal to install a pod: cd Desktop/ ln …
ojassethi
  • 379
  • 1
  • 5
  • 16
0
votes
0 answers

Is there any issue on editing PodFile in Xcode iOS Swift?

I have a pod file of SideMenuController in Swift. I need to edit the code in pod file within Xcode. Is there any problem on editing pod files in iOS? I were added the pod files using terminal action. If i edit those files, is it affect my…
S.Haris
  • 19
  • 4
0
votes
0 answers

Naming collision inside react native packager

The naming collision occurs, when the packager is trying to import the react-native-maps module during execution of react-native run-ios. I am using npm 3.10.3. The error inside packager points to duplicate declaration of a module: Failed to build…
Peter G.
  • 7,816
  • 20
  • 80
  • 154
0
votes
2 answers

Create a pod file in Mac OS X v10.11.6 (El Capitan)

How ca I create a pod file in Mac OS X v10.11.6 (El Capitan)? What do I use instead of "sudo gem install cocoa pods" and "pod setup --verbose"?
0
votes
2 answers

How can I update the added pod file? Syntax Error

I added new frameworks in pod file then pod update command but got an syntax error (Invalid 'Podfile' file syntax error, unexpected tIDENTIFIER, expecting keyword_end) Please see attached. How does it works? Thank you in advance :)
Anne Bernadette
  • 93
  • 1
  • 12
0
votes
1 answer

SinchService integration using Cocoapods failing

I'm new to Sinch service, currently I'm trying to use 'SinchService' along with 'SinchRTC' via Cocoapods but Xcode is giving me this error: Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_Sinch", referenced from: objc-class-ref in…
0
votes
1 answer

I have an error with pod install Kanna

Screen my Terminal Whats the problem with my podfile? I add it to my Podfile: use_frameworks! pod 'Kanna', '~> 1.1.0' P.S. JSON and Alamofire works are excellent! The console output from cocoapods reads: Analyzing dependencies [!] The…
Aleksandr
  • 1
  • 1
0
votes
1 answer

Cocoapods: Podfile conflicts by having two pods with the same name but different source

I have my own private specs repository with internal pods. I used to add prefixes to the pods, however now I'm migrating to Swift I'd like to get rid of them. However if I get rid of the prefixes (e.g. JAMNetworking to Networking) and I specify two…
jomafer
  • 2,655
  • 1
  • 32
  • 47
1 2 3
24
25