You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following XCode 14, Apple has depricated support for Bitcode.
now causes a rejection in TestFlight/App Store with the following reason:
If I build my project and run otool on it, it does indeed show that it contains bitcode: otool -l OneSignal.framework/OneSignal | grep __LLVM -1
On xcode build setting
On Podfile setting build ENABLE_BITCODE=NO installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings["EXCLUDED_ARCHS[sdk=iphoneos*]"] = "armv7" config.build_settings['ENABLE_BITCODE'] = 'NO' config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0' config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64" end end
And xcodebuild command I add ENABLE_BITCODE=NO But still have contains bitcode issue
Based on the info you've provided, it appears that you are already using the latest version of XCode and have set ENABLE_BITCODE to No in both the project and library settings.
We had a similar issue a while back that was resolved by updating CocoaPods. Could you give that a go and let us know the results?
@Rommadon@jennantilla I fixed the issue by choosing ENABLE_BITCODE=NO in the build settings of OneSignalNotificationServiceExtension and Tests targets. In my case bitcode was enabled in those targets.
What happened?
Following XCode 14, Apple has depricated support for Bitcode.
now causes a rejection in TestFlight/App Store with the following reason:
If I build my project and run otool on it, it does indeed show that it contains bitcode:
otool -l OneSignal.framework/OneSignal | grep __LLVM -1
On xcode build setting
On Podfile setting build
ENABLE_BITCODE=NO
installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings["EXCLUDED_ARCHS[sdk=iphoneos*]"] = "armv7" config.build_settings['ENABLE_BITCODE'] = 'NO' config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0' config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64" end end
And xcodebuild command I add
ENABLE_BITCODE=NO
But still have contains bitcode issueSteps to reproduce?
What did you expect to happen?
without any issue
React Native OneSignal SDK version
4.5.1
Which platform(s) are affected?
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: