Skip to content

Commit 4c3fb4c

Browse files
committed
chore: clean up Info.plist and entitlements, update project.pbxproj references
1 parent 868a109 commit 4c3fb4c

3 files changed

Lines changed: 30 additions & 35 deletions

File tree

example/ios/ReactNativeSdkExample.xcodeproj/project.pbxproj

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
/* Begin PBXBuildFile section */
1010
00E356F31AD99517003FC87E /* ReactNativeSdkExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* ReactNativeSdkExampleTests.m */; };
1111
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
12-
4A7F7036500DF3DAF3004BAD /* libPods-ReactNativeSdkExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 01856097CF2EA080C5E1EE51 /* libPods-ReactNativeSdkExample.a */; };
12+
5501F9E2D489B695999030B9 /* libPods-ReactNativeSdkExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C407491B96F3239D3FA319BA /* libPods-ReactNativeSdkExample.a */; };
1313
779227342DFA3FB500D69EC0 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 779227332DFA3FB500D69EC0 /* AppDelegate.swift */; };
1414
77E3B5772EA71A4B001449CE /* IterableJwtGenerator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 77E3B5742EA71A4B001449CE /* IterableJwtGenerator.swift */; };
1515
77E3B5782EA71A4B001449CE /* JwtTokenModule.mm in Sources */ = {isa = PBXBuildFile; fileRef = 77E3B5752EA71A4B001449CE /* JwtTokenModule.mm */; };
@@ -32,22 +32,22 @@
3232
00E356EE1AD99517003FC87E /* ReactNativeSdkExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ReactNativeSdkExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
3333
00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
3434
00E356F21AD99517003FC87E /* ReactNativeSdkExampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ReactNativeSdkExampleTests.m; sourceTree = "<group>"; };
35-
01856097CF2EA080C5E1EE51 /* libPods-ReactNativeSdkExample.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-ReactNativeSdkExample.a"; sourceTree = BUILT_PRODUCTS_DIR; };
3635
13B07F961A680F5B00A75B9A /* ReactNativeSdkExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ReactNativeSdkExample.app; sourceTree = BUILT_PRODUCTS_DIR; };
3736
13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = ReactNativeSdkExample/Images.xcassets; sourceTree = "<group>"; };
3837
13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = ReactNativeSdkExample/Info.plist; sourceTree = "<group>"; };
3938
13B07FB71A68108700A75B9A /* ReactNativeSdkExample.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.entitlements; name = ReactNativeSdkExample.entitlements; path = ReactNativeSdkExample/ReactNativeSdkExample.entitlements; sourceTree = "<group>"; };
4039
13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = PrivacyInfo.xcprivacy; path = ReactNativeSdkExample/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
4140
1FC6B09E65A7BD9F6864C5D8 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xml; name = PrivacyInfo.xcprivacy; path = ReactNativeSdkExample/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
42-
68C3783E340D622A535D62AE /* Pods-ReactNativeSdkExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ReactNativeSdkExample.debug.xcconfig"; path = "Target Support Files/Pods-ReactNativeSdkExample/Pods-ReactNativeSdkExample.debug.xcconfig"; sourceTree = "<group>"; };
4341
779227312DFA3FB500D69EC0 /* ReactNativeSdkExample-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ReactNativeSdkExample-Bridging-Header.h"; sourceTree = "<group>"; };
4442
779227322DFA3FB500D69EC0 /* ReactNativeSdkExampleTests-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ReactNativeSdkExampleTests-Bridging-Header.h"; sourceTree = "<group>"; };
4543
779227332DFA3FB500D69EC0 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = AppDelegate.swift; path = ReactNativeSdkExample/AppDelegate.swift; sourceTree = "<group>"; };
4644
77E3B5742EA71A4B001449CE /* IterableJwtGenerator.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = IterableJwtGenerator.swift; sourceTree = "<group>"; };
4745
77E3B5752EA71A4B001449CE /* JwtTokenModule.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = JwtTokenModule.mm; sourceTree = "<group>"; };
4846
77E3B5762EA71A4B001449CE /* JwtTokenModule.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = JwtTokenModule.swift; sourceTree = "<group>"; };
4947
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = ReactNativeSdkExample/LaunchScreen.storyboard; sourceTree = "<group>"; };
50-
A0A99AFB521B60001D3191A3 /* Pods-ReactNativeSdkExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ReactNativeSdkExample.release.xcconfig"; path = "Target Support Files/Pods-ReactNativeSdkExample/Pods-ReactNativeSdkExample.release.xcconfig"; sourceTree = "<group>"; };
48+
B21CBA84AB4D219A875C6609 /* Pods-ReactNativeSdkExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ReactNativeSdkExample.release.xcconfig"; path = "Target Support Files/Pods-ReactNativeSdkExample/Pods-ReactNativeSdkExample.release.xcconfig"; sourceTree = "<group>"; };
49+
C407491B96F3239D3FA319BA /* libPods-ReactNativeSdkExample.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-ReactNativeSdkExample.a"; sourceTree = BUILT_PRODUCTS_DIR; };
50+
CF0932DA81E6EDCE2122946B /* Pods-ReactNativeSdkExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ReactNativeSdkExample.debug.xcconfig"; path = "Target Support Files/Pods-ReactNativeSdkExample/Pods-ReactNativeSdkExample.debug.xcconfig"; sourceTree = "<group>"; };
5151
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
5252
/* End PBXFileReference section */
5353

