gpt4 book ai didi

ios - Cordova 远程 ios 构建失败,出现 macincloud 错误 :65

转载 作者:行者123 更新时间:2023-12-02 11:01:13 24 4
gpt4 key购买 nike

我正在尝试为我的一个 Cordova 应用程序构建远程 ios,但我总是遇到错误。

1- Create a new cordova project in visual studio. 
2- Deleted all plugins. (include Whitelist)
3- Build solution.
4- Then got error 65 .

/cordova/build/tasks/22262/log 行得到一个错误和带有 macincloud 的 Visual Studio 编译器。
安全模式为假。
1>  Check dependencies
1> Signing for "BlankCordovaApp3" requires a development team. Select a development team in the project editor.
1> Code signing is required for product type 'Application' in SDK 'iOS 10.0'

1> ** BUILD FAILED **
1>
1>
1> The following build commands failed:
1> Check dependencies
1> (1 failure)
1> Failed to build app for buildNumber 22262: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/user120288/.taco_home/remote-builds/taco-remote/builds/22262/cordovaApp/platforms/ios/cordova/build-release.xcconfig,-project,BlankCordovaApp2.xcodeproj,ARCHS=armv7 arm64,-target,BlankCordovaApp2,-configuration,Release,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=/Users/user120288/.taco_home/remote-builds/taco-remote/builds/22262/cordovaApp/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/user120288/.taco_home/remote-builds/taco-remote/builds/22262/cordovaApp/platforms/ios/build/sharedpch
1>MSBUILD : cordova-build error : Error: Remote build error from the build server Build failed with error Error code 65 for command: xcodebuild with args: -xcconfig,/Users/user120288/.taco_home/remote-builds/taco-remote/builds/22262/cordovaApp/platforms/ios/cordova/build-release.xcconfig,-project,BlankCordovaApp2.xcodeproj,ARCHS=armv7 arm64,-target,BlankCordovaApp2,-configuration,Release,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=/Users/user120288/.taco_home/remote-builds/taco-remote/builds/22262/cordovaApp/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/user120288/.taco_home/remote-builds/taco-remote/builds/22262/cordovaApp/platforms/ios/build/sharedpch - 1
1> Error Remote build error from the build server Build failed with error Error code 65 for command: xcodebuild with args: -xcconfig,/Users/user120288/.taco_home/remote-builds/taco-remote/builds/22262/cordovaApp/platforms/ios/cordova/build-release.xcconfig,-project,BlankCordovaApp2.xcodeproj,ARCHS=armv7 arm64,-target,BlankCordovaApp2,-configuration,Release,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=/Users/user120288/.taco_home/remote-builds/taco-remote/builds/22262/cordovaApp/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/user120288/.taco_home/remote-builds/taco-remote/builds/22262/cordovaApp/platforms/ios/build/sharedpch - {1}

最佳答案

你需要做一些额外的配置才能使 Cordova 与 Xcode 8 和 iOS 10 一起工作。我写了我用来解决这个问题的解决方法:
https://dpogue.ca/articles/cordova-xcode8.html

回顾一下,您需要指定您的开发人员团队 ID。在下一版本的 Cordova-iOS 中,您可以在 build.json 文件中使用 developerTeam 执行此操作。在此期间,我有一个可用的钩子(Hook)。

您还需要将您的代码签名身份设置为“iPhone Developer”,即使对于发布版本也是如此。使用 build.json 中的 codeSignIdentity 执行此操作。

您不需要指定配置文件,当 Xcode 有团队 ID 时,它会自动处理它。

希望有帮助!

关于ios - Cordova 远程 ios 构建失败,出现 macincloud 错误 :65,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39572971/

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