From 289dd1fa06baa67023e0fc94e68cd6773cc8d62e Mon Sep 17 00:00:00 2001 From: zhangmeng <494089941@qq.com> Date: Thu, 18 Mar 2021 10:19:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0ios=E6=9D=83=E9=99=90?= =?UTF-8?q?=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ios/Podfile.lock | 12 ++++++++++++ ios/Runner.xcodeproj/project.pbxproj | 9 ++++++--- ios/Runner/Info.plist | 24 ++++++++++++++++++++++++ pubspec.yaml | 2 +- 4 files changed, 43 insertions(+), 4 deletions(-) diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 562a67e..4c7d772 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -31,6 +31,8 @@ PODS: - core_location_fluttify (0.0.1): - Flutter - foundation_fluttify + - device_info (0.0.1): + - Flutter - Flutter (1.0.0) - foundation_fluttify (0.0.1): - Flutter @@ -44,6 +46,8 @@ PODS: - JCore (= 2.4.0) - JPush (= 3.4.0) - MTBBarcodeScanner (5.0.11) + - package_info (0.0.1): + - Flutter - path_provider (0.0.1): - Flutter - "permission_handler (5.0.1+1)": @@ -60,10 +64,12 @@ DEPENDENCIES: - amap_map_fluttify (from `.symlinks/plugins/amap_map_fluttify/ios`) - amap_search_fluttify (from `.symlinks/plugins/amap_search_fluttify/ios`) - core_location_fluttify (from `.symlinks/plugins/core_location_fluttify/ios`) + - device_info (from `.symlinks/plugins/device_info/ios`) - Flutter (from `Flutter`) - foundation_fluttify (from `.symlinks/plugins/foundation_fluttify/ios`) - image_picker (from `.symlinks/plugins/image_picker/ios`) - jpush_flutter (from `.symlinks/plugins/jpush_flutter/ios`) + - package_info (from `.symlinks/plugins/package_info/ios`) - path_provider (from `.symlinks/plugins/path_provider/ios`) - permission_handler (from `.symlinks/plugins/permission_handler/ios`) - qr_code_scanner (from `.symlinks/plugins/qr_code_scanner/ios`) @@ -90,6 +96,8 @@ EXTERNAL SOURCES: :path: ".symlinks/plugins/amap_search_fluttify/ios" core_location_fluttify: :path: ".symlinks/plugins/core_location_fluttify/ios" + device_info: + :path: ".symlinks/plugins/device_info/ios" Flutter: :path: Flutter foundation_fluttify: @@ -98,6 +106,8 @@ EXTERNAL SOURCES: :path: ".symlinks/plugins/image_picker/ios" jpush_flutter: :path: ".symlinks/plugins/jpush_flutter/ios" + package_info: + :path: ".symlinks/plugins/package_info/ios" path_provider: :path: ".symlinks/plugins/path_provider/ios" permission_handler: @@ -117,6 +127,7 @@ SPEC CHECKSUMS: AMapLocation-NO-IDFA: 2a3edfee336b38481b892e1ecc85df0f6b365851 AMapSearch-NO-IDFA: 85555dc9ba312949d39a259baa4ef4e0619fa944 core_location_fluttify: 9466a411ea7d22c6349c7e6a767ae4623f01eb1d + device_info: d7d233b645a32c40dfdc212de5cf646ca482f175 Flutter: 0e3d915762c693b495b44d77113d4970485de6ec foundation_fluttify: 0c45145e3fad1fb99188e4979daed5b24cd9b278 image_picker: 9c3312491f862b28d21ecd8fdf0ee14e601b3f09 @@ -124,6 +135,7 @@ SPEC CHECKSUMS: JPush: defaa108c38806f6efdcfaf4c416854d25fca8e5 jpush_flutter: 364b245849348e05377d67295d0896ddd664a896 MTBBarcodeScanner: f453b33c4b7dfe545d8c6484ed744d55671788cb + package_info: 873975fc26034f0b863a300ad47e7f1ac6c7ec62 path_provider: abfe2b5c733d04e238b0d8691db0cfd63a27a93c permission_handler: eac8e15b4a1a3fba55b761d19f3f4e6b005d15b6 qr_code_scanner: bb67d64904c3b9658ada8c402e8b4d406d5d796e diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index 9a480c0..65ad20e 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -359,7 +359,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SUPPORTED_PLATFORMS = iphoneos; @@ -398,6 +398,7 @@ PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = 1; VERSIONING_SYSTEM = "apple-generic"; }; name = Profile; @@ -449,7 +450,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -498,7 +499,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SUPPORTED_PLATFORMS = iphoneos; @@ -540,6 +541,7 @@ SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = 1; VERSIONING_SYSTEM = "apple-generic"; }; name = Debug; @@ -574,6 +576,7 @@ PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = 1; VERSIONING_SYSTEM = "apple-generic"; }; name = Release; diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist index c90a6b8..e7ad849 100644 --- a/ios/Runner/Info.plist +++ b/ios/Runner/Info.plist @@ -4,6 +4,30 @@ CFBundleDevelopmentRegion $(DEVELOPMENT_LANGUAGE) + NSContactsUsageDescription + 我们需要访问您的通讯录权限 + NSCalendarsUsageDescription + 我们需要访问日历权限 + NSPhotoLibraryAddUsageDescription + 我们需要访问您的照片,当您评价商品或编辑头像时,请同意 + NSPhotoLibraryUsageDescription + 我们需要访问您的照片,当您评价商品或编辑头像时,请同意 + NSCameraUsageDescription + 我们需要访问您的相机,当您评价商品、编辑头像、发布录像或直播时,请同意 + NSAppleMusicUsageDescription + 我们需要音乐访问权限 + NSMotionUsageDescription + 我们需要访问健康权限 + NSSpeechRecognitionUsageDescription + 我们需要访问语音识别权限 + NSLocationAlwaysUsageDescription + 我们需要访问定位权限,去更新天气信息,和一键报警 + NSLocationAlwaysAndWhenInUseUsageDescription + 我们需要访问定位权限,去更新天气信息,和一键报警 + NSLocationWhenInUseUsageDescription + 我们需要访问定位权限,去更新天气信息,和一键报警 + CFBundleDisplayName + 小蜜蜂智慧社区管家端 CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier diff --git a/pubspec.yaml b/pubspec.yaml index 92a1dfb..95976d7 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -3,7 +3,7 @@ description: A new Flutter application. publish_to: "none" -version: 1.0.3+4 +version: 1.0.5+6 environment: sdk: ">=2.7.0 <3.0.0"