It is challenging to pinpoint the exact issue without additional information about your project or a specific project demonstrating the problem. Could you please provide details about your framework or the third-party framework you are using? How was it built, and what are the configuration and settings in the project? A comprehensive view is always beneficial, but I will attempt to offer some potential solutions. However, providing a project illustrating the issue would be more advantageous for such types of errors.
The error message indicates that there are two issues with the archive being uploaded to App Store Connect:
-
Invalid Executable: The executable AppInvokeSDK.framework contains Bitcode.
- App Store Connect does not allow frameworks that contain Bitcode. Bitcode is a way of compiling Swift and Objective-C code into an intermediate format that can be optimized later by Apple's servers.
-
Missing dSYM for AppInvokeSDK.framework: The archive did not include a dSYM for AppInvokeSDK.framework.
- A dSYM (Debug Symbols) file is required for each framework included in the app archive. It provides debugging information and is necessary for crash reports and other debugging purposes.
I would recommend to contact the owner of that framework to provide you a newer version of the framework or use a different framework to accomplish the task you are trying to run.
There are ways to remove bitcode from frameworks by stripping it:
xcrun bitcode_strip -r AppInvokeSDK.framework/YourFramework -o AppInvokeSDK.framework/YourFramework
If that is your framework, you can strip the bitcode from the project.
-
Disable Bitcode for the AppInvokeSDK framework:
- The error indicates that the
AppInvokeSDK framework contains Bitcode, which is not allowed for submission to the App Store. - Go to the target settings for your project.
- Under the
Build Phases tab, find the Embed Frameworks phase. - Expand
AppInvokeSDK.framework and select it. - In the right-hand pane, set
Embed Bitcode to No.
-
Generate dSYM for the framework:
- Make sure that the
AppInvokeSDK framework is set to generate a dSYM during build. - In the target settings for the framework (not your app target), go to the
Build Settings tab. - Search for
Debug Information Format and set it to DWARF with dSYM File for both Debug and Release configurations.
-
Archive again:
- After making the above changes, clean your build folder (
Product > Clean Build Folder) and archive your project again (Product > Archive).
-
Validate the archive:
- Before uploading, validate the archive to ensure it meets the App Store Connect requirements.
- Go to
Organizer (Window > Organizer), select your archive, and click on Validate.
-
Upload the archive:
- Once the archive is validated, upload it to App Store Connect.
If none of these solutions work, you might want to consider reaching out to the support team of the AppInvokeSDK framework to ensure that the framework is properly built and compatible with Xcode 16 and iOS app submission, if it is not yours.
Hope this helps.
Albert Pascual
Worldwide Developer Relations.