svo*_*l13 3 ios xcode4 cordova cordova-3
我无法'运行'phonegap ios hello world app.使用android SDK的Windows机器上的方法相同.我一直在谷歌上搜索一段时间,但没有发现任何有用的东西.任何想法我可能会错误的意思?
组态:
phonegap -v:3.4.0-0.19.7
cordova -v:3.4.0-0.1.3
Mac OS X:10.7.5(不可升级 - 英特尔GMA X3100)
Xcode:4.6.3
做法:
~: phonegap create hello
~: cd hello
~: phonegap run ios
...
** BUILD SUCCEEDED **
2014-03-16 18:24:17.091 ios-sim[6863:707] stderrPath: /Users/username/git/hello/platforms/ios/cordova/console.log
2014-03-16 18:24:17.096 ios-sim[6863:707] stdoutPath: /Users/username/git/hello/platforms/ios/cordova/console.log
2014-03-16 18:24:17.110 ios-sim[6863:707] Error loading /Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/DVTFoundation: dlopen(/Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/DVTFoundation, 265): no suitable image found. Did find:
/Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/DVTFoundation: GC capability mismatch
Unable to dvtFoundationBundle. Error:
[error] /Users/username/git/hello/platforms/ios/cordova/run: Command failed with exit code 1
Run Code Online (Sandbox Code Playgroud)
svo*_*l13 18
我通过降级到ios-sim 1.8.2解决了这个问题
npm uninstall -g ios-sim
brew uninstall ios-sim
npm install -g ios-sim@~1.8
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
3592 次 |
| 最近记录: |