斯威夫特 - 我怎么能解决这两个错误?

时间:2016-10-14 21:41:18

标签: ios iphone swift xcode cordova

任何人都可以建议,如何解决这个2错误?

使用:     Xcode Version 7.1 (7B91b) Apple Swift version 2.1 (700.1.101.6 700.1.76).

安装的:

npm install -g cordova ios-deploy
cordova create <name>
cordova platform add ios android
cordova platform add browser --usegit
cordova plugin add http:...git

Go platforms/ios and click on [ProjectName].xcodeproj to open it with XCode
Go to your project settings
In General, change Deployment Target to 7.0 or above
Go to Build Settings and change:
a. Valid Architectures => armv7
b. Build Active Architecture Only => No
c. Runpath Search Paths => $(inherited) @executable_path/Frameworks

pg_namespace

1 个答案:

答案 0 :(得分:1)

我也是新手,但你尝试过Clean(Product-&gt; Clean),然后是Build(Product-&gt; Build)?我用干净的构建解决了很多类似的问题。可能有帮助。