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…


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


How can I include a.pch for a specific pod, in cocoapods?

In my projet MyProject(I'm using cocoapods), I want to use MyPod. The classes of MyPod are copied to MyProject, but not the.pch. Hence, the project is not compiling. So, I have two questions:How…



How do I create a CocoaPods podspec that has a dependency that exists outside of Specs?

I have a public fork of a library that already exists in CocoaPods/Specs. In a Podfile, I can reference this forked pod by doing this: pod 'CoolLibrary',:git=> '[email protected]:myname/CoolLibrary-For…


CocoaPods: point to a branch in pod spec

I'm trying to install code from a repository's branch on a pod spec, and based on the documentation, this should work: s.dependency 'repository_name',:git=> 'https://github.com/account_name/reposit…


ios - How to add a private CocoaPod as a dependency in another pod.podspec file?

I am working on a private pod and that is dependent on other private pod. So i just want to mention it in my pod.podspec file. Its looks like this in.podspec file of pod2. s.dependency 'Pod1', '~>…


Access Resources in pod

I would like to include image assets in a cocoapod library, but I'm having trouble accessing them. I've read these resources for help: Cocoapods Resources Cocoapods Resource Bundles Mokacoding Resour…


cocoapods - What's the difference between 'pod spec lint' and 'pod lib lint'?

Cocoapods provides two lint commands, spec lint and lib lint. What's the exact different between them, and in what scenario are they each used? I read the documentation(spec, lib), but I can not find…




podspec cocoapods vendored_frameworks prepare_command preserve_paths dependency swift version repo pod_target_xcconfig