科尔多瓦远程ios构建失败

科尔多瓦远程ios构建失败

本文介绍了科尔多瓦远程ios构建失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

我正在尝试为我的cordova应用之一制作一个远程ios版本,并且总是出现此错误

I am trying to make a remote ios build for my one of my cordova apps, and I am always getting this error

** 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 ==========

我不知道为什么,但是我能够成功构建其他应用程序,这里是我的完整日志

I don't know why, however I am able to build other apps successfully, here is my full log

非常感谢您的帮助.

推荐答案

我遇到了同样的问题,通常是由于配置文件配置不正确而发生的.- https://dpogue.ca/articles/cordova-xcode8.html ,所有内容您需要配置build.json文件我的文件是:

I had the same issue, usually it happened because provisioning profile is not set up properly.- https://dpogue.ca/articles/cordova-xcode8.html, everything you need is configure the build.json filemy file is:

{
  "ios": {
    "debug": {
      "developmentTeam": "XXXXXXXXXX",
      "provisioningProfile": "ProfileName"
    },
    "release": {
      "codeSignIdentity": "XXXXXXXx",
      "developmentTeam": "XXXXX",
      "packageType": "ad-hoc",
      "provisioningProfile": "ProfileName"
    }
  }
}

  • 无论如何我现在都遇到了72错误,xcrun:错误:无法找到实用程序"PackageApplication",而不是开发人员工具或在PATH中
    • anyway right now I got the 72 error,xcrun: error: unable to find utility "PackageApplication", not a developer tool or in PATH
    • 这篇关于科尔多瓦远程ios构建失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

      1403页,肝出来的..

09-06 23:35