gpt4 book ai didi

ios - 迁移到 Xcode 10 后出现多个错误

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

更新到 Xcode 10 后,我的项目中出现以下错误:

第一个错误:

:-1: Multiple commands produce'/Users/maropost/Library/Developer/Xcode/DerivedData/XYZ-dorcxsyibrmjnndrycgblntogjan/Build/Products/Debug-iphoneos/XYZ.framework/Info.plist':

  1. Target 'XYZ' (project 'MPPush') has copy command from'/Users/maropost/Documents/Work/iOS/Products/SDK/SwiftFromStart/XYZ/XYZ/Info.plist'to'/Users/maropost/Library/Developer/Xcode/DerivedData/XYZ-dorcxsyibrmjnndrycgblntogjan/Build/Products/Debug-iphoneos/XYZ.framework/Info.plist'
  2. Target 'XYZ' (project 'XYZ') has process command with output'/Users/maropost/Library/Developer/Xcode/DerivedData/XYZ-dorcxsyibrmjnndrycgblntogjan/Build/Products/Debug-iphoneos/XYZ.framework/Info.plist'

第二个错误:

Could not delete/Users/maropost/Documents/Work/iOS/Products/SDK/SwiftFromStart/XYZ/buildbecause it was not created by the build system and it is not asubfolder of derived data.

第三个错误:

Command PhaseScriptExecution emitted errors but did not return anonzero exit code to indicate failure

已检查this但不相关。

最佳答案

对于以下错误:

无法删除/Users/maropost/Documents/Work/iOS/Products/SDK/SwiftFromStart/MPPush/build,因为它不是由构建系统创建的,也不是派生数据的子文件夹。

根据 https://developer.apple.com/documentation/xcode_release_notes/xcode_10_release_notes/build_system_release_notes_for_xcode_10

解决方法是手动删除框架项目目录中的构建文件夹。希望这有帮助!

关于ios - 迁移到 Xcode 10 后出现多个错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52732824/

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