DataDog / datadog-ci

Use Datadog from your CI.
https://datadoghq.com
Apache License 2.0
127 stars 55 forks source link

React Native - no such file or directory - `main.jsbundle.map` #690

Closed amhinson closed 1 year ago

amhinson commented 1 year ago

Describe what happened When following the React Native setup instructions to automatically upload iOS source maps, I'm running into the following error after running DATADOG_API_KEY=<API_KEY> yarn ios:

Error: ENOENT: no such file or directory, open '/Users/user/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/main.jsbundle.map'
    at Object.openSync (node:fs:590:3)
    at Object.readFileSync (node:fs:458:35)
    at Object.<anonymous> (/Users/user/projects/Testing/node_modules/react-native/scripts/compose-source-maps.js:34:8)
    at Module._compile (node:internal/modules/cjs/loader:1155:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
    at Module.load (node:internal/modules/cjs/loader:1033:32)
    at Function.Module._load (node:internal/modules/cjs/loader:868:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:22:47 {
  errno: -2,
  syscall: 'open',
  code: 'ENOENT',
  path: '/Users/user/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/main.jsbundle.map'
}
Error running bundle script from datadog-ci xcode.
Error: error null while running datadog-ci xcode.error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Command PhaseScriptExecution failed with a nonzero exit code

GenerateDSYMFile /Users/user/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/Testing.app.dSYM /Users/user/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/Testing.app/Testing (in target 'Testing' from project 'Testing')
    cd /Users/user/projects/Testing/ios
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil /Users/user/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/Testing.app/Testing -o /Users/user/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/Testing.app.dSYM

** BUILD FAILED **

The following build commands failed:
        PhaseScriptExecution Bundle\ React\ Native\ code\ and\ images /Users/user/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Intermediates.noindex/Testing.build/Debug-iphonesimulator/Testing.build/Script-00DD1BFF1BD5951E006B06BC.sh (in target 'Testing' from project 'Testing')
(1 failure)

I'm fairly confident that I've done all of the steps in the documentation, but I'm not sure why I am receiving this error. It seems like datadog-ci xcode is looking in the wrong location for the sourcemap file.

Steps to reproduce the issue:

I originally saw this in my larger project, but I was able to reproduce it with a fresh React Native app (repo). You will just need to do the following after pulling down the repo:

Expected behaviour: Produce sourcemap and upload.

Actual behaviour: Error (See above)

Additional context

amhinson commented 1 year ago

Same error occurs when I follow the manually on each build (with Hermes) instructions as well.

louiszawadzki commented 1 year ago

Hi @amhinson, thanks for reaching out!

I am able to reproduce the issue. I am investigating and will let you know about what we can do about it.

I can tell you that it looks like there is nothing wrong with your setup, I believe the most likely cause is that some recent changes in the react native xcode script broke the way we get the source map when Hermes is enabled.

I believe a proper fix would require a new release of datadog-ci. In the meantime, I will also try to find a workaround, as I believe the Manual upload steps are also likely to be broken.

louiszawadzki commented 1 year ago

Hi @amhinson!

I have great news! To make the upload work you should only need to add a export USE_HERMES=true line in the datadog-sourcemaps.sh file (right after the set -e line for instance).

Tell me if it works for you and I'll update the documentation soon to reflect this.

The issue is that now that Hermes is enabled by default, some checks in the react native xcode script are not working as intended and the source map does not get generated. It's been fixed on the main RN branch by several PRs, but it has not been released yet. Setting the USE_HERMES env variable to true explicitly tells the script that Hermes is used.

Thanks a lot for taking the time to provide an easy reproduction!

amhinson commented 1 year ago

@louiszawadzki Still seeing the same no such file or directory error unfortunately.

louiszawadzki commented 1 year ago

@amhinson, I forgot that there's one more thing I had to change in your sample project to enable the app to build: remove the await keyword in the App.js before DdSdkReactNative.initialize(config);.

As you are not making this call inside a function, await cannot be called here. As you're calling the initialization early in your app, you don't need to await it.

If that still does not work, can you run the project from XCode (opening it by running xed ios from your project root) and share the output from the build?

Thanks

amhinson commented 1 year ago

Still seeing the same thing in Xcode, even after removing await:

Xcode build log ``` PhaseScriptExecution Bundle\ React\ Native\ code\ and\ images /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Intermediates.noindex/Testing.build/Debug-iphonesimulator/Testing.build/Script-00DD1BFF1BD5951E006B06BC.sh (in target 'Testing' from project 'Testing') cd /Users/alex/projects/Testing/ios export ACTION\=build export AD_HOC_CODE_SIGNING_ALLOWED\=YES export ALLOW_TARGET_PLATFORM_SPECIALIZATION\=NO export ALTERNATE_GROUP\=staff export ALTERNATE_MODE\=u+w,go-w,a+rX export ALTERNATE_OWNER\=alex export ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES\=YES export ALWAYS_SEARCH_USER_PATHS\=NO export ALWAYS_USE_SEPARATE_HEADERMAPS\=NO export APPLE_INTERNAL_DEVELOPER_DIR\=/AppleInternal/Developer export APPLE_INTERNAL_DIR\=/AppleInternal export APPLE_INTERNAL_DOCUMENTATION_DIR\=/AppleInternal/Documentation export APPLE_INTERNAL_LIBRARY_DIR\=/AppleInternal/Library export APPLE_INTERNAL_TOOLS\=/AppleInternal/Developer/Tools export APPLICATION_EXTENSION_API_ONLY\=NO export APPLY_RULES_IN_COPY_FILES\=NO export APPLY_RULES_IN_COPY_HEADERS\=NO export ARCHS\=arm64 export ARCHS_STANDARD\=arm64\ x86_64 export ARCHS_STANDARD_32_64_BIT\=arm64\ i386\ x86_64 export ARCHS_STANDARD_32_BIT\=i386 export ARCHS_STANDARD_64_BIT\=arm64\ x86_64 export ARCHS_STANDARD_INCLUDING_64_BIT\=arm64\ x86_64 export ARCHS_UNIVERSAL_IPHONE_OS\=arm64\ i386\ x86_64 export ASSETCATALOG_COMPILER_APPICON_NAME\=AppIcon export ASSETCATALOG_FILTER_FOR_DEVICE_MODEL\=iPhone14,5 export ASSETCATALOG_FILTER_FOR_DEVICE_OS_VERSION\=16.0 export ASSETCATALOG_FILTER_FOR_THINNING_DEVICE_CONFIGURATION\=iPhone14,5 export AVAILABLE_PLATFORMS\=appletvos\ appletvsimulator\ driverkit\ iphoneos\ iphonesimulator\ macosx\ watchos\ watchsimulator export AppIdentifierPrefix\=YFGLNYP5T4. export BITCODE_GENERATION_MODE\=marker export BUILD_ACTIVE_RESOURCES_ONLY\=YES export BUILD_COMPONENTS\=headers\ build export BUILD_DIR\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products export BUILD_LIBRARY_FOR_DISTRIBUTION\=NO export BUILD_ROOT\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products export BUILD_STYLE\= export BUILD_VARIANTS\=normal export BUILT_PRODUCTS_DIR\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator export BUNDLE_CONTENTS_FOLDER_PATH_deep\=Contents/ export BUNDLE_EXECUTABLE_FOLDER_NAME_deep\=MacOS export BUNDLE_EXTENSIONS_FOLDER_PATH\=Extensions export BUNDLE_FORMAT\=shallow export BUNDLE_FRAMEWORKS_FOLDER_PATH\=Frameworks export BUNDLE_PLUGINS_FOLDER_PATH\=PlugIns export BUNDLE_PRIVATE_HEADERS_FOLDER_PATH\=PrivateHeaders export BUNDLE_PUBLIC_HEADERS_FOLDER_PATH\=Headers export CACHE_ROOT\=/var/folders/gl/x54c0m7971107zptjzm0h8580000gn/C/com.apple.DeveloperTools/14.0.1-14A400/Xcode export CCHROOT\=/var/folders/gl/x54c0m7971107zptjzm0h8580000gn/C/com.apple.DeveloperTools/14.0.1-14A400/Xcode export CHMOD\=/bin/chmod export CHOWN\=/usr/sbin/chown export CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED\=YES export CLANG_CXX_LANGUAGE_STANDARD\=c++17 export CLANG_CXX_LIBRARY\=compiler-default export CLANG_ENABLE_MODULES\=YES export CLANG_ENABLE_OBJC_ARC\=YES export CLANG_MODULES_BUILD_SESSION_FILE\=/Users/alex/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation export CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING\=YES export CLANG_WARN_BOOL_CONVERSION\=YES export CLANG_WARN_COMMA\=YES export CLANG_WARN_CONSTANT_CONVERSION\=YES export CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS\=YES export CLANG_WARN_DIRECT_OBJC_ISA_USAGE\=YES_ERROR export CLANG_WARN_EMPTY_BODY\=YES export CLANG_WARN_ENUM_CONVERSION\=YES export CLANG_WARN_INFINITE_RECURSION\=YES export CLANG_WARN_INT_CONVERSION\=YES export CLANG_WARN_NON_LITERAL_NULL_CONVERSION\=YES export CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF\=YES export CLANG_WARN_OBJC_LITERAL_CONVERSION\=YES export CLANG_WARN_OBJC_ROOT_CLASS\=YES_ERROR export CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER\=NO export CLANG_WARN_RANGE_LOOP_ANALYSIS\=YES export CLANG_WARN_STRICT_PROTOTYPES\=YES export CLANG_WARN_SUSPICIOUS_MOVE\=YES export CLANG_WARN_UNREACHABLE_CODE\=YES export CLANG_WARN__DUPLICATE_METHOD_MATCH\=YES export CLASS_FILE_DIR\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Intermediates.noindex/Testing.build/Debug-iphonesimulator/Testing.build/JavaClasses export CLEAN_PRECOMPS\=YES export CLONE_HEADERS\=NO export CODESIGNING_FOLDER_PATH\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/Testing.app export CODE_SIGNING_ALLOWED\=YES export CODE_SIGNING_REQUIRED\=YES export CODE_SIGN_CONTEXT_CLASS\=XCiPhoneSimulatorCodeSignContext export CODE_SIGN_IDENTITY\=- export CODE_SIGN_INJECT_BASE_ENTITLEMENTS\=YES export COLOR_DIAGNOSTICS\=NO export COMBINE_HIDPI_IMAGES\=NO export COMPILER_INDEX_STORE_ENABLE\=Default export COMPOSITE_SDK_DIRS\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Intermediates.noindex/CompositeSDKs export COMPRESS_PNG_FILES\=YES export CONFIGURATION\=Debug export CONFIGURATION_BUILD_DIR\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator export CONFIGURATION_TEMP_DIR\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Intermediates.noindex/Testing.build/Debug-iphonesimulator export CONTENTS_FOLDER_PATH\=Testing.app export CONTENTS_FOLDER_PATH_SHALLOW_BUNDLE_NO\=Testing.app/Contents export CONTENTS_FOLDER_PATH_SHALLOW_BUNDLE_YES\=Testing.app export COPYING_PRESERVES_HFS_DATA\=NO export COPY_HEADERS_RUN_UNIFDEF\=NO export COPY_PHASE_STRIP\=NO export COPY_RESOURCES_FROM_STATIC_FRAMEWORKS\=YES export CORRESPONDING_DEVICE_PLATFORM_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform export CORRESPONDING_DEVICE_PLATFORM_NAME\=iphoneos export CORRESPONDING_DEVICE_SDK_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.0.sdk export CORRESPONDING_DEVICE_SDK_NAME\=iphoneos16.0 export CP\=/bin/cp export CREATE_INFOPLIST_SECTION_IN_BINARY\=NO export CURRENT_ARCH\=undefined_arch export CURRENT_PROJECT_VERSION\=1 export CURRENT_VARIANT\=normal export DEAD_CODE_STRIPPING\=YES export DEBUGGING_SYMBOLS\=YES export DEBUG_INFORMATION_FORMAT\=dwarf-with-dsym export DEFAULT_COMPILER\=com.apple.compilers.llvm.clang.1_0 export DEFAULT_DEXT_INSTALL_PATH\=/System/Library/DriverExtensions export DEFAULT_KEXT_INSTALL_PATH\=/System/Library/Extensions export DEFINES_MODULE\=NO export DEPLOYMENT_LOCATION\=NO export DEPLOYMENT_POSTPROCESSING\=NO export DEPLOYMENT_TARGET_SETTING_NAME\=IPHONEOS_DEPLOYMENT_TARGET export DEPLOYMENT_TARGET_SUGGESTED_VALUES\=11.0\ 11.1\ 11.2\ 11.3\ 11.4\ 12.0\ 12.1\ 12.2\ 12.3\ 12.4\ 13.0\ 13.1\ 13.2\ 13.3\ 13.4\ 13.5\ 13.6\ 14.0\ 14.1\ 14.2\ 14.3\ 14.4\ 14.5\ 14.6\ 14.7\ 15.0\ 15.1\ 15.2\ 15.3\ 15.4\ 15.5\ 15.6\ 16.0 export DERIVED_FILES_DIR\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Intermediates.noindex/Testing.build/Debug-iphonesimulator/Testing.build/DerivedSources export DERIVED_FILE_DIR\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Intermediates.noindex/Testing.build/Debug-iphonesimulator/Testing.build/DerivedSources export DERIVED_SOURCES_DIR\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Intermediates.noindex/Testing.build/Debug-iphonesimulator/Testing.build/DerivedSources export DEVELOPER_APPLICATIONS_DIR\=/Applications/Xcode.app/Contents/Developer/Applications export DEVELOPER_BIN_DIR\=/Applications/Xcode.app/Contents/Developer/usr/bin export DEVELOPER_DIR\=/Applications/Xcode.app/Contents/Developer export DEVELOPER_FRAMEWORKS_DIR\=/Applications/Xcode.app/Contents/Developer/Library/Frameworks export DEVELOPER_FRAMEWORKS_DIR_QUOTED\=/Applications/Xcode.app/Contents/Developer/Library/Frameworks export DEVELOPER_LIBRARY_DIR\=/Applications/Xcode.app/Contents/Developer/Library export DEVELOPER_SDK_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs export DEVELOPER_TOOLS_DIR\=/Applications/Xcode.app/Contents/Developer/Tools export DEVELOPER_USR_DIR\=/Applications/Xcode.app/Contents/Developer/usr export DEVELOPMENT_LANGUAGE\=en export DOCUMENTATION_FOLDER_PATH\=Testing.app/en.lproj/Documentation export DONT_GENERATE_INFOPLIST_FILE\=NO export DO_HEADER_SCANNING_IN_JAM\=NO export DSTROOT\=/tmp/Testing.dst export DT_TOOLCHAIN_DIR\=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain export DWARF_DSYM_FILE_NAME\=Testing.app.dSYM export DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT\=NO export DWARF_DSYM_FOLDER_PATH\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator export DYNAMIC_LIBRARY_EXTENSION\=dylib export EAGER_LINKING\=NO export EFFECTIVE_PLATFORM_NAME\=-iphonesimulator export EMBEDDED_CONTENT_CONTAINS_SWIFT\=NO export EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE\=NO export ENABLE_APP_SANDBOX\=NO export ENABLE_BITCODE\=NO export ENABLE_DEFAULT_HEADER_SEARCH_PATHS\=YES export ENABLE_DEFAULT_SEARCH_PATHS\=YES export ENABLE_HARDENED_RUNTIME\=NO export ENABLE_HEADER_DEPENDENCIES\=YES export ENABLE_ON_DEMAND_RESOURCES\=YES export ENABLE_PREVIEWS\=NO export ENABLE_STRICT_OBJC_MSGSEND\=YES export ENABLE_TESTABILITY\=YES export ENABLE_TESTING_SEARCH_PATHS\=NO export ENABLE_USER_SCRIPT_SANDBOXING\=NO export ENTITLEMENTS_ALLOWED\=NO export ENTITLEMENTS_DESTINATION\=__entitlements export ENTITLEMENTS_REQUIRED\=NO export EXCLUDED_ARCHS\=i386 export EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS\=.DS_Store\ .svn\ .git\ .hg\ CVS export EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES\=\*.nib\ \*.lproj\ \*.framework\ \*.gch\ \*.xcode\*\ \*.xcassets\ \(\*\)\ .DS_Store\ CVS\ .svn\ .git\ .hg\ \*.pbproj\ \*.pbxproj export EXECUTABLES_FOLDER_PATH\=Testing.app/Executables export EXECUTABLE_FOLDER_PATH\=Testing.app export EXECUTABLE_FOLDER_PATH_SHALLOW_BUNDLE_NO\=Testing.app/MacOS export EXECUTABLE_FOLDER_PATH_SHALLOW_BUNDLE_YES\=Testing.app export EXECUTABLE_NAME\=Testing export EXECUTABLE_PATH\=Testing.app/Testing export EXPANDED_CODE_SIGN_IDENTITY\=- export EXPANDED_CODE_SIGN_IDENTITY_NAME\=- export EXTENSIONS_FOLDER_PATH\=Testing.app/Extensions export FILE_LIST\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Intermediates.noindex/Testing.build/Debug-iphonesimulator/Testing.build/Objects/LinkFileList export FIXED_FILES_DIR\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Intermediates.noindex/Testing.build/Debug-iphonesimulator/Testing.build/FixedFiles export FRAMEWORKS_FOLDER_PATH\=Testing.app/Frameworks export FRAMEWORK_FLAG_PREFIX\=-framework export FRAMEWORK_SEARCH_PATHS\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator\ \ \"/Users/alex/projects/Testing/ios/Pods/Flipper-DoubleConversion/Frameworks\"\ \"/Users/alex/projects/Testing/ios/Pods/Flipper-Glog/Frameworks\"\ \"/Users/alex/projects/Testing/ios/Pods/OpenSSL-Universal/Frameworks\"\ \"/Users/alex/projects/Testing/ios/Pods/PLCrashReporter\"\ \"/Users/alex/projects/Testing/ios/Pods/hermes-engine/destroot/Library/Frameworks/universal\"\ \"/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/Flipper-DoubleConversion\"\ \"/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/Flipper-Glog\"\ \"/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/OpenSSL-Universal\"\ \"/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/PLCrashReporter\"\ \"/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/hermes-engine\" export FRAMEWORK_VERSION\=A export FULL_PRODUCT_NAME\=Testing.app export FUSE_BUILD_PHASES\=YES export FUSE_BUILD_SCRIPT_PHASES\=NO export GCC3_VERSION\=3.3 export GCC_C_LANGUAGE_STANDARD\=gnu99 export GCC_DYNAMIC_NO_PIC\=NO export GCC_INLINES_ARE_PRIVATE_EXTERN\=YES export GCC_NO_COMMON_BLOCKS\=YES export GCC_OBJC_LEGACY_DISPATCH\=YES export GCC_OPTIMIZATION_LEVEL\=0 export GCC_PFE_FILE_C_DIALECTS\=c\ objective-c\ c++\ objective-c++ export GCC_PREPROCESSOR_DEFINITIONS\=DEBUG\=1\ \ COCOAPODS\=1\ FB_SONARKIT_ENABLED\=1\ HERMES_ENABLE_DEBUGGER\=1 export GCC_SYMBOLS_PRIVATE_EXTERN\=NO export GCC_TREAT_WARNINGS_AS_ERRORS\=NO export GCC_VERSION\=com.apple.compilers.llvm.clang.1_0 export GCC_VERSION_IDENTIFIER\=com_apple_compilers_llvm_clang_1_0 export GCC_WARN_64_TO_32_BIT_CONVERSION\=YES export GCC_WARN_ABOUT_RETURN_TYPE\=YES_ERROR export GCC_WARN_UNDECLARED_SELECTOR\=YES export GCC_WARN_UNINITIALIZED_AUTOS\=YES_AGGRESSIVE export GCC_WARN_UNUSED_FUNCTION\=YES export GCC_WARN_UNUSED_VARIABLE\=YES export GENERATED_MODULEMAP_DIR\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator export GENERATE_INFOPLIST_FILE\=NO export GENERATE_MASTER_OBJECT_FILE\=NO export GENERATE_PKGINFO_FILE\=YES export GENERATE_PROFILING_CODE\=NO export GENERATE_TEXT_BASED_STUBS\=NO export GID\=20 export GROUP\=staff export HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT\=YES export HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES\=YES export HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS\=YES export HEADERMAP_INCLUDES_PROJECT_HEADERS\=YES export HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES\=YES export HEADERMAP_USES_VFS\=NO export HEADER_SEARCH_PATHS\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/include\ \ \"/Users/alex/projects/Testing/ios/Pods/Headers/Public\"\ \"/Users/alex/projects/Testing/ios/Pods/Headers/Public/CocoaAsyncSocket\"\ \"/Users/alex/projects/Testing/ios/Pods/Headers/Public/DatadogSDK\"\ \"/Users/alex/projects/Testing/ios/Pods/Headers/Public/DatadogSDKReactNative\"\ \"/Users/alex/projects/Testing/ios/Pods/Headers/Public/DoubleConversion\"\ \"/Users/alex/projects/Testing/ios/Pods/Headers/Public/FBLazyVector\"\ \"/Users/alex/projects/Testing/ios/Pods/Headers/Public/Flipper\"\ \"/Users/alex/projects/Testing/ios/Pods/Headers/Public/Flipper-Fmt\"\ \"/Users/alex/projects/Testing/ios/Pods/Headers/Public/Flipper-Folly\"\ \"/Users/alex/projects/Testing/ios/Pods/Headers/Public/Flipper-PeerTalk\"\ \"/Users/alex/projects/Testing/ios/Pods/Headers/Public/Flipper-RSocket\"\ \"/Users/alex/projects/Testing/ios/Pods/Headers/Public/FlipperKit\"\ \"/Users/alex/projects/Testing/ios/Pods/Headers/Public/RCT-Folly\"\ \"/Users/alex/projects/Testing/ios/Pods/Headers/Public/RCTRequired\"\ \"/Users/alex/projects/Testing/ios/Pods/Headers/Public/RCTTypeSafety\"\ \"/Users/alex/projects/Testing/ios/Pods/Headers/Public/React-Codegen\"\ \"/Users/alex/projects/Testing/ios/Pods/Headers/Public/React-Core\"\ \"/Users/alex/projects/Testing/ios/Pods/Headers/Public/React-RCTAnimation\"\ \"/Users/alex/projects/Testing/ios/Pods/Headers/Public/React-RCTBlob\"\ \"/Users/alex/projects/Testing/ios/Pods/Headers/Public/React-RCTText\"\ \"/Users/alex/projects/Testing/ios/Pods/Headers/Public/React-bridging\"\ \"/Users/alex/projects/Testing/ios/Pods/Headers/Public/React-callinvoker\"\ \"/Users/alex/projects/Testing/ios/Pods/Headers/Public/React-cxxreact\"\ \"/Users/alex/projects/Testing/ios/Pods/Headers/Public/React-hermes\"\ \"/Users/alex/projects/Testing/ios/Pods/Headers/Public/React-jsi\"\ \"/Users/alex/projects/Testing/ios/Pods/Headers/Public/React-jsiexecutor\"\ \"/Users/alex/projects/Testing/ios/Pods/Headers/Public/React-jsinspector\"\ \"/Users/alex/projects/Testing/ios/Pods/Headers/Public/React-logger\"\ \"/Users/alex/projects/Testing/ios/Pods/Headers/Public/React-perflogger\"\ \"/Users/alex/projects/Testing/ios/Pods/Headers/Public/React-runtimeexecutor\"\ \"/Users/alex/projects/Testing/ios/Pods/Headers/Public/ReactCommon\"\ \"/Users/alex/projects/Testing/ios/Pods/Headers/Public/SocketRocket\"\ \"/Users/alex/projects/Testing/ios/Pods/Headers/Public/Yoga\"\ \"/Users/alex/projects/Testing/ios/Pods/Headers/Public/YogaKit\"\ \"/Users/alex/projects/Testing/ios/Pods/Headers/Public/fmt\"\ \"/Users/alex/projects/Testing/ios/Pods/Headers/Public/glog\"\ \"/Users/alex/projects/Testing/ios/Pods/Headers/Public/hermes-engine\"\ \"/Users/alex/projects/Testing/ios/Pods/Headers/Public/libevent\"\ \"/Users/alex/projects/Testing/ios/Pods/DoubleConversion\"\ \"/Users/alex/projects/Testing/ios/Pods/boost\"\ \"/Users/alex/projects/Testing/ios/Pods/Headers/Private/React-Core\"\ \"/include/\" export HIDE_BITCODE_SYMBOLS\=YES export HOME\=/Users/alex export HOST_PLATFORM\=macosx export ICONV\=/usr/bin/iconv export INFOPLIST_EXPAND_BUILD_SETTINGS\=YES export INFOPLIST_FILE\=Testing/Info.plist export INFOPLIST_OUTPUT_FORMAT\=binary export INFOPLIST_PATH\=Testing.app/Info.plist export INFOPLIST_PREPROCESS\=NO export INFOSTRINGS_PATH\=Testing.app/en.lproj/InfoPlist.strings export INLINE_PRIVATE_FRAMEWORKS\=NO export INSTALLHDRS_COPY_PHASE\=NO export INSTALLHDRS_SCRIPT_PHASE\=NO export INSTALL_DIR\=/tmp/Testing.dst/Applications export INSTALL_GROUP\=staff export INSTALL_MODE_FLAG\=u+w,go-w,a+rX export INSTALL_OWNER\=alex export INSTALL_PATH\=/Applications export INSTALL_ROOT\=/tmp/Testing.dst export IPHONEOS_DEPLOYMENT_TARGET\=12.4 export JAVAC_DEFAULT_FLAGS\=-J-Xms64m\ -J-XX:NewSize\=4M\ -J-Dfile.encoding\=UTF8 export JAVA_APP_STUB\=/System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub export JAVA_ARCHIVE_CLASSES\=YES export JAVA_ARCHIVE_TYPE\=JAR export JAVA_COMPILER\=/usr/bin/javac export JAVA_FOLDER_PATH\=Testing.app/Java export JAVA_FRAMEWORK_RESOURCES_DIRS\=Resources export JAVA_JAR_FLAGS\=cv export JAVA_SOURCE_SUBDIR\=. export JAVA_USE_DEPENDENCIES\=YES export JAVA_ZIP_FLAGS\=-urg export JIKES_DEFAULT_FLAGS\=+E\ +OLDCSO export KEEP_PRIVATE_EXTERNS\=NO export LD_DEPENDENCY_INFO_FILE\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Intermediates.noindex/Testing.build/Debug-iphonesimulator/Testing.build/Objects-normal/undefined_arch/Testing_dependency_info.dat export LD_ENTITLEMENTS_SECTION\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Intermediates.noindex/Testing.build/Debug-iphonesimulator/Testing.build/Testing.app-Simulated.xcent export LD_ENTITLEMENTS_SECTION_DER\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Intermediates.noindex/Testing.build/Debug-iphonesimulator/Testing.build/Testing.app-Simulated.xcent.der export LD_GENERATE_MAP_FILE\=NO export LD_MAP_FILE_PATH\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Intermediates.noindex/Testing.build/Debug-iphonesimulator/Testing.build/Testing-LinkMap-normal-undefined_arch.txt export LD_NO_PIE\=NO export LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER\=YES export LD_RUNPATH_SEARCH_PATHS\=/usr/lib/swift\ \ /usr/lib/swift\ \'@executable_path/Frameworks\'\ \'@loader_path/Frameworks\'\ @executable_path/Frameworks export LD_RUNPATH_SEARCH_PATHS_YES\=@loader_path/../Frameworks export LEGACY_DEVELOPER_DIR\=/Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer export LEX\=lex export LIBRARY_DEXT_INSTALL_PATH\=/Library/DriverExtensions export LIBRARY_FLAG_NOSPACE\=YES export LIBRARY_FLAG_PREFIX\=-l export LIBRARY_KEXT_INSTALL_PATH\=/Library/Extensions export LIBRARY_SEARCH_PATHS\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator\ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.0.sdk/usr/lib/swift\ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator\ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator\ /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/CocoaAsyncSocket\ /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/DatadogSDK\ /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/DatadogSDKCrashReporting\ /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/DatadogSDKReactNative\ /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/DoubleConversion\ /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/Flipper\ /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/Flipper-Boost-iOSX\ /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/Flipper-Fmt\ /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/Flipper-Folly\ /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/Flipper-PeerTalk\ /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/Flipper-RSocket\ /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/FlipperKit\ /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/RCT-Folly\ /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/RCTTypeSafety\ /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/React-Codegen\ /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/React-Core\ /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/React-CoreModules\ /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/React-RCTAnimation\ /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/React-RCTBlob\ /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/React-RCTImage\ /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/React-RCTLinking\ /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/React-RCTNetwork\ /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/React-RCTSettings\ /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/React-RCTText\ /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/React-RCTVibration\ /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/React-bridging\ /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/React-cxxreact\ /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/React-hermes\ /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/React-jsi\ /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/React-jsiexecutor\ /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/React-jsinspector\ /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/React-logger\ /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/React-perflogger\ /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/ReactCommon\ /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/SocketRocket\ /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/Yoga\ /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/YogaKit\ /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/fmt\ /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/glog\ /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/libevent\ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.0.sdk/usr/lib/swift export LINKER_DISPLAYS_MANGLED_NAMES\=NO export LINK_FILE_LIST_normal_arm64\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Intermediates.noindex/Testing.build/Debug-iphonesimulator/Testing.build/Objects-normal/arm64/Testing.LinkFileList export LINK_OBJC_RUNTIME\=YES export LINK_WITH_STANDARD_LIBRARIES\=YES export LLVM_TARGET_TRIPLE_OS_VERSION\=ios12.4 export LLVM_TARGET_TRIPLE_SUFFIX\=-simulator export LLVM_TARGET_TRIPLE_VENDOR\=apple export LOCALIZATION_EXPORT_SUPPORTED\=YES export LOCALIZED_RESOURCES_FOLDER_PATH\=Testing.app/en.lproj export LOCALIZED_STRING_MACRO_NAMES\=NSLocalizedString\ CFCopyLocalizedString export LOCALIZED_STRING_SWIFTUI_SUPPORT\=YES export LOCAL_ADMIN_APPS_DIR\=/Applications/Utilities export LOCAL_APPS_DIR\=/Applications export LOCAL_DEVELOPER_DIR\=/Library/Developer export LOCAL_LIBRARY_DIR\=/Library export LOCROOT\=/Users/alex/projects/Testing/ios export LOCSYMROOT\=/Users/alex/projects/Testing/ios export MACH_O_TYPE\=mh_execute export MAC_OS_X_PRODUCT_BUILD_VERSION\=22A380 export MAC_OS_X_VERSION_ACTUAL\=130000 export MAC_OS_X_VERSION_MAJOR\=130000 export MAC_OS_X_VERSION_MINOR\=130000 export MARKETING_VERSION\=1.0.0 export METAL_LIBRARY_FILE_BASE\=default export METAL_LIBRARY_OUTPUT_DIR\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/Testing.app export MODULES_FOLDER_PATH\=Testing.app/Modules export MODULE_CACHE_DIR\=/Users/alex/Library/Developer/Xcode/DerivedData/ModuleCache.noindex export MTL_ENABLE_DEBUG_INFO\=YES export NATIVE_ARCH\=arm64 export NATIVE_ARCH_32_BIT\=arm export NATIVE_ARCH_64_BIT\=arm64 export NATIVE_ARCH_ACTUAL\=arm64 export NO_COMMON\=YES export OBJC_ABI_VERSION\=2 export OBJECT_FILE_DIR\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Intermediates.noindex/Testing.build/Debug-iphonesimulator/Testing.build/Objects export OBJECT_FILE_DIR_normal\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Intermediates.noindex/Testing.build/Debug-iphonesimulator/Testing.build/Objects-normal export OBJROOT\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Intermediates.noindex export ONLY_ACTIVE_ARCH\=YES export OS\=MACOS export OSAC\=/usr/bin/osacompile export OTHER_CFLAGS\=\ -fmodule-map-file\=\"/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/DatadogSDK/Datadog.modulemap\"\ -fmodule-map-file\=\"/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/DatadogSDKCrashReporting/DatadogCrashReporting.modulemap\"\ -fmodule-map-file\=\"/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/DatadogSDKReactNative/DatadogSDKReactNative.modulemap\"\ -fmodule-map-file\=\"/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/YogaKit/YogaKit.modulemap\"\ -fmodule-map-file\=\"/Users/alex/projects/Testing/ios/Pods/Headers/Public/FlipperKit/FlipperKit.modulemap\"\ -fmodule-map-file\=\"/Users/alex/projects/Testing/ios/Pods/Headers/Public/RCTTypeSafety/RCTTypeSafety.modulemap\"\ -fmodule-map-file\=\"/Users/alex/projects/Testing/ios/Pods/Headers/Public/React/React-Core.modulemap\"\ -fmodule-map-file\=\"/Users/alex/projects/Testing/ios/Pods/Headers/Public/ReactCommon/ReactCommon.modulemap\"\ -fmodule-map-file\=\"/Users/alex/projects/Testing/ios/Pods/Headers/Public/React_Codegen/React-Codegen.modulemap\"\ -fmodule-map-file\=\"/Users/alex/projects/Testing/ios/Pods/Headers/Public/folly/RCT-Folly.modulemap\"\ -fmodule-map-file\=\"/Users/alex/projects/Testing/ios/Pods/Headers/Public/yoga/Yoga.modulemap\" export OTHER_CPLUSPLUSFLAGS\=\ -fmodule-map-file\=\"/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/DatadogSDK/Datadog.modulemap\"\ -fmodule-map-file\=\"/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/DatadogSDKCrashReporting/DatadogCrashReporting.modulemap\"\ -fmodule-map-file\=\"/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/DatadogSDKReactNative/DatadogSDKReactNative.modulemap\"\ -fmodule-map-file\=\"/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/YogaKit/YogaKit.modulemap\"\ -fmodule-map-file\=\"/Users/alex/projects/Testing/ios/Pods/Headers/Public/FlipperKit/FlipperKit.modulemap\"\ -fmodule-map-file\=\"/Users/alex/projects/Testing/ios/Pods/Headers/Public/RCTTypeSafety/RCTTypeSafety.modulemap\"\ -fmodule-map-file\=\"/Users/alex/projects/Testing/ios/Pods/Headers/Public/React/React-Core.modulemap\"\ -fmodule-map-file\=\"/Users/alex/projects/Testing/ios/Pods/Headers/Public/ReactCommon/ReactCommon.modulemap\"\ -fmodule-map-file\=\"/Users/alex/projects/Testing/ios/Pods/Headers/Public/React_Codegen/React-Codegen.modulemap\"\ -fmodule-map-file\=\"/Users/alex/projects/Testing/ios/Pods/Headers/Public/folly/RCT-Folly.modulemap\"\ -fmodule-map-file\=\"/Users/alex/projects/Testing/ios/Pods/Headers/Public/yoga/Yoga.modulemap\"\ -DFOLLY_NO_CONFIG\ -DFOLLY_MOBILE\=1\ -DFOLLY_USE_LIBCPP\=1 export OTHER_LDFLAGS\=\ -ObjC\ -l\"CocoaAsyncSocket\"\ -l\"DatadogSDK\"\ -l\"DatadogSDKCrashReporting\"\ -l\"DatadogSDKReactNative\"\ -l\"DoubleConversion\"\ -l\"Flipper\"\ -l\"Flipper-Boost-iOSX\"\ -l\"Flipper-Fmt\"\ -l\"Flipper-Folly\"\ -l\"Flipper-PeerTalk\"\ -l\"Flipper-RSocket\"\ -l\"FlipperKit\"\ -l\"RCT-Folly\"\ -l\"RCTTypeSafety\"\ -l\"React-Codegen\"\ -l\"React-Core\"\ -l\"React-CoreModules\"\ -l\"React-RCTAnimation\"\ -l\"React-RCTBlob\"\ -l\"React-RCTImage\"\ -l\"React-RCTLinking\"\ -l\"React-RCTNetwork\"\ -l\"React-RCTSettings\"\ -l\"React-RCTText\"\ -l\"React-RCTVibration\"\ -l\"React-bridging\"\ -l\"React-cxxreact\"\ -l\"React-hermes\"\ -l\"React-jsi\"\ -l\"React-jsiexecutor\"\ -l\"React-jsinspector\"\ -l\"React-logger\"\ -l\"React-perflogger\"\ -l\"ReactCommon\"\ -l\"SocketRocket\"\ -l\"Yoga\"\ -l\"YogaKit\"\ -l\"c++\"\ -l\"c++abi\"\ -l\"fmt\"\ -l\"glog\"\ -l\"icucore\"\ -l\"libevent\"\ -l\"stdc++\"\ -framework\ \"AudioToolbox\"\ -framework\ \"CFNetwork\"\ -framework\ \"CrashReporter\"\ -framework\ \"JavaScriptCore\"\ -framework\ \"MobileCoreServices\"\ -framework\ \"OpenSSL\"\ -framework\ \"Security\"\ -framework\ \"UIKit\"\ -framework\ \"double-conversion\"\ -framework\ \"glog\"\ -framework\ \"hermes\"\ -ObjC\ -lc++ export OTHER_SWIFT_FLAGS\=\ -D\ COCOAPODS\ -Xcc\ -fmodule-map-file\=\"/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/DatadogSDK/Datadog.modulemap\"\ -Xcc\ -fmodule-map-file\=\"/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/DatadogSDKCrashReporting/DatadogCrashReporting.modulemap\"\ -Xcc\ -fmodule-map-file\=\"/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/DatadogSDKReactNative/DatadogSDKReactNative.modulemap\"\ -Xcc\ -fmodule-map-file\=\"/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/YogaKit/YogaKit.modulemap\"\ -Xcc\ -fmodule-map-file\=\"/Users/alex/projects/Testing/ios/Pods/Headers/Public/FlipperKit/FlipperKit.modulemap\"\ -Xcc\ -fmodule-map-file\=\"/Users/alex/projects/Testing/ios/Pods/Headers/Public/RCTTypeSafety/RCTTypeSafety.modulemap\"\ -Xcc\ -fmodule-map-file\=\"/Users/alex/projects/Testing/ios/Pods/Headers/Public/React/React-Core.modulemap\"\ -Xcc\ -fmodule-map-file\=\"/Users/alex/projects/Testing/ios/Pods/Headers/Public/ReactCommon/ReactCommon.modulemap\"\ -Xcc\ -fmodule-map-file\=\"/Users/alex/projects/Testing/ios/Pods/Headers/Public/React_Codegen/React-Codegen.modulemap\"\ -Xcc\ -fmodule-map-file\=\"/Users/alex/projects/Testing/ios/Pods/Headers/Public/folly/RCT-Folly.modulemap\"\ -Xcc\ -fmodule-map-file\=\"/Users/alex/projects/Testing/ios/Pods/Headers/Public/yoga/Yoga.modulemap\"\ -Xcc\ -DFB_SONARKIT_ENABLED\=1 export PACKAGE_TYPE\=com.apple.package-type.wrapper.application export PASCAL_STRINGS\=YES export PATH\=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/appleinternal/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/libexec:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/appleinternal/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin export PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES\=/usr/include\ /usr/local/include\ /System/Library/Frameworks\ /System/Library/PrivateFrameworks\ /Applications/Xcode.app/Contents/Developer/Headers\ /Applications/Xcode.app/Contents/Developer/SDKs\ /Applications/Xcode.app/Contents/Developer/Platforms export PBDEVELOPMENTPLIST_PATH\=Testing.app/pbdevelopment.plist export PER_ARCH_OBJECT_FILE_DIR\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Intermediates.noindex/Testing.build/Debug-iphonesimulator/Testing.build/Objects-normal/undefined_arch export PER_VARIANT_OBJECT_FILE_DIR\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Intermediates.noindex/Testing.build/Debug-iphonesimulator/Testing.build/Objects-normal export PKGINFO_FILE_PATH\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Intermediates.noindex/Testing.build/Debug-iphonesimulator/Testing.build/PkgInfo export PKGINFO_PATH\=Testing.app/PkgInfo export PLATFORM_DEVELOPER_APPLICATIONS_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications export PLATFORM_DEVELOPER_BIN_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin export PLATFORM_DEVELOPER_LIBRARY_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library export PLATFORM_DEVELOPER_SDK_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs export PLATFORM_DEVELOPER_TOOLS_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Tools export PLATFORM_DEVELOPER_USR_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr export PLATFORM_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform export PLATFORM_DISPLAY_NAME\=iOS\ Simulator export PLATFORM_FAMILY_NAME\=iOS export PLATFORM_NAME\=iphonesimulator export PLATFORM_PREFERRED_ARCH\=x86_64 export PLATFORM_PRODUCT_BUILD_VERSION\=20A360 export PLIST_FILE_OUTPUT_FORMAT\=binary export PLUGINS_FOLDER_PATH\=Testing.app/PlugIns export PODS_BUILD_DIR\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products export PODS_CONFIGURATION_BUILD_DIR\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator export PODS_PODFILE_DIR_PATH\=/Users/alex/projects/Testing/ios/. export PODS_ROOT\=/Users/alex/projects/Testing/ios/Pods export PODS_XCFRAMEWORKS_BUILD_DIR\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates export PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR\=YES export PRECOMP_DESTINATION_DIR\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Intermediates.noindex/Testing.build/Debug-iphonesimulator/Testing.build/PrefixHeaders export PRESERVE_DEAD_CODE_INITS_AND_TERMS\=NO export PRIVATE_HEADERS_FOLDER_PATH\=Testing.app/PrivateHeaders export PRODUCT_BUNDLE_IDENTIFIER\=org.reactjs.native.example.Testing export PRODUCT_BUNDLE_PACKAGE_TYPE\=APPL export PRODUCT_MODULE_NAME\=Testing export PRODUCT_NAME\=Testing export PRODUCT_SETTINGS_PATH\=/Users/alex/projects/Testing/ios/Testing/Info.plist export PRODUCT_TYPE\=com.apple.product-type.application export PROFILING_CODE\=NO export PROJECT\=Testing export PROJECT_DERIVED_FILE_DIR\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Intermediates.noindex/Testing.build/DerivedSources export PROJECT_DIR\=/Users/alex/projects/Testing/ios export PROJECT_FILE_PATH\=/Users/alex/projects/Testing/ios/Testing.xcodeproj export PROJECT_NAME\=Testing export PROJECT_TEMP_DIR\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Intermediates.noindex/Testing.build export PROJECT_TEMP_ROOT\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Intermediates.noindex export PROVISIONING_PROFILE_REQUIRED\=NO export PROVISIONING_PROFILE_REQUIRED_YES_YES\=YES export PROVISIONING_PROFILE_SUPPORTED\=YES export PUBLIC_HEADERS_FOLDER_PATH\=Testing.app/Headers export REACT_NATIVE_PATH\=/Users/alex/projects/Testing/ios/Pods/../../node_modules/react-native export RECOMMENDED_IPHONEOS_DEPLOYMENT_TARGET\=12.5 export RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS\=YES export REMOVE_CVS_FROM_RESOURCES\=YES export REMOVE_GIT_FROM_RESOURCES\=YES export REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES\=YES export REMOVE_HG_FROM_RESOURCES\=YES export REMOVE_SVN_FROM_RESOURCES\=YES export REZ_COLLECTOR_DIR\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Intermediates.noindex/Testing.build/Debug-iphonesimulator/Testing.build/ResourceManagerResources export REZ_OBJECTS_DIR\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Intermediates.noindex/Testing.build/Debug-iphonesimulator/Testing.build/ResourceManagerResources/Objects export REZ_SEARCH_PATHS\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator\ export SCAN_ALL_SOURCE_FILES_FOR_INCLUDES\=NO export SCRIPTS_FOLDER_PATH\=Testing.app/Scripts export SCRIPT_INPUT_FILE_0\=/Users/alex/projects/Testing/ios/.xcode.env.local export SCRIPT_INPUT_FILE_1\=/Users/alex/projects/Testing/ios/.xcode.env export SCRIPT_INPUT_FILE_COUNT\=2 export SCRIPT_INPUT_FILE_LIST_COUNT\=0 export SCRIPT_OUTPUT_FILE_COUNT\=0 export SCRIPT_OUTPUT_FILE_LIST_COUNT\=0 export SDKROOT\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.0.sdk export SDK_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.0.sdk export SDK_DIR_iphonesimulator\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.0.sdk export SDK_DIR_iphonesimulator16_0\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.0.sdk export SDK_NAME\=iphonesimulator16.0 export SDK_NAMES\=iphonesimulator16.0 export SDK_PRODUCT_BUILD_VERSION\=20A360 export SDK_VERSION\=16.0 export SDK_VERSION_ACTUAL\=160000 export SDK_VERSION_MAJOR\=160000 export SDK_VERSION_MINOR\=160000 export SED\=/usr/bin/sed export SEPARATE_STRIP\=NO export SEPARATE_SYMBOL_EDIT\=NO export SET_DIR_MODE_OWNER_GROUP\=YES export SET_FILE_MODE_OWNER_GROUP\=NO export SHALLOW_BUNDLE\=YES export SHALLOW_BUNDLE_TRIPLE\=ios-simulator export SHALLOW_BUNDLE_ios_macabi\=NO export SHALLOW_BUNDLE_macos\=NO export SHARED_DERIVED_FILE_DIR\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/DerivedSources export SHARED_FRAMEWORKS_FOLDER_PATH\=Testing.app/SharedFrameworks export SHARED_PRECOMPS_DIR\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Intermediates.noindex/PrecompiledHeaders export SHARED_SUPPORT_FOLDER_PATH\=Testing.app/SharedSupport export SKIP_INSTALL\=NO export SOURCE_ROOT\=/Users/alex/projects/Testing/ios export SRCROOT\=/Users/alex/projects/Testing/ios export STRINGSDATA_DIR\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Intermediates.noindex/Testing.build/Debug-iphonesimulator/Testing.build/Objects-normal/undefined_arch export STRINGSDATA_ROOT\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Intermediates.noindex/Testing.build/Debug-iphonesimulator/Testing.build export STRINGS_FILE_INFOPLIST_RENAME\=YES export STRINGS_FILE_OUTPUT_ENCODING\=binary export STRIP_BITCODE_FROM_COPIED_FILES\=NO export STRIP_INSTALLED_PRODUCT\=NO export STRIP_STYLE\=all export STRIP_SWIFT_SYMBOLS\=YES export SUPPORTED_DEVICE_FAMILIES\=1,2 export SUPPORTED_PLATFORMS\=iphoneos\ iphonesimulator export SUPPORTS_MACCATALYST\=NO export SUPPORTS_ON_DEMAND_RESOURCES\=YES export SUPPORTS_TEXT_BASED_API\=NO export SWIFT_EMIT_LOC_STRINGS\=NO export SWIFT_INCLUDE_PATHS\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator\ \ \"/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/DatadogSDK\"\ \"/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/DatadogSDKCrashReporting\"\ \"/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/DatadogSDKReactNative\"\ \"/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/YogaKit\" export SWIFT_OPTIMIZATION_LEVEL\=-Onone export SWIFT_PLATFORM_TARGET_PREFIX\=ios export SWIFT_RESPONSE_FILE_PATH_normal_arm64\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Intermediates.noindex/Testing.build/Debug-iphonesimulator/Testing.build/Objects-normal/arm64/Testing.SwiftFileList export SWIFT_VERSION\=5.0 export SYMROOT\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products export SYSTEM_ADMIN_APPS_DIR\=/Applications/Utilities export SYSTEM_APPS_DIR\=/Applications export SYSTEM_CORE_SERVICES_DIR\=/System/Library/CoreServices export SYSTEM_DEMOS_DIR\=/Applications/Extras export SYSTEM_DEVELOPER_APPS_DIR\=/Applications/Xcode.app/Contents/Developer/Applications export SYSTEM_DEVELOPER_BIN_DIR\=/Applications/Xcode.app/Contents/Developer/usr/bin export SYSTEM_DEVELOPER_DEMOS_DIR\=/Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built\ Examples export SYSTEM_DEVELOPER_DIR\=/Applications/Xcode.app/Contents/Developer export SYSTEM_DEVELOPER_DOC_DIR\=/Applications/Xcode.app/Contents/Developer/ADC\ Reference\ Library export SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR\=/Applications/Xcode.app/Contents/Developer/Applications/Graphics\ Tools export SYSTEM_DEVELOPER_JAVA_TOOLS_DIR\=/Applications/Xcode.app/Contents/Developer/Applications/Java\ Tools export SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR\=/Applications/Xcode.app/Contents/Developer/Applications/Performance\ Tools export SYSTEM_DEVELOPER_RELEASENOTES_DIR\=/Applications/Xcode.app/Contents/Developer/ADC\ Reference\ Library/releasenotes export SYSTEM_DEVELOPER_TOOLS\=/Applications/Xcode.app/Contents/Developer/Tools export SYSTEM_DEVELOPER_TOOLS_DOC_DIR\=/Applications/Xcode.app/Contents/Developer/ADC\ Reference\ Library/documentation/DeveloperTools export SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR\=/Applications/Xcode.app/Contents/Developer/ADC\ Reference\ Library/releasenotes/DeveloperTools export SYSTEM_DEVELOPER_USR_DIR\=/Applications/Xcode.app/Contents/Developer/usr export SYSTEM_DEVELOPER_UTILITIES_DIR\=/Applications/Xcode.app/Contents/Developer/Applications/Utilities export SYSTEM_DEXT_INSTALL_PATH\=/System/Library/DriverExtensions export SYSTEM_DOCUMENTATION_DIR\=/Library/Documentation export SYSTEM_EXTENSIONS_FOLDER_PATH\=Testing.app/SystemExtensions export SYSTEM_EXTENSIONS_FOLDER_PATH_SHALLOW_BUNDLE_NO\=Testing.app/Library/SystemExtensions export SYSTEM_EXTENSIONS_FOLDER_PATH_SHALLOW_BUNDLE_YES\=Testing.app/SystemExtensions export SYSTEM_KEXT_INSTALL_PATH\=/System/Library/Extensions export SYSTEM_LIBRARY_DIR\=/System/Library export TAPI_ENABLE_PROJECT_HEADERS\=NO export TAPI_VERIFY_MODE\=ErrorsOnly export TARGETED_DEVICE_FAMILY\=1 export TARGETNAME\=Testing export TARGET_BUILD_DIR\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator export TARGET_DEVICE_IDENTIFIER\=1824EE79-EA46-43BA-BBF1-C6521870F82F export TARGET_DEVICE_MODEL\=iPhone14,5 export TARGET_DEVICE_OS_VERSION\=16.0 export TARGET_DEVICE_PLATFORM_NAME\=iphonesimulator export TARGET_NAME\=Testing export TARGET_TEMP_DIR\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Intermediates.noindex/Testing.build/Debug-iphonesimulator/Testing.build export TEMP_DIR\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Intermediates.noindex/Testing.build/Debug-iphonesimulator/Testing.build export TEMP_FILES_DIR\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Intermediates.noindex/Testing.build/Debug-iphonesimulator/Testing.build export TEMP_FILE_DIR\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Intermediates.noindex/Testing.build/Debug-iphonesimulator/Testing.build export TEMP_ROOT\=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Intermediates.noindex export TEST_FRAMEWORK_SEARCH_PATHS\=\ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks\ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.0.sdk/Developer/Library/Frameworks export TEST_LIBRARY_SEARCH_PATHS\=\ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib export TOOLCHAINS\=com.apple.dt.toolchain.XcodeDefault export TOOLCHAIN_DIR\=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain export TREAT_MISSING_BASELINES_AS_TEST_FAILURES\=NO export TeamIdentifierPrefix\=YFGLNYP5T4. export UID\=501 export UNLOCALIZED_RESOURCES_FOLDER_PATH\=Testing.app export UNLOCALIZED_RESOURCES_FOLDER_PATH_SHALLOW_BUNDLE_NO\=Testing.app/Resources export UNLOCALIZED_RESOURCES_FOLDER_PATH_SHALLOW_BUNDLE_YES\=Testing.app export UNSTRIPPED_PRODUCT\=NO export USER\=alex export USER_APPS_DIR\=/Users/alex/Applications export USER_LIBRARY_DIR\=/Users/alex/Library export USE_DYNAMIC_NO_PIC\=YES export USE_HEADERMAP\=YES export USE_HEADER_SYMLINKS\=NO export USE_LLVM_TARGET_TRIPLES\=YES export USE_LLVM_TARGET_TRIPLES_FOR_CLANG\=YES export USE_LLVM_TARGET_TRIPLES_FOR_LD\=YES export USE_LLVM_TARGET_TRIPLES_FOR_TAPI\=YES export USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES\=YES export VALIDATE_DEVELOPMENT_ASSET_PATHS\=YES_ERROR export VALIDATE_PRODUCT\=NO export VALID_ARCHS\=arm64\ arm64e\ i386\ x86_64 export VERBOSE_PBXCP\=NO export VERSIONING_SYSTEM\=apple-generic export VERSIONPLIST_PATH\=Testing.app/version.plist export VERSION_INFO_BUILDER\=alex export VERSION_INFO_FILE\=Testing_vers.c export VERSION_INFO_STRING\=\"@\(\#\)PROGRAM:Testing\ \ PROJECT:Testing-1\" export WRAPPER_EXTENSION\=app export WRAPPER_NAME\=Testing.app export WRAPPER_SUFFIX\=.app export WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES\=NO export XCODE_APP_SUPPORT_DIR\=/Applications/Xcode.app/Contents/Developer/Library/Xcode export XCODE_PRODUCT_BUILD_VERSION\=14A400 export XCODE_VERSION_ACTUAL\=1401 export XCODE_VERSION_MAJOR\=1400 export XCODE_VERSION_MINOR\=1400 export XPCSERVICES_FOLDER_PATH\=Testing.app/XPCServices export YACC\=yacc export _WRAPPER_CONTENTS_DIR_SHALLOW_BUNDLE_NO\=/Contents export _WRAPPER_PARENT_PATH_SHALLOW_BUNDLE_NO\=/.. export _WRAPPER_RESOURCES_DIR_SHALLOW_BUNDLE_NO\=/Resources export __IS_NOT_MACOS\=YES export __IS_NOT_MACOS_macosx\=NO export __IS_NOT_SIMULATOR\=NO export __IS_NOT_SIMULATOR_simulator\=NO export arch\=undefined_arch export variant\=normal /bin/sh -c /Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Intermediates.noindex/Testing.build/Debug-iphonesimulator/Testing.build/Script-00DD1BFF1BD5951E006B06BC.sh ../node_modules/react-native/scripts/xcode/with-environment.sh: line 35: .xcode.env: command not found ../node_modules/react-native/scripts/xcode/with-environment.sh: line 35: node: command not found [Warning] You need to configure your node path in the environment. You can set it up quickly by running: echo 'export NODE_BINARY=' > .xcode.env in the ios folder. This is needed by React Native to work correctly. We fallback to the DEPRECATED behavior of finding . This will be REMOVED in a future version. You can read more about this here: https://reactnative.dev/docs/environment-setup#optional-configuring-your-environment Now using node v16.18.0 (npm v8.19.2) /Users/alex/projects/Testing/node_modules/.bin yarn run v1.22.19 $ /Users/alex/projects/Testing/node_modules/.bin/datadog-ci react-native xcode node_modules/react-native/scripts/react-native-xcode.sh [bundle script]: + DEST=/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/Testing.app [bundle script]: + [[ Debug = *Debug* ]] + [[ ! iphonesimulator == *simulator ]] + [[ -n '' ]] + case "$CONFIGURATION" in + [[ iphonesimulator == *simulator ]] + [[ -n '' ]] + echo 'Skipping bundling in Debug for the Simulator (since the packager bundles for you). Use the FORCE_BUNDLING flag to change this behavior.' + exit 0 [bundle script]: Skipping bundling in Debug for the Simulator (since the packager bundles for you). Use the FORCE_BUNDLING flag to change this behavior. Hermes detected, composing sourcemaps[compose sourcemaps script]: node:internal/fs/utils:347 throw err; ^ Error: ENOENT: no such file or directory, open '/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/main.jsbundle.map' at Object.openSync (node:fs:590:3) at Object.readFileSync (node:fs:458:35) at Object. (/Users/alex/projects/Testing/node_modules/react-native/scripts/compose-source-maps.js:34:8) at Module._compile (node:internal/modules/cjs/loader:1155:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10) at Module.load (node:internal/modules/cjs/loader:1033:32) at Function.Module._load (node:internal/modules/cjs/loader:868:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) at node:internal/main/run_main_module:22:47 { errno: -2, syscall: 'open', code: 'ENOENT', path: '/Users/alex/Library/Developer/Xcode/DerivedData/Testing-fqdypjnsiebarzgksxjnfsfnbkkb/Build/Products/Debug-iphonesimulator/main.jsbundle.map' } Error running bundle script from datadog-ci xcode. Error: error null while running datadog-ci xcode.error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. Command PhaseScriptExecution failed with a nonzero exit code ```
amhinson commented 1 year ago

That log is from running a debug build, which I think you've addressed in https://github.com/DataDog/datadog-ci/pull/691.

When I ran a Release build, it was successful! 🎉 Thanks for the quick help!

louiszawadzki commented 1 year ago

Great!

I'll update our documentation and datadog-ci as well so that in the future you won't have to specify USE_HERMES=true in your shell script.

If that's ok with you I'll also close the issue, feel free to reopen it if there is something we missed :)

jacobhummel commented 1 year ago

Hitting the same issue. Build failure trying to upgrade to Expo 46 and building with EAS / custom dev client.

Tried passing flag USE_HERMES: "1" in the eas.json env vars as a workaround. No luck.

I tried installing this package from master instead of npm to see if the fix works, but I get datadog-ci not found so I'm guessing some binary is missing when sourced from git? Unsure on that, might just need to wait for the official release.

amhinson commented 1 year ago

export USE_HERMES=true seemed to worked for my fresh sample app that I provided, but I am actually still getting the same error in my actual project, which is much larger and has a handful of customizations to the Xcode project. Right now I'm assuming it is just some configuration issue on my end and not an issue with the library, but I plan on digging in a bit more in the next week or so.

If I can track down any more info, I'll post it here.

amhinson commented 1 year ago

I was able to verify that the source map is not generated for configurations other than explicitly Release. I added a new scheme and configuration to my testing app (new-config branch) that duplicated Release to Staging Release, and I'm seeing the same original error.

@louiszawadzki Any suggestions on how to generate source maps for other configurations?

louiszawadzki commented 1 year ago

Hi!

@jacobhummel you should be able to update datadog-ci to version 2.0.0 which includes a fix for this :) I believe there is no other way to do it with EAS, maybe you could try editing your project in XCode if you are using the expo-dev-client or managed workflow, but that might get overwritten in EAS. Tell me if that works for you! If not, feel free to reopen this issue :)

@amhinson we have an option for this, which is the --force argument on the react-native xcode command. It is documented here if you want to know more about it.

It might not be convenient for you to upload your sourcemaps only for Staging Release and not Debug for instance. You can either edit your build phase in xcode when you build for that Staging Release scheme, or add the argument conditionally (for examples you can look this post in Stack Overflow). The build scheme in the CONFIGURATION environment variable.

If that does not work, feel free to open another issue dedicated to this matter so we avoid crossing topics on this one :)

jacobhummel commented 1 year ago

I tried 2.0.0 yesterday and it worked! Thank you so much.