Skip to content

Commit 3494583

Browse files
committed
Skip upload symbols for debug simulator builds
1 parent a2ce2d9 commit 3494583

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ios/Runner.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@
380380
);
381381
runOnlyForDeploymentPostprocessing = 0;
382382
shellPath = /bin/sh;
383-
shellScript = "\"$PODS_ROOT/FirebaseCrashlytics/upload-symbols\" --flutter-project \"$PROJECT_DIR/firebase_app_id_file.json\" ";
383+
shellScript = "if [[ \"$PLATFORM_NAME\" == *simulator* ]]; then\n echo \"Skipping Crashlytics upload for simulator build\"\n exit 0\nfi\n\"$PODS_ROOT/FirebaseCrashlytics/upload-symbols\" --flutter-project \"$PROJECT_DIR/firebase_app_id_file.json\" ";
384384
};
385385
87319253AF8B73E944EEC4D0 /* [CP] Check Pods Manifest.lock */ = {
386386
isa = PBXShellScriptBuildPhase;

0 commit comments

Comments
 (0)