Cocoapods之错误处理

2017-08-04  本文已影响0人  不爱用句号的家伙

It shows that because you're able to use both swift and Objc languages in your pod. Just run the following command in the terminal:

`echo "2.3" > .swift-version` 

Replace "2.3" with your current Swift version in XCode, if you're on 3.1 for example replace it with "3.1". It will create a swift version file in your pod-project folder. And then you can run the lint command to validate your podspec.

ERROR: While executing gem ... (Errno::EPERM)
Operation not permitted - /usr/bin/xcodeproj
sudo gem install -n /usr/local/bin cocoapods

上一篇 下一篇

猜你喜欢

热点阅读