OneSignal/OneSignal-DotNet-SDK

[Bug]: ITMS-90482: Invalid Executable OneSignal contains bitcode

michelsoftware opened this issue · 4 comments

What happened?

I've tested this in version OneSignalSDK.DotNet 4.3.0 and 4.3.1.

When sending the IPA to the App store it's rejected and I get the following message:

We identified one or more issues with a recent delivery for your app, "*******". Please correct the following issues, then upload again.
ITMS-90482: Invalid Executable - The executable 'BiblioNext.Ui.Ebieb.app/Frameworks/OneSignal.framework/OneSignal' contains bitcode.
ITMS-90482: Invalid Executable - The executable 'BiblioNext.Ui.Ebieb.app/Frameworks/OneSignalCore.framework/OneSignalCore' contains bitcode.
ITMS-90482: Invalid Executable - The executable 'BiblioNext.Ui.Ebieb.app/Frameworks/OneSignalExtension.framework/OneSignalExtension' contains bitcode.
ITMS-90482: Invalid Executable - The executable 'BiblioNext.Ui.Ebieb.app/Frameworks/OneSignalOutcomes.framework/OneSignalOutcomes' contains bitcode

Steps to reproduce?

1. Install OneSignalSDK.DotNet  4.3.1.
2. Create the App
3. Send to Apple App Store
4. Recieve email with above error message

What did you expect to happen?

Apple Store should accept new version. It seems that they don't accept bitcode since Xcode 14.0 anymore

Relevant log output

We identified one or more issues with a recent delivery for your app, "eBieb" 3.3.1 (22122910). Please correct the following issues, then upload again. 
ITMS-90482: Invalid Executable - The executable 'BiblioNext.Ui.Ebieb.app/Frameworks/OneSignal.framework/OneSignal' contains bitcode. 
ITMS-90482: Invalid Executable - The executable 'BiblioNext.Ui.Ebieb.app/Frameworks/OneSignalCore.framework/OneSignalCore' contains bitcode. 
ITMS-90482: Invalid Executable - The executable 'BiblioNext.Ui.Ebieb.app/Frameworks/OneSignalExtension.framework/OneSignalExtension' contains bitcode. 
ITMS-90482: Invalid Executable - The executable 'BiblioNext.Ui.Ebieb.app/Frameworks/OneSignalOutcomes.framework/OneSignalOutcomes' contains bitcode

Code of Conduct

  • I agree to follow this project's Code of Conduct

Hi @michelsoftware . We experienced this same issue with our unity SDK , the solution there was to upgrade XCode. Can you please let me know if this resolves your issue?

I also found this maui issue as a potential workaround, as we try to better understand the path forward.

@michelsoftware I've confirmed the fix described here does address the issue as a workaround. We will see if there can be a more permanent fix for this. thanks!

Hi Brismithers, thank you for helping out. I've tested the workaround and it works fine.