Skip to content

Commit 7c27c76

Browse files
committed
Xcode 8 - iOS 10
1 parent 5d30a47 commit 7c27c76

File tree

3 files changed

+22
-1
lines changed

3 files changed

+22
-1
lines changed

Coding_iOS.xcodeproj/project.pbxproj

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2042,6 +2042,7 @@
20422042
4EBDA87A1A6640340035ED96 /* UIActionSheet+Common.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIActionSheet+Common.h"; sourceTree = "<group>"; };
20432043
4EBDA87B1A6640340035ED96 /* UIActionSheet+Common.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIActionSheet+Common.m"; sourceTree = "<group>"; };
20442044
4EBDC27A1BC501C00037EB66 /* tipIcon_ProjectPayment@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "tipIcon_ProjectPayment@2x.png"; sourceTree = "<group>"; };
2045+
4EBED55A1D93C9F700E3684E /* Coding_iOS.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Coding_iOS.entitlements; sourceTree = "<group>"; };
20452046
4EBFBD171AA85B8500E4B10E /* add_user_icon@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "add_user_icon@2x.png"; sourceTree = "<group>"; };
20462047
4EC461AB1B39084100D08970 /* FunctionTipsManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FunctionTipsManager.h; sourceTree = "<group>"; };
20472048
4EC461AC1B39084100D08970 /* FunctionTipsManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FunctionTipsManager.m; sourceTree = "<group>"; };
@@ -4643,6 +4644,7 @@
46434644
8EA6CF1319E240C40076D59C /* Coding_iOS */ = {
46444645
isa = PBXGroup;
46454646
children = (
4647+
4EBED55A1D93C9F700E3684E /* Coding_iOS.entitlements */,
46464648
8EA6CFC619E240C40076D59C /* main.m */,
46474649
8EA6CF1519E240C40076D59C /* AppDelegate.h */,
46484650
8EA6CF1619E240C40076D59C /* AppDelegate.m */,
@@ -5824,6 +5826,9 @@
58245826
com.apple.BackgroundModes = {
58255827
enabled = 0;
58265828
};
5829+
com.apple.Push = {
5830+
enabled = 1;
5831+
};
58275832
};
58285833
};
58295834
};
@@ -7165,6 +7170,7 @@
71657170
buildSettings = {
71667171
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
71677172
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
7173+
CODE_SIGN_ENTITLEMENTS = Coding_iOS/Coding_iOS.entitlements;
71687174
CODE_SIGN_IDENTITY = "iPhone Developer";
71697175
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
71707176
DEBUG_INFORMATION_FORMAT = dwarf;
@@ -7204,6 +7210,7 @@
72047210
buildSettings = {
72057211
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
72067212
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
7213+
CODE_SIGN_ENTITLEMENTS = Coding_iOS/Coding_iOS.entitlements;
72077214
CODE_SIGN_IDENTITY = "iPhone Developer";
72087215
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
72097216
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";

Coding_iOS/Coding_iOS-Info.plist

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
</dict>
3737
</array>
3838
<key>CFBundleVersion</key>
39-
<string>4.0.201606011800</string>
39+
<string>4.0.201609221600</string>
4040
<key>ITSAppUsesNonExemptEncryption</key>
4141
<false/>
4242
<key>LSApplicationQueriesSchemes</key>
@@ -107,5 +107,11 @@
107107
</array>
108108
<key>UIViewControllerBasedStatusBarAppearance</key>
109109
<false/>
110+
<key>NSCameraUsageDescription</key>
111+
<string>我们需要您的同意才能使用相机</string>
112+
<key>NSPhotoLibraryUsageDescription</key>
113+
<string>我们需要您的同意才能读取您的照片</string>
114+
<key>NSMicrophoneUsageDescription</key>
115+
<string>我们需要您的同意才能使用麦克风</string>
110116
</dict>
111117
</plist>

Coding_iOS/Coding_iOS.entitlements

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
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+
<key>aps-environment</key>
6+
<string>development</string>
7+
</dict>
8+
</plist>

0 commit comments

Comments
 (0)