![]() ![]() ![]() If you want to add some pod, like the Google Maps iOS SDK components, you can add it to the section target: target 'my-app-name' do # platform :ios, '9.0' target 'my-app-name' do # Comment the next line if you're not using Swift and don't want to use dynamic frameworks use_frameworks! After that, you will get a PodFile like this: # Uncomment the next line to define a global platform for your project Then, after you install Cocoa Pods, you can create the initial PodFile executing pod initinside the root folder of your application. pod install: To install packages defined in the PodFileĬreate your Xcode application as usual.pod init: To create an empty initial PodFile in your Xcode project folder.However, each command must be executed in the root folderof your Xcode project: Execute the following commandĪfter fetching a list of dependency packages, you can use cocoa pods calling the command pod. This command allows you to install Cocoa Pods for Xcode, without any extra configuration. When you install XCode, you also get the gem ( RubyGems, the Ruby package manager). Cocoa Pods is a dependency manager for Swift and Objective-C Cocoa projects. In this post I will show how to Install Cocoa Pods for Xcode projects. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |