I was looking at the jitsi meet iOS sdk: https://github.com/jitsi/jitsi-meet-ios-sdk-releases
In the Sdk podspec they have EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64'
Can anyone help me in figuring out why they would've added this in their podspec
Their complete podfile
Pod::Spec.new do |s|
s.name = 'JitsiMeetSDK'
s.version = '3.6.0'
s.summary = 'Jitsi Meet iOS SDK'
s.description = 'Jitsi Meet is a WebRTC compatible, free and Open Source video conferencing system that provides browsers and mobile applications with Real Time Communications capabilities.'
s.homepage = 'https://github.com/jitsi/jitsi-meet-ios-sdk-releases'
s.license = 'Apache 2'
s.authors = 'The Jitsi Meet project authors'
s.source = { :git => 'https://github.com/jitsi/jitsi-meet-ios-sdk-releases.git', :tag => s.version }
s.platform = :ios, '11.0'
s.vendored_frameworks = 'Frameworks/JitsiMeetSDK.xcframework', 'Frameworks/WebRTC.xcframework'
s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
end
EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64'
On M1 Macs you have to exclude arm64 for simulator otherwise it won't compile. If you are not on M1 you can remove that exclusion and it should work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With