Questions tagged [cocoapods]

CocoaPods is the dependency manager for objective-C and swift Cocoa projects.

CocoaPods is a dependency manager for Swift and Objective-C Cocoa projects. It has almost ten thousand libraries and can help you scale your projects elegantly. Get on with building your app, not duplicating code.

You specify the dependencies for your project in one text file named Podfile. CocoaPods resolves dependencies between libraries, fetches source code for the dependencies, and creates and maintains an Xcode workspace to build your project.

Ultimately, the goal is to improve discoverability of, and engagement in, third party open-source libraries, by creating a more centralized ecosystem.

Resources

Related Tags

9372 questions
5
votes
2 answers

continuous integration with XCode bots and cocoapods

I'm having problems with bots occasionally failing when building. A pre build action is used to install the pods, this works well some times. However when the integration fails it's because of this error: Installing Pods Analyzing…
johan
  • 6,578
  • 6
  • 46
  • 68
5
votes
4 answers

CocoaPods Error to install/search pods

I'm trying to use some pods in my project. But the terminal results in that: $ pod install Analyzing dependencies [!] Unable to find a specification for `Mantle`. So, I tryed to search the pod or others and for any pod that I have tryed, the result…
Antonio Netto
  • 564
  • 4
  • 10
5
votes
1 answer

Mantle:cannot find protocol declaration, 'MTLJSONSerializing'

I installed 'Mantle' using coco pod. But when I try to use it in my model, it is getting this error. /Users/bgbb/Developer/experimental/MantleTest/MantleTest/TestMTL.h:11:32: Cannot find protocol declaration for 'MTLJSONSerializing' #import…
Imju
  • 539
  • 5
  • 11
5
votes
3 answers

library not found for -lPods-test clang when compiling unit tests

I am trying to run my unit tests and I get the below error: ld: library not found for -lPods-test clang: error: linker command failed with exit code 1 (use -v to see invocation) Ld…
Aziz
  • 1,584
  • 4
  • 23
  • 43
5
votes
5 answers

Supported platforms, base SDK, build active architecture only settings reverted after pod update

My team recently started to employ CocoaPods to manage dependency in our iOS app project. Here's the podfile: platform :ios, '6.0' pod "UI7Kit" pod "AFNetworking", "~> 2.0" pod "TMCache" pod "SVProgressHUD" pod "SVPullToRefresh" However, after…
LazarusX
  • 2,735
  • 2
  • 22
  • 30
5
votes
6 answers

Cocoa pods issue after modify Pods file

when I change Pods file I get this error after command pod install /Users/mac/Documents/Projects/Test/Podfile:1: syntax error, unexpected tINTEGER, expecting '(' platform :ios, ‘7.0’ ^. Updating CocoaPods might fix the…
Matrosov Oleksandr
  • 25,505
  • 44
  • 151
  • 277
5
votes
4 answers

Linker error comes while running as well as testing the Xcode workspace after updating KIF framework via cocoapods

I have an Xcode workspace in which I have updated to KIF 2.0(pod update via terminal & pod 'KIF' in the podfile) after that I have configured the workspace as per the instructions provided in…
Hari
  • 123
  • 1
  • 12
5
votes
2 answers

Facebook SDK 3.9 Pod install showing warnings when building

I have updated my Podspec to include the latest Facebook SDK 3.9 (of writing) and I am now seeing a bunch of warnings. Should I be looking to resolve these: A few of these should be simple solutions like updating nil to be 0 instead as expected. …
StuartM
  • 6,743
  • 18
  • 84
  • 160
5
votes
5 answers

Invalid 'Podfile' file syntax error, unexpected $undefined, expecting '}'

I am trying to install a pod in project. But i am getting this error: Invalid 'Podfile' file syntax error, unexpected $undefined, expecting '}'. Podfile contains: platform :ios, '7.0' pod 'RestKit', '0.21.0' The terminal shows following…
user2885928
  • 323
  • 1
  • 6
  • 13
5
votes
2 answers

cocoapods pods project build settings

So everytime we run a pod update, the pods project gets regenerated. Whatever build settings we manually set in the pods project is reset. I'm wondering if theres anyway to set some build settings of the targets in the pods project after the pod…
stephen
  • 1,617
  • 3
  • 20
  • 27
5
votes
0 answers

My project files are not display in project navigator within xcode after setting up cocoapods

When I open .xcworkspace I see "Pods" in the Project Navigator without any files displaying. I know the files are still associated to the project because when I search the project the files display in the Find Navigator. When I build the project, it…
mike
  • 2,722
  • 6
  • 31
  • 46
5
votes
2 answers

XMPPFramework pod cocoapods

I could not find a pod for the XMPPFramework, only for some extract. It would be awesome if someone could add a pod for that. Here is a link to the GitHub account: https://github.com/robbiehanson/XMPPFramework Thank you so much. I'm loving CocoaPods…
5
votes
0 answers

dSYM file when Archiving is missing debug info

I have a workspace with two project files in it. One contains my app code (APP), the other builds a static library (Pods) that is linked into the APP project. The dSYM being generated when selecting Product->Archive contains only the debug info for…
Onato
  • 9,916
  • 5
  • 46
  • 54
5
votes
2 answers

CocoaPods: Linking with C++ symbols defined in libPods.a

I recently started working on a podSpec file that integrates levelDB into my projects. (https://github.com/iljaiwas/Podspecs/blob/master/LevelDBPodSpec/0.0.1/leveldb.podspec) However, when I reference any C++ symbol from a .mm file in the main…
iljawascoding
  • 1,090
  • 9
  • 20
5
votes
2 answers

Cocoapods importing an external framework

I built a Cocoapod which Crashlytics framework. I couldn't understand how to add the external framework (Crashlytics.framework) to the pod, so it will be imported on my project. Is it possible?
Roei
  • 319
  • 4
  • 15