|
22 | 22 | CC3DF8932A1DFC9A003E9914 /* InstabugSurveysTests.m in Sources */ = {isa = PBXBuildFile; fileRef = CC3DF88B2A1DFC99003E9914 /* InstabugSurveysTests.m */; };
|
23 | 23 | CC3DF8942A1DFC9A003E9914 /* InstabugAPMTests.m in Sources */ = {isa = PBXBuildFile; fileRef = CC3DF88C2A1DFC99003E9914 /* InstabugAPMTests.m */; };
|
24 | 24 | CC3DF8952A1DFC9A003E9914 /* IBGConstants.m in Sources */ = {isa = PBXBuildFile; fileRef = CC3DF88D2A1DFC9A003E9914 /* IBGConstants.m */; };
|
25 |
| - CC487A9C2C71FCFC0021F680 /* Instabug.plist in Resources */ = {isa = PBXBuildFile; fileRef = CC487A9B2C71FCFC0021F680 /* Instabug.plist */; }; |
26 | 25 | CCF1E4092B022CF20024802D /* RNInstabugTests.m in Sources */ = {isa = PBXBuildFile; fileRef = CCF1E4082B022CF20024802D /* RNInstabugTests.m */; };
|
27 | 26 | CD36F4707EA1F435D2CC7A15 /* libPods-InstabugExample-InstabugTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AF7A6E02D40E0CEEA833CC4 /* libPods-InstabugExample-InstabugTests.a */; };
|
28 | 27 | F7BF47401EF3A435254C97BB /* libPods-InstabugExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BAED0D0441A708AE2390E153 /* libPods-InstabugExample.a */; };
|
|
57 | 56 | BE3328762BDACE030078249A /* IBGCrashReporting+CP.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "IBGCrashReporting+CP.h"; sourceTree = "<group>"; };
|
58 | 57 | C3C8C24386310A3120006604 /* CrashReportingExampleModule.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CrashReportingExampleModule.m; sourceTree = "<group>"; };
|
59 | 58 | C3C8C784EADC037C5A752B94 /* CrashReportingExampleModule.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CrashReportingExampleModule.h; sourceTree = "<group>"; };
|
60 |
| - C4E7796400B3B360DD0B6E73 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; includeInIndex = 1; name = PrivacyInfo.xcprivacy; path = InstabugExample/PrivacyInfo.xcprivacy; sourceTree = "<group>"; }; |
| 59 | + C4E7796400B3B360DD0B6E73 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xml; name = PrivacyInfo.xcprivacy; path = InstabugExample/PrivacyInfo.xcprivacy; sourceTree = "<group>"; }; |
61 | 60 | CC3DF8852A1DFC99003E9914 /* InstabugCrashReportingTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = InstabugCrashReportingTests.m; sourceTree = "<group>"; };
|
62 | 61 | CC3DF8862A1DFC99003E9914 /* InstabugBugReportingTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = InstabugBugReportingTests.m; sourceTree = "<group>"; };
|
63 | 62 | CC3DF8872A1DFC99003E9914 /* InstabugSampleTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = InstabugSampleTests.m; sourceTree = "<group>"; };
|
|
67 | 66 | CC3DF88B2A1DFC99003E9914 /* InstabugSurveysTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = InstabugSurveysTests.m; sourceTree = "<group>"; };
|
68 | 67 | CC3DF88C2A1DFC99003E9914 /* InstabugAPMTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = InstabugAPMTests.m; sourceTree = "<group>"; };
|
69 | 68 | CC3DF88D2A1DFC9A003E9914 /* IBGConstants.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = IBGConstants.m; sourceTree = "<group>"; };
|
70 |
| - CC487A9B2C71FCFC0021F680 /* Instabug.plist */ = {isa = PBXFileReference; lastKnownFileType = file.bplist; name = Instabug.plist; path = InstabugExample/Instabug.plist; sourceTree = "<group>"; }; |
71 | 69 | CCF1E4082B022CF20024802D /* RNInstabugTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RNInstabugTests.m; sourceTree = "<group>"; };
|
72 | 70 | DBCB1B1D023646D84146C91E /* Pods-InstabugExample-InstabugTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-InstabugExample-InstabugTests.release.xcconfig"; path = "Target Support Files/Pods-InstabugExample-InstabugTests/Pods-InstabugExample-InstabugTests.release.xcconfig"; sourceTree = "<group>"; };
|
73 | 71 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
|
|
124 | 122 | 13B07FAE1A68108700A75B9A /* InstabugExample */ = {
|
125 | 123 | isa = PBXGroup;
|
126 | 124 | children = (
|
127 |
| - CC487A9B2C71FCFC0021F680 /* Instabug.plist */, |
128 | 125 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */,
|
129 | 126 | 13B07FB01A68108700A75B9A /* AppDelegate.mm */,
|
130 | 127 | 13B07FB51A68108700A75B9A /* Images.xcassets */,
|
|
302 | 299 | buildActionMask = 2147483647;
|
303 | 300 | files = (
|
304 | 301 | 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */,
|
305 |
| - CC487A9C2C71FCFC0021F680 /* Instabug.plist in Resources */, |
306 | 302 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
|
307 | 303 | AF8A18C6FA80B2BFE6006C9E /* PrivacyInfo.xcprivacy in Resources */,
|
308 | 304 | );
|
|
335 | 331 | inputFileListPaths = (
|
336 | 332 | "${PODS_ROOT}/Target Support Files/Pods-InstabugExample-InstabugTests/Pods-InstabugExample-InstabugTests-resources-${CONFIGURATION}-input-files.xcfilelist",
|
337 | 333 | );
|
| 334 | + inputPaths = ( |
| 335 | + ); |
338 | 336 | name = "[CP] Copy Pods Resources";
|
339 | 337 | outputFileListPaths = (
|
340 | 338 | "${PODS_ROOT}/Target Support Files/Pods-InstabugExample-InstabugTests/Pods-InstabugExample-InstabugTests-resources-${CONFIGURATION}-output-files.xcfilelist",
|
341 | 339 | );
|
| 340 | + outputPaths = ( |
| 341 | + ); |
342 | 342 | runOnlyForDeploymentPostprocessing = 0;
|
343 | 343 | shellPath = /bin/sh;
|
344 | 344 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-InstabugExample-InstabugTests/Pods-InstabugExample-InstabugTests-resources.sh\"\n";
|
|
396 | 396 | inputFileListPaths = (
|
397 | 397 | "${PODS_ROOT}/Target Support Files/Pods-InstabugExample/Pods-InstabugExample-resources-${CONFIGURATION}-input-files.xcfilelist",
|
398 | 398 | );
|
| 399 | + inputPaths = ( |
| 400 | + ); |
399 | 401 | name = "[CP] Copy Pods Resources";
|
400 | 402 | outputFileListPaths = (
|
401 | 403 | "${PODS_ROOT}/Target Support Files/Pods-InstabugExample/Pods-InstabugExample-resources-${CONFIGURATION}-output-files.xcfilelist",
|
402 | 404 | );
|
| 405 | + outputPaths = ( |
| 406 | + ); |
403 | 407 | runOnlyForDeploymentPostprocessing = 0;
|
404 | 408 | shellPath = /bin/sh;
|
405 | 409 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-InstabugExample/Pods-InstabugExample-resources.sh\"\n";
|
|
413 | 417 | inputFileListPaths = (
|
414 | 418 | "${PODS_ROOT}/Target Support Files/Pods-InstabugExample/Pods-InstabugExample-frameworks-${CONFIGURATION}-input-files.xcfilelist",
|
415 | 419 | );
|
| 420 | + inputPaths = ( |
| 421 | + ); |
416 | 422 | name = "[CP] Embed Pods Frameworks";
|
417 | 423 | outputFileListPaths = (
|
418 | 424 | "${PODS_ROOT}/Target Support Files/Pods-InstabugExample/Pods-InstabugExample-frameworks-${CONFIGURATION}-output-files.xcfilelist",
|
419 | 425 | );
|
| 426 | + outputPaths = ( |
| 427 | + ); |
420 | 428 | runOnlyForDeploymentPostprocessing = 0;
|
421 | 429 | shellPath = /bin/sh;
|
422 | 430 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-InstabugExample/Pods-InstabugExample-frameworks.sh\"\n";
|
|
427 | 435 | buildActionMask = 2147483647;
|
428 | 436 | files = (
|
429 | 437 | );
|
| 438 | + inputPaths = ( |
| 439 | + ); |
430 | 440 | name = "[CP-User] [instabug-reactnative] Upload Sourcemap";
|
| 441 | + outputPaths = ( |
| 442 | + ); |
431 | 443 | runOnlyForDeploymentPostprocessing = 0;
|
432 | 444 | shellPath = /bin/sh;
|
433 | 445 | shellScript = "#!/bin/sh\n\nmain() {\n # Read environment variables from ios/.xcode.env if it exists\n env_path=\"$PODS_ROOT/../.xcode.env\"\n if [ -f \"$env_path\" ]; then\n source \"$env_path\"\n fi\n\n # Read environment variables from ios/.xcode.env.local if it exists\n local_env_path=\"${ENV_PATH}.local\"\n if [ -f \"$local_env_path\" ]; then\n source \"$local_env_path\"\n fi\n\n if [[ \"$INSTABUG_SOURCEMAPS_UPLOAD_DISABLE\" = true ]]; then\n echo \"[Info] \\`INSTABUG_SOURCEMAPS_UPLOAD_DISABLE\\` was set to true, skipping sourcemaps upload...\"\n exit 0\n fi\n\n if [[ \"$CONFIGURATION\" = \"Debug\" ]]; then\n echo \"[Info] Building in debug mode, skipping sourcemaps upload...\"\n exit 0\n fi\n\n if [[ -z \"$INFOPLIST_FILE\" ]] || [[ -z \"$PROJECT_DIR\" ]]; then\n echo \"[Error] Instabug sourcemaps script must be invoked by Xcode\"\n exit 0\n fi\n\n local source_map_file=$(generate_sourcemaps | tail -n 1)\n\n local js_project_dir=\"$PROJECT_DIR/..\"\n local instabug_dir=$(dirname $(node -p \"require.resolve('instabug-reactnative/package.json')\"))\n local inferred_token=$(cd $js_project_dir && source $instabug_dir/scripts/find-token.sh)\n local app_token=$(resolve_var \"App Token\" \"INSTABUG_APP_TOKEN\" \"$inferred_token\" | tail -n 1)\n\n local inferred_name=$(/usr/libexec/PlistBuddy -c 'print CFBundleShortVersionString' \"$PROJECT_DIR/$INFOPLIST_FILE\")\n local version_name=$(resolve_var \"Version Name\" \"INSTABUG_APP_VERSION_NAME\" \"$inferred_name\" | tail -n 1)\n\n local inferred_code=$(/usr/libexec/PlistBuddy -c 'print CFBundleVersion' \"$PROJECT_DIR/$INFOPLIST_FILE\")\n local version_code=$(resolve_var \"Version Code\" \"INSTABUG_APP_VERSION_CODE\" \"$inferred_code\" | tail -n 1)\n\n node $instabug_dir/bin/index.js upload-sourcemaps \\\n --platform ios \\\n --file $source_map_file \\\n --token $app_token \\\n --name $version_name \\\n --code $version_code\n}\n\ngenerate_sourcemaps() {\n local react_native_dir=$(dirname $(node -p \"require.resolve('react-native/package.json')\"))\n\n # Fixes an issue with react-native prior to v0.67.0\n # For more info: https://github.com/facebook/react-native/issues/32168\n export RN_DIR=$react_native_dir\n\n # Used withing `react-native-xcode.sh` to generate sourcemap file\n export SOURCEMAP_FILE=\"$(pwd)/main.jsbundle.map\";\n\n source \"$react_native_dir/scripts/react-native-xcode.sh\"\n\n if [[ ! -f \"$SOURCEMAP_FILE\" ]]; then\n echo \"[Error] Unable to find source map file at: $SOURCEMAP_FILE\"\n exit 0\n fi\n\n echo $SOURCEMAP_FILE\n}\n\nresolve_var() {\n local name=$1\n local env_key=$2\n local default_value=$3\n\n local env_value=\"${!env_key}\"\n\n if [[ -n \"$env_value\" ]] && [[ -n \"$default_value\" ]] && [[ \"$env_value\" != default_value ]]; then\n echo \"[Warning] Environment variable \\`$env_key\\` might have incorrect value, make sure this was intentional:\"\n echo \" Environment Value: $env_value\"\n echo \" Default Value: $default_value\"\n fi\n\n local value=\"${env_value:-$default_value}\"\n\n if [[ -z \"$value\" ]]; then\n echo \"[Error] Unable to find $name! Set the environment variable \\`$env_key\\` and try again.\"\n exit 0\n fi\n\n echo $value\n}\n\nmain \"$@\"; exit\n";
|
|
440 | 452 | inputFileListPaths = (
|
441 | 453 | "${PODS_ROOT}/Target Support Files/Pods-InstabugExample-InstabugTests/Pods-InstabugExample-InstabugTests-frameworks-${CONFIGURATION}-input-files.xcfilelist",
|
442 | 454 | );
|
| 455 | + inputPaths = ( |
| 456 | + ); |
443 | 457 | name = "[CP] Embed Pods Frameworks";
|
444 | 458 | outputFileListPaths = (
|
445 | 459 | "${PODS_ROOT}/Target Support Files/Pods-InstabugExample-InstabugTests/Pods-InstabugExample-InstabugTests-frameworks-${CONFIGURATION}-output-files.xcfilelist",
|
446 | 460 | );
|
| 461 | + outputPaths = ( |
| 462 | + ); |
447 | 463 | runOnlyForDeploymentPostprocessing = 0;
|
448 | 464 | shellPath = /bin/sh;
|
449 | 465 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-InstabugExample-InstabugTests/Pods-InstabugExample-InstabugTests-frameworks.sh\"\n";
|
|
684 | 700 | "-DFOLLY_MOBILE=1",
|
685 | 701 | "-DFOLLY_USE_LIBCPP=1",
|
686 | 702 | );
|
687 |
| - OTHER_LDFLAGS = ( |
688 |
| - "$(inherited)", |
689 |
| - " ", |
690 |
| - ); |
| 703 | + OTHER_LDFLAGS = "$(inherited) "; |
691 | 704 | REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
|
692 | 705 | SDKROOT = iphoneos;
|
693 | 706 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG";
|
|
759 | 772 | "-DFOLLY_MOBILE=1",
|
760 | 773 | "-DFOLLY_USE_LIBCPP=1",
|
761 | 774 | );
|
762 |
| - OTHER_LDFLAGS = ( |
763 |
| - "$(inherited)", |
764 |
| - " ", |
765 |
| - ); |
| 775 | + OTHER_LDFLAGS = "$(inherited) "; |
766 | 776 | REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
|
767 | 777 | SDKROOT = iphoneos;
|
768 | 778 | USE_HERMES = true;
|
|
0 commit comments