@@ -63,7 +63,7 @@
6363
isa = PBXFrameworksBuildPhase;
6464
buildActionMask = 2147483647;
6565
files = (
66-
4A7F7036500DF3DAF3004BAD /* libPods-ReactNativeSdkExample.a in Frameworks */,
66+
5501F9E2D489B695999030B9 /* libPods-ReactNativeSdkExample.a in Frameworks */,
6767
);
6868
runOnlyForDeploymentPostprocessing = 0;
6969
};
@@ -107,7 +107,7 @@
107107
isa = PBXGroup;
108108
children = (
109109
ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
110-
01856097CF2EA080C5E1EE51 /* libPods-ReactNativeSdkExample.a */,
110+
C407491B96F3239D3FA319BA /* libPods-ReactNativeSdkExample.a */,
111111
);
112112
name = Frameworks;
113113
sourceTree = "<group>";
@@ -149,8 +149,8 @@
149149
BBD78D7AC51CEA395F1C20DB /* Pods */ = {
150150
isa = PBXGroup;
151151
children = (
152-
68C3783E340D622A535D62AE /* Pods-ReactNativeSdkExample.debug.xcconfig */,
153-
A0A99AFB521B60001D3191A3 /* Pods-ReactNativeSdkExample.release.xcconfig */,
152+
CF0932DA81E6EDCE2122946B /* Pods-ReactNativeSdkExample.debug.xcconfig */,
153+
B21CBA84AB4D219A875C6609 /* Pods-ReactNativeSdkExample.release.xcconfig */,
154154
);
155155
path = Pods;
156156
sourceTree = "<group>";
@@ -180,13 +180,13 @@
180180
isa = PBXNativeTarget;
181181
buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "ReactNativeSdkExample" */;
182182
buildPhases = (
183-
32A8010D6F8AC4ED60F6C361 /* [CP] Check Pods Manifest.lock */,
183+
8BB77450C2101562A7B06FF2 /* [CP] Check Pods Manifest.lock */,
184184
13B07F871A680F5B00A75B9A /* Sources */,
185185
13B07F8C1A680F5B00A75B9A /* Frameworks */,
186186
13B07F8E1A680F5B00A75B9A /* Resources */,
187187
00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
188-
7236575B738F319BB76459BD /* [CP] Embed Pods Frameworks */,
189-
029780C9D3AA5F360FBA8EE1 /* [CP] Copy Pods Resources */,
188+
C8FD75D6011148FDDE4136F1 /* [CP] Embed Pods Frameworks */,
189+
B55A06BA11FAFC83DD873B8D /* [CP] Copy Pods Resources */,
190190
);
191191
buildRules = (
192192
);
@@ -271,46 +271,46 @@
271271
shellPath = /bin/sh;
272272
shellScript = "set -e\n\nWITH_ENVIRONMENT=\"$REACT_NATIVE_PATH/scripts/xcode/with-environment.sh\"\nREACT_NATIVE_XCODE=\"$REACT_NATIVE_PATH/scripts/react-native-xcode.sh\"\n\n/bin/sh -c \"$WITH_ENVIRONMENT $REACT_NATIVE_XCODE\"\n";
273273
};
274-
029780C9D3AA5F360FBA8EE1 /* [CP] Copy Pods Resources */ = {
274+
8BB77450C2101562A7B06FF2 /* [CP] Check Pods Manifest.lock */ = {
275275
isa = PBXShellScriptBuildPhase;
276276
buildActionMask = 2147483647;
277277
files = (
278278
);
279279
inputFileListPaths = (
280-
"${PODS_ROOT}/Target Support Files/Pods-ReactNativeSdkExample/Pods-ReactNativeSdkExample-resources-${CONFIGURATION}-input-files.xcfilelist",
281280
);
282-
name = "[CP] Copy Pods Resources";
281+
inputPaths = (
282+
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
283+
"${PODS_ROOT}/Manifest.lock",
284+
);
285+
name = "[CP] Check Pods Manifest.lock";
283286
outputFileListPaths = (
284-
"${PODS_ROOT}/Target Support Files/Pods-ReactNativeSdkExample/Pods-ReactNativeSdkExample-resources-${CONFIGURATION}-output-files.xcfilelist",
287+
);
288+
outputPaths = (
289+
"$(DERIVED_FILE_DIR)/Pods-ReactNativeSdkExample-checkManifestLockResult.txt",
285290
);
286291
runOnlyForDeploymentPostprocessing = 0;
287292
shellPath = /bin/sh;
288-
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ReactNativeSdkExample/Pods-ReactNativeSdkExample-resources.sh\"\n";
293+
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
289294
showEnvVarsInLog = 0;
290295
};
291-
32A8010D6F8AC4ED60F6C361 /* [CP] Check Pods Manifest.lock */ = {
296+
B55A06BA11FAFC83DD873B8D /* [CP] Copy Pods Resources */ = {
292297
isa = PBXShellScriptBuildPhase;
293298
buildActionMask = 2147483647;
294299
files = (
295300
);
296301
inputFileListPaths = (
302+
"${PODS_ROOT}/Target Support Files/Pods-ReactNativeSdkExample/Pods-ReactNativeSdkExample-resources-${CONFIGURATION}-input-files.xcfilelist",
297303
);
298-
inputPaths = (
299-
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
300-
"${PODS_ROOT}/Manifest.lock",
301-
);
302-
name = "[CP] Check Pods Manifest.lock";
304+
name = "[CP] Copy Pods Resources";
303305
outputFileListPaths = (
304-
);
305-
outputPaths = (
306-
"$(DERIVED_FILE_DIR)/Pods-ReactNativeSdkExample-checkManifestLockResult.txt",
306+
"${PODS_ROOT}/Target Support Files/Pods-ReactNativeSdkExample/Pods-ReactNativeSdkExample-resources-${CONFIGURATION}-output-files.xcfilelist",
307307
);
308308
runOnlyForDeploymentPostprocessing = 0;
309309
shellPath = /bin/sh;
310-
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
310+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ReactNativeSdkExample/Pods-ReactNativeSdkExample-resources.sh\"\n";
311311
showEnvVarsInLog = 0;
312312
};
313-
7236575B738F319BB76459BD /* [CP] Embed Pods Frameworks */ = {
313+
C8FD75D6011148FDDE4136F1 /* [CP] Embed Pods Frameworks */ = {
314314
isa = PBXShellScriptBuildPhase;
315315
buildActionMask = 2147483647;
316316
files = (
@@ -420,7 +420,7 @@
420420
};
421421
13B07F941A680F5B00A75B9A /* Debug */ = {
422422
isa = XCBuildConfiguration;
423-
baseConfigurationReference = 68C3783E340D622A535D62AE /* Pods-ReactNativeSdkExample.debug.xcconfig */;
423+
baseConfigurationReference = CF0932DA81E6EDCE2122946B /* Pods-ReactNativeSdkExample.debug.xcconfig */;
424424
buildSettings = {
425425
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
426426
CLANG_ENABLE_MODULES = YES;
@@ -451,7 +451,7 @@
451451
};
452452
13B07F951A680F5B00A75B9A /* Release */ = {
453453
isa = XCBuildConfiguration;
454-
baseConfigurationReference = A0A99AFB521B60001D3191A3 /* Pods-ReactNativeSdkExample.release.xcconfig */;
454+
baseConfigurationReference = B21CBA84AB4D219A875C6609 /* Pods-ReactNativeSdkExample.release.xcconfig */;
455455
buildSettings = {
456456
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
457457
CLANG_ENABLE_MODULES = YES;

example/ios/ReactNativeSdkExample/Info.plist

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@
3535
<key>NSAllowsLocalNetworking</key>
3636
<true/>
3737
</dict>
38-
<key>NSLocationWhenInUseUsageDescription</key>
39-
<string></string>
4038
<key>RCTNewArchEnabled</key>
4139
<true/>
4240
<key>UILaunchStoryboardName</key>
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
4-
<dict>
5-
<key>com.apple.developer.web-browser</key>
6-
<true/>
7-
</dict>
4+
<dict/>
85
</plist>

0 commit comments

Comments
 (0)