Skip to content

Commit 697203b

Browse files
Update sample app build stages
1 parent d90c48c commit 697203b

File tree

1 file changed

+11
-19
lines changed

1 file changed

+11
-19
lines changed

InstabugSample/ios/InstabugSample.xcodeproj/project.pbxproj

Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,8 @@
215215
13B07F8C1A680F5B00A75B9A /* Frameworks */,
216216
13B07F8E1A680F5B00A75B9A /* Resources */,
217217
00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
218-
21BA34F4E1FA153B4E4FB519 /* Upload Sourcemap */,
219218
A4F6B49E8609FD1652D0F43E /* [CP] Embed Pods Frameworks */,
219+
EB2EABBB5C10A5C0D7276A8A /* [CP-User] [instabug-reactnative] Upload Sourcemap */,
220220
);
221221
buildRules = (
222222
);
@@ -299,24 +299,6 @@
299299
shellPath = /bin/sh;
300300
shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh\n";
301301
};
302-
21BA34F4E1FA153B4E4FB519 /* Upload Sourcemap */ = {
303-
isa = PBXShellScriptBuildPhase;
304-
buildActionMask = 2147483647;
305-
files = (
306-
);
307-
inputFileListPaths = (
308-
);
309-
inputPaths = (
310-
);
311-
name = "Upload Sourcemap";
312-
outputFileListPaths = (
313-
);
314-
outputPaths = (
315-
);
316-
runOnlyForDeploymentPostprocessing = 1;
317-
shellPath = /bin/sh;
318-
shellScript = "export INSTABUG_APP_TOKEN=\"YOUR_APP_TOKEN\"\nbash \"../node_modules/instabug-reactnative/ios/upload_sourcemap.sh\"\n";
319-
};
320302
79262244E33DD37263C24F3E /* [CP] Check Pods Manifest.lock */ = {
321303
isa = PBXShellScriptBuildPhase;
322304
buildActionMask = 2147483647;
@@ -379,6 +361,16 @@
379361
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";
380362
showEnvVarsInLog = 0;
381363
};
364+
EB2EABBB5C10A5C0D7276A8A /* [CP-User] [instabug-reactnative] Upload Sourcemap */ = {
365+
isa = PBXShellScriptBuildPhase;
366+
buildActionMask = 2147483647;
367+
files = (
368+
);
369+
name = "[CP-User] [instabug-reactnative] Upload Sourcemap";
370+
runOnlyForDeploymentPostprocessing = 0;
371+
shellPath = /bin/sh;
372+
shellScript = "bash \"../node_modules/instabug-reactnative/ios/upload_sourcemap.sh\"";
373+
};
382374
FD10A7F022414F080027D42C /* Start Packager */ = {
383375
isa = PBXShellScriptBuildPhase;
384376
buildActionMask = 2147483647;

0 commit comments

Comments
 (0)