gpt4 book ai didi

ios - 命令 : xcodebuild How solve it? 的错误代码 65

转载 作者:行者123 更新时间:2023-12-01 17:46:35 25 4
gpt4 key购买 nike

我运行 ionic cordova build ios 并且响应总是错误

请帮帮我

** BUILD FAILED **


The following build commands failed:
CompileXIB MyApp/Classes/MainViewController.xib
(1 failure)
CordovaError: Promise rejected with non-error: 'Error code 65 for command: xcodebuild with args: -xcconfig,/Users/linuxplus/Public/Teste/platforms/ios/cordova/build-debug.xcconfig,-workspace,MyApp.xcworkspace,-scheme,MyApp,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS Simulator,name=iPhone SE,build,CONFIGURATION_BUILD_DIR=/Users/linuxplus/Public/Teste/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/linuxplus/Public/Teste/platforms/ios/build/sharedpch'
at cli.catch.err (/usr/local/lib/node_modules/cordova/bin/cordova:30:15)
at process._tickCallback (internal/process/next_tick.js:68:7)
[ERROR] An error occurred while running subprocess cordova.

cordova build ios exited with exit code 1.

Re-running this command with the --verbose flag may provide more information.

最佳答案

我相信这一定出现在 Xcode 10.x 中。在这种情况下,这是因为 Xcode 10.x 中的构建系统发生了变化。

尝试使用以下命令:

  • 构建:ionic cordova build ios -- --buildFlag="-UseModernBuildSystem=0"

  • 运行:ionic cordova run ios -- --buildFlag="-UseModernBuildSystem=0"--livereload

引用:https://github.com/apache/cordova-ios/issues/407#issue-360392411

希望这会有所帮助。

关于ios - 命令 : xcodebuild How solve it? 的错误代码 65,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54289815/

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