Skip to content

Commit 23a9e79

Browse files
committed
chore: update Xcode project configuration to include CocoaPods build phases and settings
1 parent 0bb4a24 commit 23a9e79

File tree

1 file changed

+69
-0
lines changed

1 file changed

+69
-0
lines changed

example/ios/ReactNativeSdkExample.xcodeproj/project.pbxproj

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
779227342DFA3FB500D69EC0 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 779227332DFA3FB500D69EC0 /* AppDelegate.swift */; };
1313
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
1414
A3A40C20801B8F02005FA4C0 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 1FC6B09E65A7BD9F6864C5D8 /* PrivacyInfo.xcprivacy */; };
15+
C44ACECC9AF4C133F6AA90BB /* libPods-ReactNativeSdkExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3FDE7B97F1D85673BE213502 /* libPods-ReactNativeSdkExample.a */; };
1516
/* End PBXBuildFile section */
1617

1718
/* Begin PBXContainerItemProxy section */
@@ -33,6 +34,9 @@
3334
13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = ReactNativeSdkExample/Info.plist; sourceTree = "<group>"; };
3435
13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = PrivacyInfo.xcprivacy; path = ReactNativeSdkExample/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
3536
1FC6B09E65A7BD9F6864C5D8 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xml; name = PrivacyInfo.xcprivacy; path = ReactNativeSdkExample/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
37+
2659F7AEA92EF5F6D507914F /* 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>"; };
38+
26BBADD2F086D341C535B27B /* 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>"; };
39+
3FDE7B97F1D85673BE213502 /* libPods-ReactNativeSdkExample.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-ReactNativeSdkExample.a"; sourceTree = BUILT_PRODUCTS_DIR; };
3640
779227312DFA3FB500D69EC0 /* ReactNativeSdkExample-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ReactNativeSdkExample-Bridging-Header.h"; sourceTree = "<group>"; };
3741
779227322DFA3FB500D69EC0 /* ReactNativeSdkExampleTests-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ReactNativeSdkExampleTests-Bridging-Header.h"; sourceTree = "<group>"; };
3842
779227332DFA3FB500D69EC0 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = AppDelegate.swift; path = ReactNativeSdkExample/AppDelegate.swift; sourceTree = "<group>"; };
@@ -52,6 +56,7 @@
5256
isa = PBXFrameworksBuildPhase;
5357
buildActionMask = 2147483647;
5458
files = (
59+
C44ACECC9AF4C133F6AA90BB /* libPods-ReactNativeSdkExample.a in Frameworks */,
5560
);
5661
runOnlyForDeploymentPostprocessing = 0;
5762
};
@@ -94,6 +99,7 @@
9499
isa = PBXGroup;
95100
children = (
96101
ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
102+
3FDE7B97F1D85673BE213502 /* libPods-ReactNativeSdkExample.a */,
97103
);
98104
name = Frameworks;
99105
sourceTree = "<group>";
@@ -132,6 +138,8 @@
132138
BBD78D7AC51CEA395F1C20DB /* Pods */ = {
133139
isa = PBXGroup;
134140
children = (
141+
26BBADD2F086D341C535B27B /* Pods-ReactNativeSdkExample.debug.xcconfig */,
142+
2659F7AEA92EF5F6D507914F /* Pods-ReactNativeSdkExample.release.xcconfig */,
135143
);
136144
path = Pods;
137145
sourceTree = "<group>";
@@ -161,10 +169,13 @@
161169
isa = PBXNativeTarget;
162170
buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "ReactNativeSdkExample" */;
163171
buildPhases = (
172+
CA97E382C6B453F847C13176 /* [CP] Check Pods Manifest.lock */,
164173
13B07F871A680F5B00A75B9A /* Sources */,
165174
13B07F8C1A680F5B00A75B9A /* Frameworks */,
166175
13B07F8E1A680F5B00A75B9A /* Resources */,
167176
00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
177+
89B6BEF2485B9536DDD45973 /* [CP] Embed Pods Frameworks */,
178+
24A6D3DBDA584D8F55796A6D /* [CP] Copy Pods Resources */,
168179
);
169180
buildRules = (
170181
);
@@ -249,6 +260,62 @@
249260
shellPath = /bin/sh;
250261
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";
251262
};
263+
24A6D3DBDA584D8F55796A6D /* [CP] Copy Pods Resources */ = {
264+
isa = PBXShellScriptBuildPhase;
265+
buildActionMask = 2147483647;
266+
files = (
267+
);
268+
inputFileListPaths = (
269+
"${PODS_ROOT}/Target Support Files/Pods-ReactNativeSdkExample/Pods-ReactNativeSdkExample-resources-${CONFIGURATION}-input-files.xcfilelist",
270+
);
271+
name = "[CP] Copy Pods Resources";
272+
outputFileListPaths = (
273+
"${PODS_ROOT}/Target Support Files/Pods-ReactNativeSdkExample/Pods-ReactNativeSdkExample-resources-${CONFIGURATION}-output-files.xcfilelist",
274+
);
275+
runOnlyForDeploymentPostprocessing = 0;
276+
shellPath = /bin/sh;
277+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ReactNativeSdkExample/Pods-ReactNativeSdkExample-resources.sh\"\n";
278+
showEnvVarsInLog = 0;
279+
};
280+
89B6BEF2485B9536DDD45973 /* [CP] Embed Pods Frameworks */ = {
281+
isa = PBXShellScriptBuildPhase;
282+
buildActionMask = 2147483647;
283+
files = (
284+
);
285+
inputFileListPaths = (
286+
"${PODS_ROOT}/Target Support Files/Pods-ReactNativeSdkExample/Pods-ReactNativeSdkExample-frameworks-${CONFIGURATION}-input-files.xcfilelist",
287+
);
288+
name = "[CP] Embed Pods Frameworks";
289+
outputFileListPaths = (
290+
"${PODS_ROOT}/Target Support Files/Pods-ReactNativeSdkExample/Pods-ReactNativeSdkExample-frameworks-${CONFIGURATION}-output-files.xcfilelist",
291+
);
292+
runOnlyForDeploymentPostprocessing = 0;
293+
shellPath = /bin/sh;
294+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ReactNativeSdkExample/Pods-ReactNativeSdkExample-frameworks.sh\"\n";
295+
showEnvVarsInLog = 0;
296+
};
297+
CA97E382C6B453F847C13176 /* [CP] Check Pods Manifest.lock */ = {
298+
isa = PBXShellScriptBuildPhase;
299+
buildActionMask = 2147483647;
300+
files = (
301+
);
302+
inputFileListPaths = (
303+
);
304+
inputPaths = (
305+
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
306+
"${PODS_ROOT}/Manifest.lock",
307+
);
308+
name = "[CP] Check Pods Manifest.lock";
309+
outputFileListPaths = (
310+
);
311+
outputPaths = (
312+
"$(DERIVED_FILE_DIR)/Pods-ReactNativeSdkExample-checkManifestLockResult.txt",
313+
);
314+
runOnlyForDeploymentPostprocessing = 0;
315+
shellPath = /bin/sh;
316+
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";
317+
showEnvVarsInLog = 0;
318+
};
252319
/* End PBXShellScriptBuildPhase section */
253320

254321
/* Begin PBXSourcesBuildPhase section */
@@ -339,6 +406,7 @@
339406
};
340407
13B07F941A680F5B00A75B9A /* Debug */ = {
341408
isa = XCBuildConfiguration;
409+
baseConfigurationReference = 26BBADD2F086D341C535B27B /* Pods-ReactNativeSdkExample.debug.xcconfig */;
342410
buildSettings = {
343411
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
344412
CLANG_ENABLE_MODULES = YES;
@@ -368,6 +436,7 @@
368436
};
369437
13B07F951A680F5B00A75B9A /* Release */ = {
370438
isa = XCBuildConfiguration;
439+
baseConfigurationReference = 2659F7AEA92EF5F6D507914F /* Pods-ReactNativeSdkExample.release.xcconfig */;
371440
buildSettings = {
372441
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
373442
CLANG_ENABLE_MODULES = YES;

0 commit comments

Comments
 (0)