Skip to content

Commit e009825

Browse files
author
tangrui
committed
Merge branch 'develop' into main
2 parents 64b04d8 + 2aec127 commit e009825

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

ios/Runner.xcodeproj/project.pbxproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
1FF7CE0C2A3AFAA700F1583C /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/LaunchScreen.strings"; sourceTree = "<group>"; };
4242
1FF7CE102A3AFB0F00F1583C /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
4343
1FF7CE122A3AFB1B00F1583C /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/InfoPlist.strings"; sourceTree = "<group>"; };
44+
1FF7CE142A3CAEDC00F1583C /* Runner.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Runner.entitlements; sourceTree = "<group>"; };
4445
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };
4546
3FEFB3ED9E4702A4F206B34C /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
4647
74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = "<group>"; };
@@ -117,6 +118,7 @@
117118
97C146F01CF9000F007C117D /* Runner */ = {
118119
isa = PBXGroup;
119120
children = (
121+
1FF7CE142A3CAEDC00F1583C /* Runner.entitlements */,
120122
1FB55A1A2A0B735C00E8271B /* AppSupportFiles */,
121123
97C146FA1CF9000F007C117D /* Main.storyboard */,
122124
97C146FD1CF9000F007C117D /* Assets.xcassets */,
@@ -389,6 +391,7 @@
389391
buildSettings = {
390392
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
391393
CLANG_ENABLE_MODULES = YES;
394+
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
392395
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
393396
DEVELOPMENT_TEAM = W7TC5X9L5S;
394397
ENABLE_BITCODE = NO;
@@ -528,6 +531,7 @@
528531
buildSettings = {
529532
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
530533
CLANG_ENABLE_MODULES = YES;
534+
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
531535
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
532536
DEVELOPMENT_TEAM = W7TC5X9L5S;
533537
ENABLE_BITCODE = NO;
@@ -559,6 +563,7 @@
559563
buildSettings = {
560564
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
561565
CLANG_ENABLE_MODULES = YES;
566+
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
562567
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
563568
DEVELOPMENT_TEAM = W7TC5X9L5S;
564569
ENABLE_BITCODE = NO;

ios/Runner/Info.plist

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,11 @@
2323
<true/>
2424
<key>UIApplicationSupportsIndirectInputEvents</key>
2525
<true/>
26+
<key>NSPhotoLibraryUsageDescription</key>
27+
<string>上传图片/视频功能需要您授予相册访问权限</string>
28+
<key>NSCameraUsageDescription</key>
29+
<string>拍照/拍视频上传功能需要您授予相机权限</string>
30+
<key>NSMicrophoneUsageDescription</key>
31+
<string>录视频/录音上传功能需要您授予麦克风权限</string>
2632
</dict>
2733
</plist>

ios/Runner/Runner.entitlements

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict/>
5+
</plist>

0 commit comments

Comments
 (0)