From 750b2ba987a5e9554387cf705d63df6b71a8066c Mon Sep 17 00:00:00 2001 From: rang <378694192@qq.com> Date: Sat, 25 Oct 2025 16:25:55 +0800 Subject: [PATCH] macos ios --- ios/Podfile | 2 +- ios/Runner/Info.plist | 9 +++++++++ macos/Runner/Info.plist | 7 +++++++ 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/ios/Podfile b/ios/Podfile index e549ee2..c2c1dc5 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -1,5 +1,5 @@ # Uncomment this line to define a global platform for your project -# platform :ios, '12.0' +platform :ios, '14.0' # CocoaPods analytics sends network stats synchronously affecting flutter build latency. ENV['COCOAPODS_DISABLE_STATS'] = 'true' diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist index 3f41d2c..21fb584 100644 --- a/ios/Runner/Info.plist +++ b/ios/Runner/Info.plist @@ -45,5 +45,14 @@ UIApplicationSupportsIndirectInputEvents + NSAppTransportSecurity + + NSAllowsArbitraryLoads + + + UIBackgroundModes + + audio + diff --git a/macos/Runner/Info.plist b/macos/Runner/Info.plist index 4789daa..7da40d1 100644 --- a/macos/Runner/Info.plist +++ b/macos/Runner/Info.plist @@ -28,5 +28,12 @@ MainMenu NSPrincipalClass NSApplication + com.apple.security.network.client + + NSAppTransportSecurity + + NSAllowsArbitraryLoads + +