gpt4 book ai didi

ios - 无法运行 phonegap iOS 应用程序

转载 作者:可可西里 更新时间:2023-11-01 06:18:04 26 4
gpt4 key购买 nike

我无法“运行”phonegap ios hello world 应用程序。使用 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 (unupgradable - Intel 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

最佳答案

我通过降级到 ios-sim 1.8.2 解决了这个问题

npm uninstall -g ios-sim
brew uninstall ios-sim
npm install -g ios-sim@~1.8

关于ios - 无法运行 phonegap iOS 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22440346/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com