pos*_*sha 2 iphone ios cocoapods
运行 pod install 时遇到问题。
这是我的 pod 文件的样子:
platform :ios, '8.0'
target 'Template1' do
pod "PinterestSDK", :git => "https://github.com/pinterest/ios-pdk.git"
end
Run Code Online (Sandbox Code Playgroud)
但它不会安装豆荚,一旦我执行pod install,这就是它给出的输出。
Analyzing dependencies
Downloading dependencies
Generating Pods project
Integrating client project
[!] Please close any current Xcode sessions and use `Template1.xcworkspace` for this project from now on.
Sending stats
Pod installation complete! There are 0 dependencies from the Podfile and 0 total
pods installed.
[!] The Podfile does not contain any dependencies.
Run Code Online (Sandbox Code Playgroud)
我不确定出了什么问题。
从项目目录中删除“Pods”目录(如果存在)
在终端中, $open -a xcode Podfile
使用这个:(Podfile)
平台:ios,'8.0'
目标 'Template1' 做
pod“PinterestSDK”
结尾
在终端中, $ cd YOUR_PROJECT_PATH
吊舱安装
| 归档时间: |
|
| 查看次数: |
11101 次 |
| 最近记录: |