安装此pod后出错。 在将它带到我的桌面并安装pod之后,我成功地将原始应用程序运行了。
问题是,在运行pod安装并打开.xcodeworkspace项目之后,尝试使用真正的应用程序,我想将其合并;我得到1个警告说文件已经打开或类似的东西。
我的问题:我应该在我原来的.xcodeproj所在的地方或其他地方运行pod install
吗?如何在没有错误的情况下将此pod安装到我自己的应用程序?当我打开工作区时,我会看到我的应用程序的标题,并在其下面有4个带有问号和一个编译器警告的窗格。
WTL2:~ Apple$ cd desktop
WTL2:desktop Apple$ cd myapp
WTL2:myapp Apple$ touch podfile
WTL2:myapp Apple$ open -a TextEdit Podfile
WTL2:myapp Apple$ pod install
Analyzing dependencies
CocoaPods 0.36.0.beta.2 is available.
To update use: `gem install cocoapods --pre`
[!] This is a test version we'd love you to try.
For more information see http://blog.cocoapods.org
and the CHANGELOG for this version http://git.io/BaH8pQ.
Downloading dependencies
Installing FXBlurView (1.6.3)
Installing HexColors (2.2.1)
Installing MessageBanner (1.0.3)
Generating Pods project
Integrating client project
[!] From now on use `myapp.xcworkspace`.
WTL2:faunna Apple$
具体的Xcode警告是:
couldn't load myapp because it is already open from another project or workspace