diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index 86f5d276..238827f8 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -7,8 +7,9 @@ objects = { /* Begin PBXBuildFile section */ - 04BFE7152D14105500A48EC9 /* info_sky.xcstrings in Resources */ = {isa = PBXBuildFile; fileRef = 04BFE7142D14105500A48EC9 /* info_sky.xcstrings */; }; - 04C1FC572D13F1A2000C959E /* info_xhj.xcstrings in Resources */ = {isa = PBXBuildFile; fileRef = 04C1FC562D13F1A2000C959E /* info_xhj.xcstrings */; }; + 04717D692D1B97E100089BD3 /* InfoPlist_sky.strings in Resources */ = {isa = PBXBuildFile; fileRef = 04717D672D1B97E100089BD3 /* InfoPlist_sky.strings */; }; + 04717D6D2D1B983300089BD3 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 04717D6B2D1B983200089BD3 /* InfoPlist.strings */; }; + 04717D712D1B9B5A00089BD3 /* InfoPlist_xhj.strings in Resources */ = {isa = PBXBuildFile; fileRef = 04717D6F2D1B9B5A00089BD3 /* InfoPlist_xhj.strings */; }; 04D0CC262D06CE570042EF10 /* launchImage_xhj.png in Resources */ = {isa = PBXBuildFile; fileRef = 82B657662C919BDF0079121C /* launchImage_xhj.png */; }; 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; 25B2A1422F9A2CCCBBCBBB97 /* skyRelease.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 35F02D170492750B437D6AB6 /* skyRelease.xcconfig */; }; @@ -99,9 +100,13 @@ /* Begin PBXFileReference section */ 0420903B2C0EEAA50073E654 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/Main.strings"; sourceTree = ""; }; + 04717D682D1B97E100089BD3 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/InfoPlist_sky.strings"; sourceTree = ""; }; + 04717D6A2D1B97E800089BD3 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist_sky.strings; sourceTree = ""; }; + 04717D6C2D1B983200089BD3 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + 04717D6E2D1B983900089BD3 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/InfoPlist.strings"; sourceTree = ""; }; + 04717D702D1B9B5A00089BD3 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/InfoPlist_xhj.strings"; sourceTree = ""; }; + 04717D722D1B9B5D00089BD3 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist_xhj.strings; sourceTree = ""; }; 04BFC4482BCFE05100688FCA /* RunnerRelease-xhj.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "RunnerRelease-xhj.entitlements"; sourceTree = ""; }; - 04BFE7142D14105500A48EC9 /* info_sky.xcstrings */ = {isa = PBXFileReference; lastKnownFileType = text.json.xcstrings; path = info_sky.xcstrings; sourceTree = ""; }; - 04C1FC562D13F1A2000C959E /* info_xhj.xcstrings */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json.xcstrings; path = info_xhj.xcstrings; sourceTree = ""; }; 0BEB3ADCCEC961E2916B9004 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; }; 0D02C18E16914A687A4A1AC2 /* devDebug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = devDebug.xcconfig; path = Flutter/devDebug.xcconfig; sourceTree = ""; }; 126D1370182AB44291C67A10 /* Pods-Runner.dev-release-sky.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.dev-release-sky.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.dev-release-sky.xcconfig"; sourceTree = ""; }; @@ -345,7 +350,7 @@ 97C146F01CF9000F007C117D /* Runner */ = { isa = PBXGroup; children = ( - 04C1FC562D13F1A2000C959E /* info_xhj.xcstrings */, + 04717D6B2D1B983200089BD3 /* InfoPlist.strings */, E0B3E9EC2D04B36C00907A95 /* info_dev.plist */, E0B3E9EB2D04B36C00907A95 /* info_pre.plist */, E0B3E9EA2D04B36C00907A95 /* info_sky.plist */, @@ -368,7 +373,8 @@ 82BD91212ADA72360018E523 /* CommonDefine.h */, 76C3321F45DA6AE46ED83204 /* RunnerDebug-dev.entitlements */, 16D90D130794DF74DA656999 /* RunnerRelease-sky.entitlements */, - 04BFE7142D14105500A48EC9 /* info_sky.xcstrings */, + 04717D672D1B97E100089BD3 /* InfoPlist_sky.strings */, + 04717D6F2D1B9B5A00089BD3 /* InfoPlist_xhj.strings */, ); path = Runner; sourceTree = ""; @@ -434,6 +440,7 @@ 9740EEB61CF901F6004384FC /* Run Script */, 97C146EA1CF9000F007C117D /* Sources */, 97C146EB1CF9000F007C117D /* Frameworks */, + 04717D732D1B9CCA00089BD3 /* ShellScript */, 97C146EC1CF9000F007C117D /* Resources */, 9705A1C41CF9048500538489 /* Embed Frameworks */, 3B06AD1E1E4923F5004D2608 /* Thin Binary */, @@ -490,12 +497,14 @@ 04D0CC262D06CE570042EF10 /* launchImage_xhj.png in Resources */, 82F1ED1C2BE8BA8F00265D59 /* BioAuthEngine.bundle in Resources */, 82B657692C919DA70079121C /* launchImage_sky.png in Resources */, + 04717D712D1B9B5A00089BD3 /* InfoPlist_xhj.strings in Resources */, 82F1ED1A2BE8BA7D00265D59 /* OCRXMedia.bundle in Resources */, 82F1ED182BE8BA6900265D59 /* APBToygerFacadeSuitable.bundle in Resources */, 82F1ED162BE8BA2000265D59 /* APBToygerFacade.bundle in Resources */, E0B3E9ED2D04B36C00907A95 /* info_xhj.plist in Resources */, 82F1ED142BE8B9F400265D59 /* ToygerService.bundle in Resources */, 82C026542AE8AC6D0011FE6A /* AliyunEmasServices-Info.plist in Resources */, + 04717D6D2D1B983300089BD3 /* InfoPlist.strings in Resources */, E0A496C92CA30C2C00E376BB /* xhjDevRelease.xcconfig in Resources */, 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, E0A496CD2CA30CA900E376BB /* skyDevRelease.xcconfig in Resources */, @@ -507,16 +516,15 @@ 805C745A7C79091E65665B96 /* devDebug.xcconfig in Resources */, E0B3E9EE2D04B36C00907A95 /* info_sky.plist in Resources */, D415555B0C61C5422202D037 /* devProfile.xcconfig in Resources */, - 04BFE7152D14105500A48EC9 /* info_sky.xcstrings in Resources */, 8A77CDE0EDBCACCE22C29A9E /* devRelease.xcconfig in Resources */, F0A7A6EF7D83CA92324D9C20 /* preDebug.xcconfig in Resources */, E0A496CF2CA30CEF00E376BB /* skyPreviewRelease.xcconfig in Resources */, 9C453CBFAB0703DFA762337C /* preProfile.xcconfig in Resources */, 44827AC367F1EAB110A97660 /* preRelease.xcconfig in Resources */, D7EF77645AB1C3CEEA536468 /* skyDebug.xcconfig in Resources */, - 04C1FC572D13F1A2000C959E /* info_xhj.xcstrings in Resources */, 7B54002BF45E5D8B295B6447 /* skyProfile.xcconfig in Resources */, 25B2A1422F9A2CCCBBCBBB97 /* skyRelease.xcconfig in Resources */, + 04717D692D1B97E100089BD3 /* InfoPlist_sky.strings in Resources */, ADF948FD9EE8BD1AE71F0984 /* xhjDebug.xcconfig in Resources */, E0B3E9F02D04B36D00907A95 /* info_dev.plist in Resources */, EE0A7A61CF36BC83ACA6EE3E /* xhjProfile.xcconfig in Resources */, @@ -531,6 +539,24 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ + 04717D732D1B9CCA00089BD3 /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + ); + outputFileListPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "# Type a script or drag a script file from your workspace to insert its path.\n# env\nCONFIGURATION_NAME=\"${CONFIGURATION}\"\necho \"-----===${CONFIGURATION_NAME}===------\"\nSTRINGS_FILE=\"\"\nif [[ \"$CONFIGURATION_NAME\" == *\"sky\"* ]]; then\n STRINGS_FILE=\"InfoPlist_sky.strings\"\nelif [[ \"$CONFIGURATION_NAME\" == *\"xhj\"* ]]; then\n STRINGS_FILE=\"InfoPlist_xhj.strings\"\nelse\n STRINGS_FILE=\"InfoPlist.strings\"\nfi\necho \"-----===${STRINGS_FILE}===------\"\necho \"=====${SRCROOT}====\"\nif [[ \"$STRINGS_FILE\" == \"InfoPlist.strings\" ]]; then\n echo \"=====use Default InfoPlist.strings====\"\n exit 0;\nfi\n# 替换目标目录中的 InfoPlist.strings\nfor lang in $(ls \"${SRCROOT}/Runner\" | grep .lproj); do\n echo \"-----===${lang}===------\"\n cp \"${SRCROOT}/Runner/${lang}/${STRINGS_FILE}\" \"${SRCROOT}/Runner/${lang}/InfoPlist.strings\"\ndone\n"; + }; 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; alwaysOutOfDate = 1; @@ -618,6 +644,33 @@ /* End PBXSourcesBuildPhase section */ /* Begin PBXVariantGroup section */ + 04717D672D1B97E100089BD3 /* InfoPlist_sky.strings */ = { + isa = PBXVariantGroup; + children = ( + 04717D682D1B97E100089BD3 /* zh-Hans */, + 04717D6A2D1B97E800089BD3 /* en */, + ); + name = InfoPlist_sky.strings; + sourceTree = ""; + }; + 04717D6B2D1B983200089BD3 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 04717D6C2D1B983200089BD3 /* en */, + 04717D6E2D1B983900089BD3 /* zh-Hans */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; + 04717D6F2D1B9B5A00089BD3 /* InfoPlist_xhj.strings */ = { + isa = PBXVariantGroup; + children = ( + 04717D702D1B9B5A00089BD3 /* zh-Hans */, + 04717D722D1B9B5D00089BD3 /* en */, + ); + name = InfoPlist_xhj.strings; + sourceTree = ""; + }; 97C146FA1CF9000F007C117D /* Main.storyboard */ = { isa = PBXVariantGroup; children = ( diff --git a/ios/Runner/en.lproj/InfoPlist.strings b/ios/Runner/en.lproj/InfoPlist.strings index 42bf8e95..3d31da66 100644 --- a/ios/Runner/en.lproj/InfoPlist.strings +++ b/ios/Runner/en.lproj/InfoPlist.strings @@ -1,8 +1,18 @@ /* - InfoPlist.strings + InfoPlist_xhj.strings Runner - Created by mac on 2024/11/21. + Created by Mac on 2024/12/25. */ -"AppName"="Star Lock"; +CFBundleName="StarLock"; +CFBundleDisplayName="StarLock"; +NSBluetoothAlwaysUsageDescription="The app uses bluetooth to find, connect and transfer data between different devices"; +NSBluetoothPeripheralUsageDescription="The app uses bluetooth to find, connect and transfer data between different devices"; +NSCameraUsageDescription="The application requests the camera to take photos for avatar upload and face authentication"; +NSContactsUsageDescription="Access the address book to send electronic keys to contacts in the address book"; +NSLocationAlwaysAndWhenInUseUsageDescription="updated location information when applying in the front and backend"; +NSLocationAlwaysUsageDescription="updated location information when the app is in the background"; +NSLocationWhenInUseUsageDescription="updated location information when the app is in the foreground"; +NSMicrophoneUsageDescription="request microphone for calls"; +NSPhotoLibraryUsageDescription="request photo album for avatar upload"; diff --git a/ios/Runner/en.lproj/InfoPlist_sky.strings b/ios/Runner/en.lproj/InfoPlist_sky.strings new file mode 100644 index 00000000..f735249c --- /dev/null +++ b/ios/Runner/en.lproj/InfoPlist_sky.strings @@ -0,0 +1,18 @@ +/* + InfoPlist_sky.strings + Runner + + Created by Mac on 2024/12/25. + +*/ +CFBundleName="TTLock Pro"; +CFBundleDisplayName="TTLock Pro"; +NSBluetoothAlwaysUsageDescription="The app uses bluetooth to find, connect and transfer data between different devices"; +NSBluetoothPeripheralUsageDescription="The app uses bluetooth to find, connect and transfer data between different devices"; +NSCameraUsageDescription="The application requests the camera to take photos for avatar upload and face authentication"; +NSContactsUsageDescription="Access the address book to send electronic keys to contacts in the address book"; +NSLocationAlwaysAndWhenInUseUsageDescription="updated location information when applying in the front and backend"; +NSLocationAlwaysUsageDescription="updated location information when the app is in the background"; +NSLocationWhenInUseUsageDescription="updated location information when the app is in the foreground"; +NSMicrophoneUsageDescription="request microphone for calls"; +NSPhotoLibraryUsageDescription="request photo album for avatar upload"; diff --git a/ios/Runner/en.lproj/InfoPlist_xhj.strings b/ios/Runner/en.lproj/InfoPlist_xhj.strings new file mode 100644 index 00000000..4dcbac90 --- /dev/null +++ b/ios/Runner/en.lproj/InfoPlist_xhj.strings @@ -0,0 +1,18 @@ +/* + InfoPlist_xhj.strings + Runner + + Created by Mac on 2024/12/25. + +*/ +CFBundleName="StarLock Pro"; +CFBundleDisplayName="StarLock Pro"; +NSBluetoothAlwaysUsageDescription="The app uses bluetooth to find, connect and transfer data between different devices"; +NSBluetoothPeripheralUsageDescription="The app uses bluetooth to find, connect and transfer data between different devices"; +NSCameraUsageDescription="The application requests the camera to take photos for avatar upload and face authentication"; +NSContactsUsageDescription="Access the address book to send electronic keys to contacts in the address book"; +NSLocationAlwaysAndWhenInUseUsageDescription="updated location information when applying in the front and backend"; +NSLocationAlwaysUsageDescription="updated location information when the app is in the background"; +NSLocationWhenInUseUsageDescription="updated location information when the app is in the foreground"; +NSMicrophoneUsageDescription="request microphone for calls"; +NSPhotoLibraryUsageDescription="request photo album for avatar upload"; diff --git a/ios/Runner/info_xhj.xcstrings b/ios/Runner/info_xhj.xcstrings index d037360b..449697b7 100644 --- a/ios/Runner/info_xhj.xcstrings +++ b/ios/Runner/info_xhj.xcstrings @@ -17,126 +17,6 @@ } } } - }, - "CFBundleName" : { - "comment" : "Bundle name", - "extractionState" : "extracted_with_value", - "localizations" : { - "zh-Hans" : { - "stringUnit" : { - "state" : "new", - "value" : "星锁-local" - } - } - } - }, - "NSBluetoothAlwaysUsageDescription" : { - "comment" : "Privacy - Bluetooth Always Usage Description", - "extractionState" : "extracted_with_value", - "localizations" : { - "zh-Hans" : { - "stringUnit" : { - "state" : "new", - "value" : "The app uses bluetooth to find, connect and transfer data between different devices" - } - } - } - }, - "NSBluetoothPeripheralUsageDescription" : { - "comment" : "Privacy - Bluetooth Peripheral Usage Description", - "extractionState" : "extracted_with_value", - "localizations" : { - "zh-Hans" : { - "stringUnit" : { - "state" : "new", - "value" : "The app uses bluetooth to find, connect and transfer data between different devices" - } - } - } - }, - "NSCameraUsageDescription" : { - "comment" : "Privacy - Camera Usage Description", - "extractionState" : "extracted_with_value", - "localizations" : { - "zh-Hans" : { - "stringUnit" : { - "state" : "new", - "value" : "应用请求相机,以便于拍摄照片,用于头像上传及人脸认证" - } - } - } - }, - "NSContactsUsageDescription" : { - "comment" : "Privacy - Contacts Usage Description", - "extractionState" : "extracted_with_value", - "localizations" : { - "zh-Hans" : { - "stringUnit" : { - "state" : "new", - "value" : "Reason we need access to the contact list" - } - } - } - }, - "NSLocationAlwaysAndWhenInUseUsageDescription" : { - "comment" : "Privacy - Location Always and When In Use Usage Description", - "extractionState" : "extracted_with_value", - "localizations" : { - "zh-Hans" : { - "stringUnit" : { - "state" : "new", - "value" : "应用在前台和后台的时候可以搜到更新的位置信息" - } - } - } - }, - "NSLocationAlwaysUsageDescription" : { - "comment" : "Privacy - Location Always Usage Description", - "extractionState" : "extracted_with_value", - "localizations" : { - "zh-Hans" : { - "stringUnit" : { - "state" : "new", - "value" : "应用在后台的时候可以搜到更新的位置信息" - } - } - } - }, - "NSLocationWhenInUseUsageDescription" : { - "comment" : "Privacy - Location When In Use Usage Description", - "extractionState" : "extracted_with_value", - "localizations" : { - "zh-Hans" : { - "stringUnit" : { - "state" : "new", - "value" : "应用在前台的时候可以搜到更新的位置信息" - } - } - } - }, - "NSMicrophoneUsageDescription" : { - "comment" : "Privacy - Microphone Usage Description", - "extractionState" : "extracted_with_value", - "localizations" : { - "zh-Hans" : { - "stringUnit" : { - "state" : "new", - "value" : "应用请求麦克风用来通话" - } - } - } - }, - "NSPhotoLibraryUsageDescription" : { - "comment" : "Privacy - Photo Library Usage Description", - "extractionState" : "extracted_with_value", - "localizations" : { - "zh-Hans" : { - "stringUnit" : { - "state" : "new", - "value" : "应用请求相册用于头像上传" - } - } - } } }, "version" : "1.0" diff --git a/ios/Runner/zh-Hans.lproj/InfoPlist.strings b/ios/Runner/zh-Hans.lproj/InfoPlist.strings index 5b0ee9b4..c6a9457d 100644 --- a/ios/Runner/zh-Hans.lproj/InfoPlist.strings +++ b/ios/Runner/zh-Hans.lproj/InfoPlist.strings @@ -1,8 +1,18 @@ /* - InfoPlist.strings + InfoPlist_xhj.strings Runner - Created by mac on 2024/11/21. + Created by Mac on 2024/12/25. */ -"AppName"="星锁"; +CFBundleName="星锁"; +CFBundleDisplayName="星锁"; +NSBluetoothAlwaysUsageDescription="该应用程序使用蓝牙在不同设备之间查找、连接和传输数据"; +NSBluetoothPeripheralUsageDescription="该应用程序使用蓝牙在不同设备之间查找、连接和传输数据"; +NSCameraUsageDescription="应用请求相机,以便于拍摄照片,用于头像上传及人脸认证"; +NSContactsUsageDescription="应用访问通讯录,用于给通讯录中的联系人发送电子钥匙"; +NSLocationAlwaysAndWhenInUseUsageDescription="应用在前台和后台的时候可以搜到更新的位置信息"; +NSLocationAlwaysUsageDescription="应用在后台的时候可以搜到更新的位置信息"; +NSLocationWhenInUseUsageDescription="应用在前台的时候可以搜到更新的位置信息"; +NSMicrophoneUsageDescription="应用请求麦克风用来通话"; +NSPhotoLibraryUsageDescription="应用请求相册用于头像上传"; diff --git a/ios/Runner/zh-Hans.lproj/InfoPlist_sky.strings b/ios/Runner/zh-Hans.lproj/InfoPlist_sky.strings new file mode 100644 index 00000000..94277ec2 --- /dev/null +++ b/ios/Runner/zh-Hans.lproj/InfoPlist_sky.strings @@ -0,0 +1,18 @@ +/* + InfoPlist_sky.strings + Runner + + Created by Mac on 2024/12/25. + +*/ +CFBundleName="锁通通"; +CFBundleDisplayName="锁通通"; +NSBluetoothAlwaysUsageDescription="该应用程序使用蓝牙在不同设备之间查找、连接和传输数据"; +NSBluetoothPeripheralUsageDescription="该应用程序使用蓝牙在不同设备之间查找、连接和传输数据"; +NSCameraUsageDescription="应用请求相机,以便于拍摄照片,用于头像上传及人脸认证"; +NSContactsUsageDescription="应用访问通讯录,用于给通讯录中的联系人发送电子钥匙"; +NSLocationAlwaysAndWhenInUseUsageDescription="应用在前台和后台的时候可以搜到更新的位置信息"; +NSLocationAlwaysUsageDescription="应用在后台的时候可以搜到更新的位置信息"; +NSLocationWhenInUseUsageDescription="应用在前台的时候可以搜到更新的位置信息"; +NSMicrophoneUsageDescription="应用请求麦克风用来通话"; +NSPhotoLibraryUsageDescription="应用请求相册用于头像上传"; diff --git a/ios/Runner/zh-Hans.lproj/InfoPlist_xhj.strings b/ios/Runner/zh-Hans.lproj/InfoPlist_xhj.strings new file mode 100644 index 00000000..60876642 --- /dev/null +++ b/ios/Runner/zh-Hans.lproj/InfoPlist_xhj.strings @@ -0,0 +1,18 @@ +/* + InfoPlist_xhj.strings + Runner + + Created by Mac on 2024/12/25. + +*/ +CFBundleName="星星锁"; +CFBundleDisplayName="星星锁"; +NSBluetoothAlwaysUsageDescription="该应用程序使用蓝牙在不同设备之间查找、连接和传输数据"; +NSBluetoothPeripheralUsageDescription="该应用程序使用蓝牙在不同设备之间查找、连接和传输数据"; +NSCameraUsageDescription="应用请求相机,以便于拍摄照片,用于头像上传及人脸认证"; +NSContactsUsageDescription="应用访问通讯录,用于给通讯录中的联系人发送电子钥匙"; +NSLocationAlwaysAndWhenInUseUsageDescription="应用在前台和后台的时候可以搜到更新的位置信息"; +NSLocationAlwaysUsageDescription="应用在后台的时候可以搜到更新的位置信息"; +NSLocationWhenInUseUsageDescription="应用在前台的时候可以搜到更新的位置信息"; +NSMicrophoneUsageDescription="应用请求麦克风用来通话"; +NSPhotoLibraryUsageDescription="应用请求相册用于头像上传";