8.8 C
New York
Wednesday, October 16, 2024

ios – xcodebuild linking error fille can’t be open()ed, errno=2


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?

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles