首次使用pod遇到问题后在stackoverflow寻找的解决方案

来源:互联网 发布:java数据源 编辑:程序博客网 时间:2024/05/16 07:20

第一步,在写完podfile,执行pod install时遇到这样的问题:

[!] CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the target `NTF935Library` to `Pods/Target Support Files/Pods-NTF935Library/Pods-NTF935Library.debug.xcconfig` or include the `Pods/Target Support Files/Pods-NTF935Library/Pods-NTF935Library.debug.xcconfig` in your build configuration.

解决方案:

处理的网址是这个:http://stackoverflow.com/questions/17072396/cocoapods-errors-on-project-build

把info里的对应内容改成none即可。


第二步,pod install之后直接打开,编译的时候出现这样的内容:

Workspace Integrity Couldn't load NTF935Library.xcodeproj because it is already opened from another projet or workspace.

解决方案:

处理的网址:http://stackoverflow.com/questions/6820460/couldnt-load-a-xcode-project-because-it-is-already-opened-from-another-project

重启。= =


第三步,pod install非常慢:

解决方案:

处理的网址:pod install --verbose --no-repo-update

解除一些绑定,提高速度




0 0
原创粉丝点击