ios - What is a*.PODSPEC file?

ios - What is a*.PODSPEC file?

I'm an iOS developer and I am really interested in all about PODSPEC file: What is it used for? Why do we need it? What is it helpful for? Thanks a lot guys. Hope in this question we will collect en…


ios - Cocoapods importing a framework to source code

In my cocoapod for iOS, I have a essentially items: Open-source classes(.m &.h files) MyFramework.framework(.framework directory, header files, and.bundle for resources) One of the open-source c…


ios - Building a static library with cocoapods

I am trying to build a static library that has different dependencies(AFNetworking for example) specified in a Podfile. I don't want the dependencies to be included in the final static library(call…


ios - Podspec Link Binary Library

I'm attempting to create a Podspec for: https://github.com/sincerely/shiplib-ios-framework Pod Lint passes & the files are being added to the project but it does not link the binary "Sincerely" file.…



include files recursively in Cocoapods podspec

I want to create a local podspec that is based on some private code. I can't seem to use the 'source' attribute, as that is not working. I can use the 'source_files' attribute, but it does not include…


ios - Add static library to podspec

My podspec requires a static library(OpenSSL). For convenience, I'm shipping the library with the pod. The static library contains: Binaries: MyPod/openssl/bin/libcrypto.a and MyPod/openssl/bin/lib…


ios - what is the usage of “~>” in cocoapods

I want to know what the "~>" is used for,cause I find they are the same below: pod 'AFNetworking','~> 2.0.3' pod 'AFNetworking','2.0.3'…


ios - .podspec error-source_files` pattern did not match any file

I am integrating one of my github repos(full code here if it helps) with Cocopods, and I get this error when I run pod spec lint.-> DropDownMenu(0.0.1)-ERROR |[iOS] The `source_files` pattern…


ios - ERROR: Error installing cocoapods: ERROR: Failed to build gem native extension

I am trying to install cocoapods to my macbook pro running with OSX 10.9.1(new mavericks) and after type gem install cocoapods I get the following error: Building native extensions. This could t…


ios - Preserve folder structure Cocoa Pods

I have create a simple and private pod with this tutorial: http://pablin.org/2013/05/18/cocoapods-for-internal-libraries/ In fact my repo has just a group of classes All is ok and I can install my pod…




cocoapods podspec prepare_command preserve_paths swift vendored_libraries pod framework dependency dependencies