2015-12-21 97 views
0

我試圖做一個遠程IOS建立我的我的科爾多瓦的應用程序之一,我總是得到這個錯誤科爾多瓦遠程IOS建立失敗

** BUILD FAILED ** 

The following build commands failed: 
    Ld build/emulator/MyApp\ HR.app/MyApp\ HR normal i386 
    (1 failure) 
Error code 65 for command: xcodebuild with args: -xcconfig,/Users/admin/.taco_home/remote-builds/taco-remote/builds/368/cordovaApp/platforms/ios/cordova/build-debug.xcconfig,-project,MyApp HR.xcodeproj,ARCHS=i386,-target,MyApp HR,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/admin/.taco_home/remote-builds/taco-remote/builds/368/cordovaApp/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/admin/.taco_home/remote-builds/taco-remote/builds/368/cordovaApp/platforms/ios/build/sharedpch 

Command finished with error code 2: /Users/admin/.taco_home/remote-builds/taco-remote/builds/368/cordovaApp/platforms/ios/cordova/build --debug 
ERROR building one of the platforms : error : /Users/admin/.taco_home/remote-builds/taco-remote/builds/368/cordovaApp/platforms/ios/cordova/build: Command failed with exit code 2 

You may not have the required environment or OS to build this project 
Failed to build app for buildNumber 368: /Users/admin/.taco_home/remote-builds/taco-remote/builds/368/cordovaApp/platforms/ios/cordova/build: Command failed with exit code 2 

Error : Remote build error from the build server Build failed with error /Users/admin/.taco_home/remote-builds/taco-remote/builds/368/cordovaApp/platforms/ios/cordova/build: Command failed with exit code 2: {1} 
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== 
========== Deploy: 0 succeeded, 0 failed, 0 skipped ========== 

我不知道爲什麼,但我能成功構建其他應用程序,here是我的完整日誌

任何幫助,非常感謝。

+0

你解決了嗎?有同樣的問題 – Namirna

+0

@Namirna,我也得到同樣的錯誤。你解決了嗎? –

回答

0

我有同樣的問題,通常是因爲配置文件設置不正確。 - https://dpogue.ca/articles/cordova-xcode8.html,你需要的一切配置build.json文件 我的文件是:

{ 
    "ios": { 
    "debug": { 
     "developmentTeam": "XXXXXXXXXX", 
     "provisioningProfile": "ProfileName" 
    }, 
    "release": { 
     "codeSignIdentity": "XXXXXXXx", 
     "developmentTeam": "XXXXX", 
     "packageType": "ad-hoc", 
     "provisioningProfile": "ProfileName" 
    } 
    } 
} 
  • 反正現在我得到了72錯誤, xcrun:錯誤:無法找到程序 「PackageApplication」不是開發者工具或路徑