如果您.podspec
的图书馆有一个,您可以使用cocoapods-playgrounds生成一个可以使用的Playground。
$ gem install cocoapods-playgrounds
$ pod playgrounds Restofire.podspec
看起来该插件也对Carthage项目提供了初步支持。
该插件在您的项目文件夹中创建一个具有以下结构的新文件夹:
RestofirePlayground
├── Podfile
├── Podfile.lock
├── Pods
│ ├── Alamofire
│ ├── Headers
│ ├── Local\ Podspecs
│ │ └── Restofire.podspec.json
│ ├── Manifest.lock
│ ├── Pods.xcodeproj
│ └── Target\ Support\ Files
│ ├── Alamofire
│ ├── Pods-TidalPlayground
│ └── Restofire
├── Restofire.playground
├── Restofire.xcodeproj
└── Restofire.xcworkspace
生成Playground之后,剩下的就是建立RestofirePlayground
方案,然后您就可以开始了。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句