简体   繁体   English

在流星应用程序上运行ios模拟器时出现错误“命令失败,退出代码为66”

[英]Error “Command failed with exit code 66” running ios simulator on meteor app

I am trying to run a simulation for ios of my meteor app, following all the steps: 我尝试按照所有步骤为流星应用程序的ios运行模拟:

meteor install-sdk ios

meteor add-platform ios
meteor run ios

But when I run the latter it gives me the following error: 但是,当我运行后者时,会出现以下错误:

Error while running for mobile platforms: Error running
/Users/ivanmac/.meteor/packages/meteor-
tool/.1.0.41.azxhr5++os.osx.x86_64+web.browser+web.cordova/meteor-tool-
os.osx.x86_64/tools/cordova-scripts/cordova.sh
xcodebuild: error: 'test_app.xcodeproj.xcodeproj' does not exist.
Error: /Users/ivanmac/Desktop/test_app/.meteor/local/cordova-
build/platforms/ios/cordova/build: Command failed with exit
code 66
at ChildProcess.whenDone
(/Users/ivanmac/.meteor/packages/meteor-
tool/.1.0.41.azxhr5++os.osx.x86_64+web.browser+web.cordova/meteor-tool-
os.osx.x86_64/dev_bundle/lib/node_modules/cordova/node_modules/cordova-
lib/src/cordova/superspawn.js:135:23)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Process.ChildProcess._handle.onexit (child_process.js:823:5)


Running command: /Users/ivanmac/Desktop/test_app/.meteor/local/cordova-
build/platforms/ios/cordova/build 
Build settings from command line:
ARCHS = i386
CONFIGURATION_BUILD_DIR = 
/Users/ivanmac/Desktop/test_app/.meteor/local/cordova-
build/platforms/ios/build/emulator
SDKROOT = iphonesimulator8.1
VALID_ARCHS = i386

Only post I found on the internet talking about this was solved by changing the path, which I tried but didn't help. 我在互联网上发现的唯一关于此事的帖子是通过更改路径解决的,我尝试了但没有帮助。 I'm using Meteor 1.0.3.2 and my xcode is on version 6. Does anyone have any idea of what might be happening? 我正在使用Meteor 1.0.3.2,而我的xcode在版本6上。有人对发生的事情有任何想法吗?

Update to question 更新问题

I just found out that if I run the .xcodeproj file on the cordova/ios folder manually the project runs fine, so I guess the path to look for the file to run on xcode when I run "meteor run ios" has an error. 我刚刚发现,如果我手动在cordova / ios文件夹上运行.xcodeproj文件,则该项目运行良好,因此我猜当我运行“ meteor run ios”时寻找要在xcode上运行的文件的路径出错。

Open platforms/ios/cordova/build and change 开放平台/ ios / cordova /构建和更改

XCODEPROJ=$( ls "$PROJECT_PATH" | grep .xcodeproj ) PROJECT_NAME=$(basename "$XCODEPROJ" .xcodeproj) XCODEPROJ = $(ls“ $ PROJECT_PATH” | grep .xcodeproj)PROJECT_NAME = $(基本名称“ $ XCODEPROJ” .xcodeproj)

to

XCODEPROJ=$( ls "$PROJECT_PATH" | grep --color=never .xcodeproj ) PROJECT_NAME=$(basename "$XCODEPROJ" .xcodeproj) XCODEPROJ = $(ls“ $ PROJECT_PATH” | grep --color = never .xcodeproj)PROJECT_NAME = $(基本名称“ $ XCODEPROJ” .xcodeproj)

Source: phonegap build ios exception with HelloWorld Application 来源: phonegap构建带有HelloWorld应用程序的ios异常

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 ios app的错误:命令/ usr / bin / codesign失败,退出代码为1 - Error for ios app: Command /usr/bin/codesign failed with exit code 1 ios swift 应用程序编译错误:链接器命令失败,退出代码为 1 - ios swift app compilation error: linker command failed with exit code 1 Xcode-可以在模拟器上运行应用程序,但不能在设备上运行-错误:退出代码1失败 - Xcode - Can run app on simulator but not on device - error: Failed with exit code 1 clang:错误:链接器命令在删除AdMob后,在iOS应用程序中使用退出代码1(使用-v查看调用)失败 - clang: error: linker command failed with exit code 1 (use -v to see invocation) in iOS app after deleting AdMob IOS 应用构建问题:命令 CodeSign 失败,退出代码非零 - IOS App Build issue: Command CodeSign failed with a nonzero exit code Cordova 应用程序 - IOS 在 Appflow 上构建失败,无法安装“onesignal-cordova-plugin”:错误:pod:命令失败,退出代码 31 - Cordova App - IOS build failed on Appflow, Failed to install 'onesignal-cordova-plugin': Error: pod: Command failed with exit code 31 链接器命令失败,退出代码为1…ios项目错误 - Linker command failed with exit code 1…ios project error 铛:错误:链接器命令失败,退出代码为1 iOS9 - clang: error: linker command failed with exit code 1 iOS9 在模拟器和实际环境中,Xcode生成错误“命令/ usr / bin / codesign失败,退出代码为1” - Xcode build error “Command /usr/bin/codesign failed with exit code 1” in simulator and real environment 编译应用程序时,出现错误链接器命令失败,退出代码为1 - getting error linker command failed with exit code 1 when compiling app
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM