When I try to create a TestFlight build of my app using Xcode Cloud, I get a couple of ITMS-90334
errors and the build fails. The error messages look like:
ITMS-90334: Invalid Code Signature Identifier - The identifier 'MySwiftPackage-55554944e95A2da4fe9e3357b44de57c3ba890e8' in your code signature for 'MySwiftPackage_-658550CFFF128C8B_PackageProduct' must match its Bundle Identifier 'MySwiftPackage'
Where MySwiftPackage
is a Swift Package which is used by a framework as well as the application. The dependencies look like this:
MyApp
+ MyFramework
+ MySwiftPackage
+ MySwiftPackage
- MyApp is a macOS app
- MyFramework is a mixed Swift and Objective-C framework
- MyApp is also mixed Swift and Objective-C
- When I run an archive build on my local Mac and upload the build to App Store Connect to be used as a TestFlight build, everything seams to be fine and the build is accepted
- I found some discussions on
ITMS-90334
but not related to using Swift Packages and Frameworks
Any ideas what might be going on or where I can look to get more info on the nature of ITMS-90334
?
macOS 13.1 beta 4 addresses the issue creating ITMS-90334: Invalid Code Signature Identifier
in Xcode Cloud. No update to Xcode is necessary to address the issue. This beta was released yesterday, and is available in Xcode Cloud when you configure a workflow to specify the macOS version used to execute your build. As this version is currently a beta, it is only available as part of the "Latest Beta or Release" macOS configuration, or as a dedicated choice for the macOS version, at this time.
If you find this issue is not addressed with this configuration change to your Xcode Cloud workflow, continue to provide us feedback through Feedback Assistant, and share the FB numbers here so I can follow up on them.