Skip to content

Commit 98e0d77

Browse files
committed
Update iOS example
1 parent 2ec6dec commit 98e0d77

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

example/ios/RNPermissionsExample.xcodeproj/project.pbxproj

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,11 @@
125125
attributes = {
126126
LastUpgradeCheck = 0940;
127127
ORGANIZATIONNAME = Facebook;
128+
TargetAttributes = {
129+
13B07F861A680F5B00A75B9A = {
130+
DevelopmentTeam = 745449BDR9;
131+
};
132+
};
128133
};
129134
buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "RNPermissionsExample" */;
130135
compatibilityVersion = "Xcode 3.2";
@@ -247,14 +252,15 @@
247252
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
248253
CURRENT_PROJECT_VERSION = 1;
249254
DEAD_CODE_STRIPPING = NO;
255+
DEVELOPMENT_TEAM = 745449BDR9;
250256
INFOPLIST_FILE = RNPermissionsExample/Info.plist;
251257
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
252258
OTHER_LDFLAGS = (
253259
"$(inherited)",
254260
"-ObjC",
255261
"-lc++",
256262
);
257-
PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
263+
PRODUCT_BUNDLE_IDENTIFIER = com.reactnativecommunity.rnpermissionsexample;
258264
PRODUCT_NAME = RNPermissionsExample;
259265
VERSIONING_SYSTEM = "apple-generic";
260266
};
@@ -266,14 +272,15 @@
266272
buildSettings = {
267273
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
268274
CURRENT_PROJECT_VERSION = 1;
275+
DEVELOPMENT_TEAM = 745449BDR9;
269276
INFOPLIST_FILE = RNPermissionsExample/Info.plist;
270277
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
271278
OTHER_LDFLAGS = (
272279
"$(inherited)",
273280
"-ObjC",
274281
"-lc++",
275282
);
276-
PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
283+
PRODUCT_BUNDLE_IDENTIFIER = com.reactnativecommunity.rnpermissionsexample;
277284
PRODUCT_NAME = RNPermissionsExample;
278285
VERSIONING_SYSTEM = "apple-generic";
279286
};

example/ios/RNPermissionsExample/Info.plist

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,14 @@
5353
<string>test</string>
5454
<key>NSMicrophoneUsageDescription</key>
5555
<string>6.0</string>
56+
<key>NSMotionUsageDescription</key>
57+
<string>test</string>
5658
<key>NSPhotoLibraryUsageDescription</key>
5759
<string>test</string>
5860
<key>NSRemindersUsageDescription</key>
5961
<string>test</string>
6062
<key>NSSpeechRecognitionUsageDescription</key>
6163
<string>test</string>
62-
<key>NSMotionUsageDescription</key>
63-
<string>test</string>
6464
<key>UIBackgroundModes</key>
6565
<array>
6666
<string>bluetooth-peripheral</string>
@@ -76,8 +76,6 @@
7676
<key>UISupportedInterfaceOrientations</key>
7777
<array>
7878
<string>UIInterfaceOrientationPortrait</string>
79-
<string>UIInterfaceOrientationLandscapeLeft</string>
80-
<string>UIInterfaceOrientationLandscapeRight</string>
8179
</array>
8280
<key>UIViewControllerBasedStatusBarAppearance</key>
8381
<false/>

0 commit comments

Comments
 (0)