I very not too long ago migrated our mission on Swift 6. After fixing each points, principally resulting from Swift Concurrency, I’m getting the next error when compiling with Xcode 16.0, which doesn’t make any sense to me :
A number of errors: file can't be open()ed, errno=2
path=/Customers/.../Library/Developer/Xcode/DerivedData/MyApp-euxwyncffackymerzuntbjccezyq/Construct/Intermediates.noindex/MyApp.construct/Debug-iphoneos/MyApp.construct/Objects-normal/arm64/Router.o in '/Customers/.../Library/Developer/Xcode/DerivedData/MyApp-euxwyncffackymerzuntbjccezyq/Construct/Intermediates.noindex/MyApp.construct/Debug-iphoneos/MyApp.construct/Objects-normal/arm64/Router.o'; file can't be open()ed, errno=2
path=/Customers/.../Library/Developer/Xcode/DerivedData/MyApp-euxwyncffackymerzuntbjccezyq/Construct/Intermediates.noindex/MyApp.construct/Debug-iphoneos/MyApp.construct/Objects-normal/arm64/AccountRouter.o in '/Customers/.../Library/Developer/Xcode/DerivedData/MyApp-euxwyncffackymerzuntbjccezyq/Construct/Intermediates.noindex/MyApp.construct/Debug-iphoneos/MyApp.construct/Objects-normal/arm64/AccountRouter.o'; file can't be open()ed,
errno=2
path=/Customers/.../Library/Developer/Xcode/DerivedData/MyApp-euxwyncffackymerzuntbjccezyq/Construct/Intermediates.noindex/MyApp.construct/Debug-iphoneos/MyApp.construct/Objects-normal/arm64/AlertRouter.o in '/Customers/.../Library/Developer/Xcode/DerivedData/MyApp-euxwyncffackymerzuntbjccezyq/Construct/Intermediates.noindex/MyApp.construct/Debug-iphoneos/MyApp.construct/Objects-normal/arm64/AlertRouter.o'; file can't be open()ed, errno=2
path=/Customers/.../Library/Developer/Xcode/DerivedData/MyApp-euxwyncffackymerzuntbjccezyq/Construct/Intermediates.noindex/MyApp.construct/Debug-iphoneos/MyApp.construct/Objects-normal/arm64/AlarmRouter.o in '/Customers/.../Library/Developer/Xcode/DerivedData/MyApp-euxwyncffackymerzuntbjccezyq/Construct/Intermediates.noindex/MyApp.construct/Debug-iphoneos/MyApp.construct/Objects-normal/arm64/AlarmRouter.o'
(The ‘…’ is simply me obfuscating the actual title)
I’ve checked the paths. The file are right here and I can open them.
Anybody has a clue on what’s taking place?