0

我正在将我们的项目从遗留构建系统迁移到新构建系统(由于 xcode 13 强制执行)。
我们的项目有 2 个内部框架它可以在旧版构建系统中正常工作,但是在我切换到新的构建系统后,我在编译时遇到了问题:

unable to open dependencies file (/Users/myName/Library/Developer/Xcode/DerivedData/AppName-anxociolsqonavapydglkgjuxkvy/Build/Intermediates.noindex/AppName.build/Debug-iphonesimulator/FrameworkA.build/Objects-normal/x86_64/FrameworkA_vers.d)

因为我可以在同一路径找到 FrameworkA.d。我将 VERSIONING_SYSTEM = apple-generic 更改为 None,我遇到了另一个错误:

unable to open dependencies file (/Users/userName/Library/Developer/Xcode/DerivedData/AppName-anxociolsqonavapydglkgjuxkvy/Build/Intermediates.noindex/AppName.build/Debug-iphonesimulator/FrameworkA.build/Objects-normal/x86_64/FileB.d

在同一路径,我可以找到 FileB.o、FileB.dia,但没有 FileB.d

environment: xcode 12.4  Big Sur 11.6
Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28)
project swift version = 4.2 (migrating to 5 is the following task)
4

0 回答 0