Kaynağa Gözat

Update iOS example

Mathieu Acthernoene 5 yıl önce
ebeveyn
işleme
98e0d770a3

+ 9
- 2
example/ios/RNPermissionsExample.xcodeproj/project.pbxproj Dosyayı Görüntüle

@@ -125,6 +125,11 @@
125 125
 			attributes = {
126 126
 				LastUpgradeCheck = 0940;
127 127
 				ORGANIZATIONNAME = Facebook;
128
+				TargetAttributes = {
129
+					13B07F861A680F5B00A75B9A = {
130
+						DevelopmentTeam = 745449BDR9;
131
+					};
132
+				};
128 133
 			};
129 134
 			buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "RNPermissionsExample" */;
130 135
 			compatibilityVersion = "Xcode 3.2";
@@ -247,6 +252,7 @@
247 252
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
248 253
 				CURRENT_PROJECT_VERSION = 1;
249 254
 				DEAD_CODE_STRIPPING = NO;
255
+				DEVELOPMENT_TEAM = 745449BDR9;
250 256
 				INFOPLIST_FILE = RNPermissionsExample/Info.plist;
251 257
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
252 258
 				OTHER_LDFLAGS = (
@@ -254,7 +260,7 @@
254 260
 					"-ObjC",
255 261
 					"-lc++",
256 262
 				);
257
-				PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
263
+				PRODUCT_BUNDLE_IDENTIFIER = com.reactnativecommunity.rnpermissionsexample;
258 264
 				PRODUCT_NAME = RNPermissionsExample;
259 265
 				VERSIONING_SYSTEM = "apple-generic";
260 266
 			};
@@ -266,6 +272,7 @@
266 272
 			buildSettings = {
267 273
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
268 274
 				CURRENT_PROJECT_VERSION = 1;
275
+				DEVELOPMENT_TEAM = 745449BDR9;
269 276
 				INFOPLIST_FILE = RNPermissionsExample/Info.plist;
270 277
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
271 278
 				OTHER_LDFLAGS = (
@@ -273,7 +280,7 @@
273 280
 					"-ObjC",
274 281
 					"-lc++",
275 282
 				);
276
-				PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
283
+				PRODUCT_BUNDLE_IDENTIFIER = com.reactnativecommunity.rnpermissionsexample;
277 284
 				PRODUCT_NAME = RNPermissionsExample;
278 285
 				VERSIONING_SYSTEM = "apple-generic";
279 286
 			};

+ 2
- 4
example/ios/RNPermissionsExample/Info.plist Dosyayı Görüntüle

@@ -53,14 +53,14 @@
53 53
 	<string>test</string>
54 54
 	<key>NSMicrophoneUsageDescription</key>
55 55
 	<string>6.0</string>
56
+	<key>NSMotionUsageDescription</key>
57
+	<string>test</string>
56 58
 	<key>NSPhotoLibraryUsageDescription</key>
57 59
 	<string>test</string>
58 60
 	<key>NSRemindersUsageDescription</key>
59 61
 	<string>test</string>
60 62
 	<key>NSSpeechRecognitionUsageDescription</key>
61 63
 	<string>test</string>
62
-	<key>NSMotionUsageDescription</key>
63
-	<string>test</string>
64 64
 	<key>UIBackgroundModes</key>
65 65
 	<array>
66 66
 		<string>bluetooth-peripheral</string>
@@ -76,8 +76,6 @@
76 76
 	<key>UISupportedInterfaceOrientations</key>
77 77
 	<array>
78 78
 		<string>UIInterfaceOrientationPortrait</string>
79
-		<string>UIInterfaceOrientationLandscapeLeft</string>
80
-		<string>UIInterfaceOrientationLandscapeRight</string>
81 79
 	</array>
82 80
 	<key>UIViewControllerBasedStatusBarAppearance</key>
83 81
 	<false/>