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

CocoaPods get current dependency versions

I have a project which uses CocoaPods. My Podfile specifies the dependencies required, however, I did not specify the versions that should be used. I'd like add explicit dependency versions to my Podfile, so that using pod install after checking out…
Qbeorama
  • 105
  • 1
  • 8
5
votes
1 answer

How to fix the Cocoapods installation setup error?

I am trying to install cocoapods in my mac, but I can't get it installed. It shows the following error: $ sudo gem update --system* Latest version currently installed. Aborting. $ sudo gem install cocoapods** Successfully installed…
Jayachandra A
  • 1,335
  • 1
  • 10
  • 21
5
votes
3 answers

xCode: Library not found - lPods-Bolts - Exit Code 1

Hi I'm having this issue: ld: library not found for -lPods-Bolts clang: error: linker command failed with exit code 1 (use -v to see invocation) However, I downloaded the Bolt package from the Facebook Docs and put it into my supporting files.…
mmk88
  • 91
  • 1
  • 6
5
votes
2 answers

defined symbols for architecture i386: After updating Yosemite and Pod install

I don't know how I am getting so many errors. I updated my mac to Yosemite, updated my cocoa did a pod install. I feel bad cause there are tons of similiar questions but I cannot find any that seem relevant. I have tried to update cocoa pods…
EK_AllDay
  • 1,095
  • 2
  • 15
  • 35
5
votes
1 answer

Can't install cocoapods, report on pod setup

I was following this tutorial http://www.raywenderlich.com/64546/introduction-to-cocoapods-2 to install cocoapods on my MacBook (Mavericks 10.9.5). I have successfully used this commands sudo gem update --system sudo gem install cocoapods But then…
r4id4
  • 5,877
  • 8
  • 46
  • 76
5
votes
3 answers

Facebook iOS SDK installation via CocoaPods

I'm trying to update Facebook-iOS-SDK pod to latest 3.18.0 version but after running command pod update I get many error messages: Installing Facebook-iOS-SDK (3.18.0) [!] /usr/bin/git submodule update --init --depth 1 Submodule 'Bolts-IOS'…
Vitaly
  • 515
  • 3
  • 9
5
votes
1 answer

Xcode 6, XCTest, "Expected expression"

I'm no longer able to run my Test Bundle since switching to Xcode 6. We use Specta/Expecta/OCMock stack, but have older tests that use Vanilla XCTest. I'm on Cocoapods 0.34.0.rc2, and XCTest.h seems to be importing just fine.
marklar
  • 502
  • 7
  • 21
5
votes
1 answer

Cocoapods not found

I have a really hard time install RestKit into my project using CocoaPods. I get the not found error. My Pods.xcconfig looks like this: GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers"…
5
votes
1 answer

Multiple Private repo cocoapods

I have a private repo lets say 'A' which has some public pods dependencies like AFNetworking and so on. I created a pod spec file for this 'A' and used it in another library project 'B', everything worked fine and library project compiled. Now I…
Hussain Mansoor
  • 2,934
  • 2
  • 27
  • 40
5
votes
2 answers

[Cocoapods]:Resource Bundle not accessbile

Before I was loading me resources with the podspec: s.resources = ["MyFramework/Resources/**/*.{xib, png, jpeg, jpg}"] now I tried to accomplish the same with the following: s.resource_bundles = {'Resources' => ['MyFramework/Resources/**/*.{xib,…
Aranir
  • 828
  • 1
  • 10
  • 21
5
votes
2 answers

cocoapods - header files from different libraries have same name

There are two different dependent libraries which have header files with same name "Base64.h". Pod add both libraries dir to the include search paths. Then one of the library would include the wrong "Base64.h". After I change the #include…
Qiu Yuzhou
  • 61
  • 4
5
votes
0 answers

Disable NSLog for CocoaPods

I am using several CocoaPods in my project. Some of them are outputting strings to the console via NSLog(). How can I disable all logging from CocoaPods? Also, is there a way to do so while still keeping all of my NSLogs enabled? Note: it seems like…
Senseful
  • 86,719
  • 67
  • 308
  • 465
5
votes
1 answer

CocoaPod Library + Project in Single Workspace, Separate GIT Repos

I'm trying to wrap my head around this complex setting: I have two projects and a shared library. The shared library is a cocoapod. I would like to be able to use a single workspace to develop in. There are some duplicated pod definitions, but I…
Matthew Crenshaw
  • 322
  • 1
  • 4
  • 14
5
votes
3 answers

xcodebuild of cocoapods project with PRODUCT_NAME fails

I can build my Cocoapods project using this command: base=$(basename *.xcworkspace .xcworkspace) xcodebuild -sdk "iphonesimulator$ios_version" \ CONFIGURATION_BUILD_DIR="$build_dir/build" \ -workspace $base.xcworkspace -scheme $base…
William Entriken
  • 37,208
  • 23
  • 149
  • 195
5
votes
1 answer

Error when install pods

The following error was obtained when installing pods /Users/mosab/.gem/ruby/1.8/gems/cocoapods-0.30.0/lib/cocoapods.rb:12: undefined method `enforce_available_locales=' for I18n:Module (NoMethodError) from…
user3347073
  • 137
  • 1
  • 5