Xcode 16 RC tapi error: malformed file

Hello,

My project was compiling fine with the latest beta. This morning, I download the Xcode 16 RC and get this error (no code change, same machine):

ld: tapi error: malformed file
/Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator.sdk/System/Library/Frameworks/AppIntents.framework/AppIntents.tbd:4148:254: error: Got empty plain scalar
                       '_$s10AppIntents15IntentParameterCAA10Foundation16AttributedStringV9ValueTypeRtzrlE11description07requestH6Dialog23inputConnectionBehavior15optionsProvider9resolversACyxGAD09LocalizedG8ResourceVSg_AA0cL0VSgAA05InputnO0OYtqd_0_qd_ in '/Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator.sdk/System/Library/Frameworks/AppIntents.framework/AppIntents.tbd'
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Same error if I compile for an iOS 17 or iOS 18 target.

Any idea ?

Hi @thedeck,

Sorry to hear that you are experiencing build issues with Xcode 16 RC. We are trying to investigate this error but need your help getting necessary information. Please submit a feedback with the build log and the .tbd files with the error. It would be really helpful if you can also include a reproducer project or steps to reproduce this error.

Once submitted, please respond here with the Feedback ID.

Xcode 16 RC tapi error: malformed file
 
 
Q