fix: Build on iOS emulator
This commit is contained in:
parent
17c431127b
commit
2f9408a176
4 changed files with 15 additions and 4 deletions
|
|
@ -37,5 +37,14 @@ end
|
|||
post_install do |installer|
|
||||
installer.pods_project.targets.each do |target|
|
||||
flutter_additional_ios_build_settings(target)
|
||||
target.build_configurations.each do |config|
|
||||
config.build_settings['ENABLE_BITCODE'] = 'NO'
|
||||
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '9.0'
|
||||
|
||||
# https://github.com/flutter-webrtc/flutter-webrtc/issues/713
|
||||
if target.name == "flutter_webrtc" || target.name == "WebRTC-SDK"
|
||||
config.build_settings['ONLY_ACTIVE_ARCH'] = 'YES'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -106,5 +106,7 @@
|
|||
<key>NSAllowsArbitraryLoads</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>CADisableMinimumFrameDurationOnPhone</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue