サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
Wikipedia
guides.cocoapods.org
<What is a Podfile? The Podfile is a specification that describes the dependencies of the targets of one or more Xcode projects. The file should simply be named Podfile. All the examples in the guides are based on CocoaPods version 1.0 and onwards. A Podfile can be very simple, this adds Alamofire to a single target: source 'https://cdn.cocoapods.org/' source 'https://github.com/Artsy/Specs.git' p
<Introduction Many people starting with CocoaPods seem to think pod install is only used the first time you setup a project using CocoaPods and pod update is used afterwards. But that's not the case at all. The aim of this guide is to explain when you should use pod install and when you should use pod update. TL;DR: Use pod install to install new pods in your project. Even if you already have a Po
Supported Keys::clean Whether to clean the sources of the pods during installation Cleaning removes any files not used by the pod as specified by the podspec and the platforms that the project supports this option defaults to true. :deduplicate_targets Whether to deduplicate pod targets Target deduplication adds suffixes to pod targets for the cases where a pod is included in multiple targets that
Creating your own CocoaPod is fairly straight forward. If you already have a separate component, you're most of the way there. This guide is an overview to the entire process, with the other guides in this section serving as more of a deep-dive for more advanced users. We recommend letting CocoaPods do the hard work here. Running pod lib create [pod name] will set you up with a well thought out li
<Installing CocoaPods If you are installing on macOS 10.9.0-10.9.2, you may run into an issue when RubyGems tries to install the json gem. To fix this follow these instructions. After upgrading from macOS 10.8 to 10.9 the installed CocoaPods gem doesn’t work anymore, even after re-installing the gem. To solve this, you might need to uninstall the gem first and then re-install. The gem might not be
<Adding Pods to an Xcode project Before you begin Check the Specs repository or cocoapods.org to make sure the libraries you would like to use are available. Install CocoaPods on your computer. <Installation Create a Podfile, and add your dependencies: target 'MyApp' do pod 'AFNetworking', '~> 3.0' pod 'FBSDKCoreKit', '~> 4.9' end Run $ pod install in your project directory. Open App.xcworkspace a
A Podspec, or Spec, describes a version of a Pod library. One Pod, over the course of time, will have many Specs. It includes details about where the source should be fetched from, what files to use, the build settings to apply, and other general metadata such as its name, version, and description. You can create one by hand, or run pod spec create to generate a stub. Podspecs are ruby files. Here
SpecificationA specification describes a version of Pod library. It includes details about where the source should be fetched from, what files to use, the build settings to apply, and other general metadata such as its name, version, and description. A stub specification file can be generated by the pod spec create command. The specification DSL provides great flexibility and dynamism. Moreover, t
<What is CocoaPods CocoaPods manages library dependencies for your Xcode projects. The dependencies for your projects are specified in a single text file called a Podfile. CocoaPods will resolve dependencies between libraries, fetch the resulting source code, then link it together in an Xcode workspace to build your project. Ultimately the goal is to improve discoverability of, and engagement in,
このページを最初にブックマークしてみませんか?
『CocoaPods Guides』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く