Hello everyone
I can not put together a project for release on iOS.
I collect xcframework according to the instructions from jitsi (ENABLE_BITCODE = NO).
I put it in the project, everything works well on the simulator, but when archiving for release I get the error — JitsiMeetSDK does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target.
Found a solution that the project must also set ENABLE_BITCODE = NO.
This is how the archiving is performed, but at the end of the Apple it does not allow publishing the application and gives an error — No architectures in the binary. Lipo failed to detect any architectures in the bundle executable.
Help please, I don’t know what to do anymore
I do not see any other solutions, the project is not going to be built due to the lack of jitsi bitcode. I tried to do xcframework with ENABLE_BITCODE = YES, but ARCHIVE FAILED for ios-device
BuildProductsPath/Release-iphoneos/JitsiMeetSDK.framework/JitsiMeetSDK’ does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. file Release-iphoneos/JitsiMeetSDK.framework/JitsiMeetSDK’ for architecture arm64
if i disable it i get an error from apple ERROR ITMS-90085: “No architectures in the binary. Lipo failed to detect any architectures in the bundle executable.”
I removed in BuildPhase Embded Frameworks. but apple send error
Your delivery was successful, but you may wish to correct the following issues in your next delivery:
ITMS-90863: Apple silicon Macs support issue - The app links with libraries that are not present on Mac:
@rpath/JitsiMeetSDK.framework/JitsiMeetSDK @rpath/WebRTC.framework/WebRTC
.
After you’ve corrected the issues, you can upload a new binary to App Store Connect.
What Xcode version are you using? Are you using any script to strip architectures when building in release mode? That used to be necessary, but with xcframeworks that is taken care of autoomagically.
This suggests your app is attempted to be released on macOS too. Note that Apple made changes to that recently, check in Apple Store Connect to make sure your app is not released on macOS.
Hi , im using jist iOS SDK and my project need to set bitcode ON , so please is there any solustion to set the jitsi bitcode to No without make issue in code, and thanks in advance for any help.
Thanks @saghul for your quick reply, so that i understand we can use the SDK with Bitcode ,
and no need actually to this part in Documentation.
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings[‘ENABLE_BITCODE’] = ‘NO’
end
end
end