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

Getting MobileVLCKit to work through Cocoapods

I've been struggling to get VLC working in my iOS app for a while now. Using Cocoapods, the MobileVLCKit is imported into my project. When I run the app now, it compiles with no problem. However, when I include anything from the MobileVLCKit…
user1945317
  • 107
  • 9
5
votes
2 answers

How do I delete my public cocoa pods

I have created a couple test cocoa pods that are public I need to delete these not just from my computer but from the public pod list? Is there a way to remove the trunk?
John Dutchak
  • 53
  • 1
  • 3
5
votes
2 answers

How to create reusable code in iOS?

I've been working on a mobile app for a couple of months. Now I want to develop other apps but reusing the code I've written. I'd like to have reusable code (ViewControllers) in order to be used in many projects. In this way, if there is some bug in…
Camilo Sacanamboy
  • 630
  • 1
  • 9
  • 23
5
votes
0 answers

No autocomplete on cocapods for AppCode 3.1

I have recently set up a project from a base XCode Project with the cocoapods installation, and when importing the project into AppCode 3.1, I am not getting any autocompletion for my swift frameworks that are installed through CocoaPods Here is my…
mdedetrich
  • 1,899
  • 1
  • 18
  • 29
5
votes
1 answer

Link errors installing Google Analytics via CocoaPods 0.36.0 using dynamic frameworks

I am trying to update my project to use CocoaPods 0.36.0's new use_frameworks! option. I am using Objective-C (not Swift) in Xcode 6.2 and the deployment target is 8.1. Everything is building and linking correctly except for Google Analytics, for…
5
votes
0 answers

Branch in a private pod

I have a private pod which has two branches master and develop. My current project is using the that pod: platform :ios, "7.0" target "FooTarget" do pod 'INCFoo' end So, currently I'm using master. I'd like to use the develop branch. I tried…
xarly
  • 2,054
  • 4
  • 24
  • 40
5
votes
1 answer

Getting error in setting up Cocoa Pods and install update for Ruby

I am trying to setup cocoapods to my iOS application But when I go for command: sudo gem update --system I get error : Latest version currently installed. Aborting. When I go to next step for cocoapods: sudo gem install cocoapods I get error on…
Shekhar Sharma
  • 85
  • 2
  • 10
5
votes
0 answers

Podspec with sources in subspecs does not get compiled

I am putting together a private podspec to build Lua specifically in version 5.1.5 and with a number of additions to Lua. The following podspec should correspond to our "manually put together"-code and provide Lua with openssl, socket and zlib…
CodeReaper
  • 5,988
  • 3
  • 35
  • 56
5
votes
1 answer

pod boost install error tar: Unrecognized archive format

Following this link, am trying to create a sample project given in the link. I created the pod file as given in the link but when I install the pod, I get the following error: [!] Error installing boost [!] /usr/bin/tar xfz…
z22
  • 10,013
  • 17
  • 70
  • 126
5
votes
1 answer

Multiple frameworks and common library

Using iOS 8, Xcode 6. Let's say I have 2 dynamic frameworks, frameworkA and frameworkB and they are both dependent on libC. In addition, I have an app that uses both frameworkA and frameworkB. My original thought was to make frameworkA and…
Bob
  • 8,424
  • 17
  • 72
  • 110
5
votes
2 answers

Using Crashlytics without plugin via cocoapods

Is it possible to use crashlytics and fabric without installing the mac plugin for iOS? I found this fabric pod that allows you to get the necessary frameworks for fabric to work, but when I build my app, I'm getting this message: Fabric: This app…
Julian B.
  • 3,605
  • 2
  • 29
  • 38
5
votes
0 answers

Preserve Folder Structure State With CocoaPods

Is it possible to preserve the folder structure expand/collapse state upon running pod install / update? Whenever I run the command to update my Pods with my project open, it will collapse all my folders. I'm running XCode 6.1.1.
nmock
  • 1,907
  • 2
  • 20
  • 29
5
votes
1 answer

Cannot run 'Pod Setup'

CocoaPods returns error when I was trying to Pod install. Following are what I tried so far after some Google: As mentioned in http://blog.cocoapods.org/Repairing-Our-Broken-Specs-Repository/, I have removed and re-downloaded the master repo with…
EES
  • 1,584
  • 3
  • 20
  • 38
5
votes
1 answer

No podspec found for ... in .podspec.json

I have been following this guide to get a project on mine on CocoaPods. I am currently on the Testing section and am getting the error: [!] No podspec found for `AppUpdateTracker` in…
Stunner
  • 12,025
  • 12
  • 86
  • 145
5
votes
0 answers

Cocoapods - Code object is not signed at all

I'm trying to build an OS X target that imports the Dropbox framework and am getting this error: CodeSign /Users/jessebunch/Library/Developer/Xcode/DerivedData/TestApp-bxjgcsgqofvdyidodqalwworvmat/Build/Products/Debug/TestApp.app cd…
Jesse Bunch
  • 6,651
  • 4
  • 36
  • 59