From b9ee7d225218635f26bf86e9786be10f4ca0f0b2 Mon Sep 17 00:00:00 2001 From: fmk Date: Thu, 8 Sep 2022 14:03:30 +0800 Subject: [PATCH] ios --- ios/Runner.xcodeproj/project.pbxproj | 27 ++++++++++++++++++--------- ios/Runner/Info.plist | 9 +++++++++ ios/Runner/Runner.entitlements | 16 ++++++++++++++++ 3 files changed, 43 insertions(+), 9 deletions(-) diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index b362226b..59b6b6a6 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 51; + objectVersion = 52; objects = { /* Begin PBXBuildFile section */ @@ -18,8 +18,8 @@ 6EE8F35C2695819500237A5E /* CoreMedia.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F35A2695819500237A5E /* CoreMedia.framework */; }; 6EE8F35F269581A300237A5E /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F35D269581A300237A5E /* AVFoundation.framework */; }; 6EE8F360269581A300237A5E /* AVKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F35E269581A300237A5E /* AVKit.framework */; }; - 6EE8F362269581AF00237A5E /* GLKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F361269581AF00237A5E /* GLKit.framework */; }; - 6EE8F364269581B600237A5E /* OpenGLES.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F363269581B600237A5E /* OpenGLES.framework */; }; + 6EE8F362269581AF00237A5E /* GLKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F361269581AF00237A5E /* GLKit.framework */; platformFilter = ios; }; + 6EE8F364269581B600237A5E /* OpenGLES.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F363269581B600237A5E /* OpenGLES.framework */; platformFilter = ios; }; 6EE8F366269581BC00237A5E /* CoreText.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F365269581BC00237A5E /* CoreText.framework */; }; 6EE8F368269581C300237A5E /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F367269581C300237A5E /* QuartzCore.framework */; }; 6EE8F36A269581CC00237A5E /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F369269581CC00237A5E /* CoreGraphics.framework */; }; @@ -611,12 +611,13 @@ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = ""; BUILD_LIBRARY_FOR_DISTRIBUTION = NO; CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; - CURRENT_PROJECT_VERSION = 39; + CURRENT_PROJECT_VERSION = 42; DEVELOPMENT_TEAM = YF3Q8DVP52; ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( @@ -666,7 +667,7 @@ "$(PROJECT_DIR)/baidu", "$(PROJECT_DIR)/Runner/baidu", ); - MARKETING_VERSION = 2.0.39; + MARKETING_VERSION = 2.0.42; ONLY_ACTIVE_ARCH = YES; OTHER_LDFLAGS = ( "$(inherited)", @@ -690,8 +691,10 @@ PRODUCT_BUNDLE_IDENTIFIER = com.zsw.hx; PRODUCT_NAME = "$(TARGET_NAME)"; SUPPORTED_PLATFORMS = "iphonesimulator iphoneos"; + SUPPORTS_MACCATALYST = NO; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; }; name = Profile; @@ -810,12 +813,13 @@ baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = ""; BUILD_LIBRARY_FOR_DISTRIBUTION = NO; CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; - CURRENT_PROJECT_VERSION = 39; + CURRENT_PROJECT_VERSION = 42; DEVELOPMENT_TEAM = YF3Q8DVP52; ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( @@ -865,7 +869,7 @@ "$(PROJECT_DIR)/baidu", "$(PROJECT_DIR)/Runner/baidu", ); - MARKETING_VERSION = 2.0.39; + MARKETING_VERSION = 2.0.42; ONLY_ACTIVE_ARCH = YES; OTHER_LDFLAGS = ( "$(inherited)", @@ -888,9 +892,11 @@ ); PRODUCT_BUNDLE_IDENTIFIER = com.zsw.hx; PRODUCT_NAME = "$(TARGET_NAME)"; + SUPPORTS_MACCATALYST = NO; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; }; name = Debug; @@ -900,12 +906,13 @@ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = ""; BUILD_LIBRARY_FOR_DISTRIBUTION = NO; CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; - CURRENT_PROJECT_VERSION = 39; + CURRENT_PROJECT_VERSION = 42; DEVELOPMENT_TEAM = YF3Q8DVP52; ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( @@ -955,7 +962,7 @@ "$(PROJECT_DIR)/baidu", "$(PROJECT_DIR)/Runner/baidu", ); - MARKETING_VERSION = 2.0.39; + MARKETING_VERSION = 2.0.42; ONLY_ACTIVE_ARCH = YES; OTHER_LDFLAGS = ( "$(inherited)", @@ -979,8 +986,10 @@ PRODUCT_BUNDLE_IDENTIFIER = com.zsw.hx; PRODUCT_NAME = "$(TARGET_NAME)"; SUPPORTED_PLATFORMS = "iphonesimulator iphoneos"; + SUPPORTS_MACCATALYST = NO; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; }; name = Release; diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist index 1d5c98d9..f3eea2d8 100644 --- a/ios/Runner/Info.plist +++ b/ios/Runner/Info.plist @@ -126,6 +126,11 @@ 打开相册 NSSpeechRecognitionUsageDescription 是否允许语音识别 + UIApplicationSceneManifest + + UIApplicationSupportsMultipleScenes + + UIBackgroundModes remote-notification @@ -134,6 +139,10 @@ LaunchScreen UIMainStoryboardFile Main + UIRequiresFullScreen + + UIStatusBarHidden + UISupportedInterfaceOrientations UIInterfaceOrientationPortrait diff --git a/ios/Runner/Runner.entitlements b/ios/Runner/Runner.entitlements index 2d6a8024..b61074f5 100644 --- a/ios/Runner/Runner.entitlements +++ b/ios/Runner/Runner.entitlements @@ -10,5 +10,21 @@ applinks:hx.lotus-wallet.com applinks:huixiang.lotus-wallet.com + com.apple.security.app-sandbox + + com.apple.security.device.audio-input + + com.apple.security.device.camera + + com.apple.security.network.client + + com.apple.security.personal-information.addressbook + + com.apple.security.personal-information.calendars + + com.apple.security.personal-information.location + + com.apple.security.personal-information.photos-library +