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 - 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 run script build phase to Xcode project from podspec

I'm trying to write Cocoapods specification for my library which must modify Xcode project and add "Run Script Build Phase" to project's target. I thought I can use post_install hook. But "pod spec li…


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 - 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…


objective c - CocoaPods Error-The platform of the target `Pods`(OS X 10.6) is not compatible with

I tried installing my CocoaPods with pod install and a Podfile that looks like platform:osx pod 'ReactiveCocoa', '~> 2.1.8' But I got the error[!] The platform of the target `Pods`(OS X 10.6) is…



ios - DEBUG preprocessor macro not defined for CocoaPods targets

I'm having issues with a pod called DCIntrospect-ARC which should only work in DEBUG mode. It checks if the DEBUG macro is defined before running. However, it is not defined in the CocoaPods target an…


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 vendored_frameworks preserve_paths dependency vendored_libraries pod dependencies version resource_bundles