fix: Build on iOS emulator

This commit is contained in:
Christian Pauly 2022-06-01 10:08:45 +02:00
parent aa4b19a828
commit 0e2598ea52
4 changed files with 15 additions and 4 deletions

View File

@ -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

View File

@ -106,5 +106,7 @@
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
<key>CADisableMinimumFrameDurationOnPhone</key>
<true/>
</dict>
</plist>

View File

@ -289,7 +289,7 @@ packages:
name: dart_webrtc
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.4"
version: "1.0.6"
dbus:
dependency: "direct overridden"
description:
@ -713,7 +713,7 @@ packages:
name: flutter_webrtc
url: "https://pub.dartlang.org"
source: hosted
version: "0.8.4"
version: "0.8.7"
frontend_server_client:
dependency: transitive
description:
@ -2024,7 +2024,7 @@ packages:
name: webrtc_interface
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.2"
version: "1.0.4"
win32:
dependency: transitive
description:

View File

@ -46,7 +46,7 @@ dependencies:
flutter_svg: ^0.22.0
flutter_typeahead: ^3.2.5
flutter_web_auth: ^0.4.0
flutter_webrtc: ^0.8.2
flutter_webrtc: ^0.8.7
future_loading_dialog: ^0.2.3
geolocator: ^7.6.2
hive_flutter: ^1.1.0