facebook / react-native

A framework for building native applications using React
https://reactnative.dev
MIT License
118.89k stars 24.3k forks source link

Failed to launch a new app created with the command npx react-native init #31275

Closed offcarlospetit closed 10 months ago

offcarlospetit commented 3 years ago

Please provide all the information requested. Issues that do not follow this format are likely to stall.

Description

I have updated Xcode to its latest version (Version 12.4 (12D4e)) and when creating a new app with the command npx react-native init AwesomeApp --template react-native-template-typescript

This is created without any problem, however when launching the app for ios it runs the following problem:

PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build/Script-7E2892D436C062F8905D5ABF30ABF529.sh (in target 'FBReactNativeSpec' from project 'Pods')
    cd /Users/xxxxxxxxxx/Desktop/AwesomeApp/ios/Pods
    export ACTION\=build
    export AD_HOC_CODE_SIGNING_ALLOWED\=YES
    export ALTERNATE_GROUP\=staff
    export ALTERNATE_MODE\=u+w,go-w,a+rX
    export ALTERNATE_OWNER\=xxxxxxxxxx
    export ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES\=NO
    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\=x86_64
    export ARCHS_STANDARD\=arm64\ x86_64\ i386
    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\ i386
    export ARCHS_UNIVERSAL_IPHONE_OS\=arm64\ i386\ x86_64
    export ASSETCATALOG_COMPILER_APPICON_NAME\=AppIcon
    export ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME\=AccentColor
    export ASSETCATALOG_FILTER_FOR_DEVICE_MODEL\=iPod9,1
    export ASSETCATALOG_FILTER_FOR_DEVICE_OS_VERSION\=14.4
    export AVAILABLE_PLATFORMS\=appletvos\ appletvsimulator\ iphoneos\ iphonesimulator\ macosx\ watchos\ watchsimulator
    export BITCODE_GENERATION_MODE\=marker
    export BUILD_ACTIVE_RESOURCES_ONLY\=YES
    export BUILD_COMPONENTS\=headers\ build
    export BUILD_DIR\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Products
    export BUILD_LIBRARY_FOR_DISTRIBUTION\=NO
    export BUILD_ROOT\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Products
    export BUILD_STYLE\=
    export BUILD_VARIANTS\=normal
    export BUILT_PRODUCTS_DIR\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Products/Debug-iphonesimulator/FBReactNativeSpec
    export BUNDLE_CONTENTS_FOLDER_PATH_deep\=Contents/
    export BUNDLE_EXECUTABLE_FOLDER_NAME_deep\=MacOS
    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/gv/94h5ln892_b__zcbg_rwktr40000gn/C/com.apple.DeveloperTools/12.4-12D4e/Xcode
    export CCHROOT\=/var/folders/gv/94h5ln892_b__zcbg_rwktr40000gn/C/com.apple.DeveloperTools/12.4-12D4e/Xcode
    export CHMOD\=/bin/chmod
    export CHOWN\=/usr/sbin/chown
    export CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED\=YES
    export CLANG_ANALYZER_NONNULL\=YES
    export CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION\=YES_AGGRESSIVE
    export CLANG_CXX_LANGUAGE_STANDARD\=c++14
    export CLANG_CXX_LIBRARY\=libc++
    export CLANG_ENABLE_MODULES\=YES
    export CLANG_ENABLE_OBJC_ARC\=YES
    export CLANG_ENABLE_OBJC_WEAK\=NO
    export CLANG_MODULES_BUILD_SESSION_FILE\=/Users/xxxxxxxxxx/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_DOCUMENTATION_COMMENTS\=YES
    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_UNGUARDED_AVAILABILITY\=YES_AGGRESSIVE
    export CLANG_WARN_UNREACHABLE_CODE\=YES
    export CLANG_WARN__DUPLICATE_METHOD_MATCH\=YES
    export CLASS_FILE_DIR\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build/JavaClasses
    export CLEAN_PRECOMPS\=YES
    export CLONE_HEADERS\=NO
    export CODESIGNING_FOLDER_PATH\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Products/Debug-iphonesimulator/FBReactNativeSpec/
    export CODE_SIGNING_ALLOWED\=NO
    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/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Intermediates.noindex/CompositeSDKs
    export COMPRESS_PNG_FILES\=YES
    export CONFIGURATION\=Debug
    export CONFIGURATION_BUILD_DIR\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Products/Debug-iphonesimulator/FBReactNativeSpec
    export CONFIGURATION_TEMP_DIR\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator
    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/iPhoneOS14.4.sdk
    export CORRESPONDING_DEVICE_SDK_NAME\=iphoneos14.4
    export CP\=/bin/cp
    export CREATE_INFOPLIST_SECTION_IN_BINARY\=NO
    export CURRENT_ARCH\=undefined_arch
    export CURRENT_VARIANT\=normal
    export DEAD_CODE_STRIPPING\=YES
    export DEBUGGING_SYMBOLS\=YES
    export DEBUG_INFORMATION_FORMAT\=dwarf
    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_CLANG_ENV_NAME\=IPHONEOS_DEPLOYMENT_TARGET
    export DEPLOYMENT_TARGET_CLANG_FLAG_NAME\=mios-simulator-version-min
    export DEPLOYMENT_TARGET_CLANG_FLAG_PREFIX\=-mios-simulator-version-min\=
    export DEPLOYMENT_TARGET_LD_ENV_NAME\=IPHONEOS_DEPLOYMENT_TARGET
    export DEPLOYMENT_TARGET_LD_FLAG_NAME\=ios_simulator_version_min
    export DEPLOYMENT_TARGET_SETTING_NAME\=IPHONEOS_DEPLOYMENT_TARGET
    export DEPLOYMENT_TARGET_SUGGESTED_VALUES\=9.0\ 9.2\ 10.0\ 10.2\ 11.0\ 11.2\ 11.4\ 12.1\ 12.3\ 13.0\ 13.2\ 13.4\ 13.6\ 14.1\ 14.3\ 14.4
    export DERIVED_FILES_DIR\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build/DerivedSources
    export DERIVED_FILE_DIR\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build/DerivedSources
    export DERIVED_SOURCES_DIR\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.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 DONT_GENERATE_INFOPLIST_FILE\=NO
    export DO_HEADER_SCANNING_IN_JAM\=NO
    export DSTROOT\=/tmp/Pods.dst
    export DT_TOOLCHAIN_DIR\=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
    export DWARF_DSYM_FILE_NAME\=.dSYM
    export DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT\=NO
    export DWARF_DSYM_FOLDER_PATH\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Products/Debug-iphonesimulator/FBReactNativeSpec
    export EFFECTIVE_PLATFORM_NAME\=-iphonesimulator
    export EMBEDDED_CONTENT_CONTAINS_SWIFT\=NO
    export EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE\=NO
    export ENABLE_BITCODE\=NO
    export ENABLE_DEFAULT_HEADER_SEARCH_PATHS\=YES
    export ENABLE_HARDENED_RUNTIME\=NO
    export ENABLE_HEADER_DEPENDENCIES\=YES
    export ENABLE_ON_DEMAND_RESOURCES\=NO
    export ENABLE_PREVIEWS\=NO
    export ENABLE_STRICT_OBJC_MSGSEND\=YES
    export ENABLE_TESTABILITY\=YES
    export ENABLE_TESTING_SEARCH_PATHS\=NO
    export ENTITLEMENTS_DESTINATION\=__entitlements
    export ENTITLEMENTS_REQUIRED\=YES
    export EXCLUDED_ARCHS\=arm64\ 
    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 FILE_LIST\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build/Objects/LinkFileList
    export FIXED_FILES_DIR\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build/FixedFiles
    export FRAMEWORK_VERSION\=A
    export GCC3_VERSION\=3.3
    export GCC_C_LANGUAGE_STANDARD\=gnu11
    export GCC_DYNAMIC_NO_PIC\=NO
    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\=POD_CONFIGURATION_DEBUG\=1\ DEBUG\=1\ \ COCOAPODS\=1
    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/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator
    export GENERATE_MASTER_OBJECT_FILE\=NO
    export GENERATE_PKGINFO_FILE\=NO
    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/xxxxxxxxxx/Desktop/AwesomeApp/ios/Pods/Headers/Public\"\ \"/Users/xxxxxxxxxx/Desktop/AwesomeApp/ios/Pods/Headers/Public/DoubleConversion\"\ \"/Users/xxxxxxxxxx/Desktop/AwesomeApp/ios/Pods/Headers/Public/FBLazyVector\"\ \"/Users/xxxxxxxxxx/Desktop/AwesomeApp/ios/Pods/Headers/Public/RCT-Folly\"\ \"/Users/xxxxxxxxxx/Desktop/AwesomeApp/ios/Pods/Headers/Public/RCTRequired\"\ \"/Users/xxxxxxxxxx/Desktop/AwesomeApp/ios/Pods/Headers/Public/RCTTypeSafety\"\ \"/Users/xxxxxxxxxx/Desktop/AwesomeApp/ios/Pods/Headers/Public/React-Core\"\ \"/Users/xxxxxxxxxx/Desktop/AwesomeApp/ios/Pods/Headers/Public/React-callinvoker\"\ \"/Users/xxxxxxxxxx/Desktop/AwesomeApp/ios/Pods/Headers/Public/React-cxxreact\"\ \"/Users/xxxxxxxxxx/Desktop/AwesomeApp/ios/Pods/Headers/Public/React-jsi\"\ \"/Users/xxxxxxxxxx/Desktop/AwesomeApp/ios/Pods/Headers/Public/React-jsiexecutor\"\ \"/Users/xxxxxxxxxx/Desktop/AwesomeApp/ios/Pods/Headers/Public/React-jsinspector\"\ \"/Users/xxxxxxxxxx/Desktop/AwesomeApp/ios/Pods/Headers/Public/React-perflogger\"\ \"/Users/xxxxxxxxxx/Desktop/AwesomeApp/ios/Pods/Headers/Public/React-runtimeexecutor\"\ \"/Users/xxxxxxxxxx/Desktop/AwesomeApp/ios/Pods/Headers/Public/ReactCommon\"\ \"/Users/xxxxxxxxxx/Desktop/AwesomeApp/ios/Pods/Headers/Public/Yoga\"\ \"/Users/xxxxxxxxxx/Desktop/AwesomeApp/ios/Pods/Headers/Public/glog\"\ \"/Users/xxxxxxxxxx/Desktop/AwesomeApp/ios/Pods/../../node_modules/react-native/React/FBReactNativeSpec/React/FBReactNativeSpec\"\ \"/Users/xxxxxxxxxx/Desktop/AwesomeApp/ios/Pods/RCT-Folly\"
    export HIDE_BITCODE_SYMBOLS\=YES
    export HOME\=/Users/xxxxxxxxxx
    export ICONV\=/usr/bin/iconv
    export INFOPLIST_EXPAND_BUILD_SETTINGS\=YES
    export INFOPLIST_OUTPUT_FORMAT\=binary
    export INFOPLIST_PREPROCESS\=NO
    export INLINE_PRIVATE_FRAMEWORKS\=NO
    export INSTALLHDRS_COPY_PHASE\=NO
    export INSTALLHDRS_SCRIPT_PHASE\=NO
    export INSTALL_DIR\=/tmp/Pods.dst
    export INSTALL_GROUP\=staff
    export INSTALL_MODE_FLAG\=u+w,go-w,a+rX
    export INSTALL_OWNER\=xxxxxxxxxx
    export INSTALL_ROOT\=/tmp/Pods.dst
    export IPHONEOS_DEPLOYMENT_TARGET\=10.0
    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_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/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build/Objects-normal/undefined_arch/FBReactNativeSpec_dependency_info.dat
    export LD_GENERATE_MAP_FILE\=NO
    export LD_MAP_FILE_PATH\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build/FBReactNativeSpec-LinkMap-normal-undefined_arch.txt
    export LD_NO_PIE\=NO
    export LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER\=YES
    export LD_RUNPATH_SEARCH_PATHS\=\ @executable_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_KEXT_INSTALL_PATH\=/Library/Extensions
    export LINKER_DISPLAYS_MANGLED_NAMES\=NO
    export LINK_FILE_LIST_normal_x86_64\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build/Objects-normal/x86_64/FBReactNativeSpec.LinkFileList
    export LINK_WITH_STANDARD_LIBRARIES\=YES
    export LLVM_TARGET_TRIPLE_OS_VERSION\=ios10.0
    export LLVM_TARGET_TRIPLE_SUFFIX\=-simulator
    export LLVM_TARGET_TRIPLE_VENDOR\=apple
    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/xxxxxxxxxx/Desktop/AwesomeApp/ios/Pods
    export LOCSYMROOT\=/Users/xxxxxxxxxx/Desktop/AwesomeApp/ios/Pods
    export MAC_OS_X_PRODUCT_BUILD_VERSION\=20D91
    export MAC_OS_X_VERSION_ACTUAL\=110203
    export MAC_OS_X_VERSION_MAJOR\=110000
    export MAC_OS_X_VERSION_MINOR\=110200
    export METAL_LIBRARY_FILE_BASE\=default
    export METAL_LIBRARY_OUTPUT_DIR\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Products/Debug-iphonesimulator/FBReactNativeSpec/
    export MODULE_CACHE_DIR\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/ModuleCache.noindex
    export MTL_ENABLE_DEBUG_INFO\=INCLUDE_SOURCE
    export MTL_FAST_MATH\=YES
    export NATIVE_ARCH\=x86_64
    export NATIVE_ARCH_32_BIT\=i386
    export NATIVE_ARCH_64_BIT\=x86_64
    export NATIVE_ARCH_ACTUAL\=x86_64
    export NO_COMMON\=YES
    export OBJC_ABI_VERSION\=2
    export OBJECT_FILE_DIR\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build/Objects
    export OBJECT_FILE_DIR_normal\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build/Objects-normal
    export OBJROOT\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Intermediates.noindex
    export ONLY_ACTIVE_ARCH\=YES
    export OS\=MACOS
    export OSAC\=/usr/bin/osacompile
    export OTHER_CFLAGS\=\ -fmodule-map-file\=\"/Users/xxxxxxxxxx/Desktop/AwesomeApp/ios/Pods/Headers/Public/React/React-Core.modulemap\"\ -fmodule-map-file\=\"/Users/xxxxxxxxxx/Desktop/AwesomeApp/ios/Pods/Headers/Public/yoga/Yoga.modulemap\"
    export OTHER_CPLUSPLUSFLAGS\=\ -fmodule-map-file\=\"/Users/xxxxxxxxxx/Desktop/AwesomeApp/ios/Pods/Headers/Public/React/React-Core.modulemap\"\ -fmodule-map-file\=\"/Users/xxxxxxxxxx/Desktop/AwesomeApp/ios/Pods/Headers/Public/yoga/Yoga.modulemap\"
    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/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/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 PER_ARCH_OBJECT_FILE_DIR\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build/Objects-normal/undefined_arch
    export PER_VARIANT_OBJECT_FILE_DIR\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build/Objects-normal
    export PKGINFO_FILE_PATH\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build/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\=18D46
    export PLIST_FILE_OUTPUT_FORMAT\=binary
    export PODS_BUILD_DIR\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Products
    export PODS_CONFIGURATION_BUILD_DIR\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Products/Debug-iphonesimulator
    export PODS_ROOT\=/Users/xxxxxxxxxx/Desktop/AwesomeApp/ios/Pods
    export PODS_TARGET_SRCROOT\=/Users/xxxxxxxxxx/Desktop/AwesomeApp/ios/Pods/../../node_modules/react-native/React/FBReactNativeSpec
    export PODS_XCFRAMEWORKS_BUILD_DIR\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates
    export PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR\=YES
    export PRECOMP_DESTINATION_DIR\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build/PrefixHeaders
    export PRESERVE_DEAD_CODE_INITS_AND_TERMS\=NO
    export PRODUCT_BUNDLE_IDENTIFIER\=org.cocoapods.FBReactNativeSpec
    export PRODUCT_MODULE_NAME\=FBReactNativeSpec
    export PRODUCT_NAME\=FBReactNativeSpec
    export PRODUCT_SETTINGS_PATH\=
    export PROFILING_CODE\=NO
    export PROJECT\=Pods
    export PROJECT_DERIVED_FILE_DIR\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Intermediates.noindex/Pods.build/DerivedSources
    export PROJECT_DIR\=/Users/xxxxxxxxxx/Desktop/AwesomeApp/ios/Pods
    export PROJECT_FILE_PATH\=/Users/xxxxxxxxxx/Desktop/AwesomeApp/ios/Pods/Pods.xcodeproj
    export PROJECT_NAME\=Pods
    export PROJECT_TEMP_DIR\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Intermediates.noindex/Pods.build
    export PROJECT_TEMP_ROOT\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Intermediates.noindex
    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/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build/ResourceManagerResources
    export REZ_OBJECTS_DIR\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build/ResourceManagerResources/Objects
    export SCAN_ALL_SOURCE_FILES_FOR_INCLUDES\=NO
    export SCRIPT_INPUT_FILE_0\=/Users/xxxxxxxxxx/Desktop/AwesomeApp/node_modules/react-native/Libraries
    export SCRIPT_INPUT_FILE_COUNT\=1
    export SCRIPT_INPUT_FILE_LIST_COUNT\=0
    export SCRIPT_OUTPUT_FILE_0\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build/DerivedSources/codegen-FBReactNativeSpec.log
    export SCRIPT_OUTPUT_FILE_1\=/Users/xxxxxxxxxx/Desktop/AwesomeApp/node_modules/react-native/React/FBReactNativeSpec/FBReactNativeSpec/FBReactNativeSpec.h
    export SCRIPT_OUTPUT_FILE_2\=/Users/xxxxxxxxxx/Desktop/AwesomeApp/node_modules/react-native/React/FBReactNativeSpec/FBReactNativeSpec/FBReactNativeSpec-generated.mm
    export SCRIPT_OUTPUT_FILE_COUNT\=3
    export SCRIPT_OUTPUT_FILE_LIST_COUNT\=0
    export SDKROOT\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk
    export SDK_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk
    export SDK_DIR_iphonesimulator14_4\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk
    export SDK_NAME\=iphonesimulator14.4
    export SDK_NAMES\=iphonesimulator14.4
    export SDK_PRODUCT_BUILD_VERSION\=18D46
    export SDK_VERSION\=14.4
    export SDK_VERSION_ACTUAL\=140400
    export SDK_VERSION_MAJOR\=140000
    export SDK_VERSION_MINOR\=140400
    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\=NO
    export SHARED_DERIVED_FILE_DIR\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Products/Debug-iphonesimulator/FBReactNativeSpec/DerivedSources
    export SHARED_PRECOMPS_DIR\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Intermediates.noindex/PrecompiledHeaders
    export SKIP_INSTALL\=YES
    export SOURCE_ROOT\=/Users/xxxxxxxxxx/Desktop/AwesomeApp/ios/Pods
    export SRCROOT\=/Users/xxxxxxxxxx/Desktop/AwesomeApp/ios/Pods
    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_TEXT_BASED_API\=NO
    export SWIFT_ACTIVE_COMPILATION_CONDITIONS\=DEBUG
    export SWIFT_OPTIMIZATION_LEVEL\=-Onone
    export SWIFT_PLATFORM_TARGET_PREFIX\=ios
    export SWIFT_RESPONSE_FILE_PATH_normal_x86_64\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build/Objects-normal/x86_64/FBReactNativeSpec.SwiftFileList
    export SWIFT_VERSION\=5.0
    export SYMROOT\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/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_KEXT_INSTALL_PATH\=/System/Library/Extensions
    export SYSTEM_LIBRARY_DIR\=/System/Library
    export TAPI_VERIFY_MODE\=ErrorsOnly
    export TARGETED_DEVICE_FAMILY\=1,2
    export TARGETNAME\=FBReactNativeSpec
    export TARGET_BUILD_DIR\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Products/Debug-iphonesimulator/FBReactNativeSpec
    export TARGET_DEVICE_IDENTIFIER\=FCE66518-A263-48A4-B609-56268BAA93FB
    export TARGET_DEVICE_MODEL\=iPod9,1
    export TARGET_DEVICE_OS_VERSION\=14.4
    export TARGET_NAME\=FBReactNativeSpec
    export TARGET_TEMP_DIR\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build
    export TEMP_DIR\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build
    export TEMP_FILES_DIR\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build
    export TEMP_FILE_DIR\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build
    export TEMP_ROOT\=/Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/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/iPhoneSimulator14.4.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 UID\=501
    export UNSTRIPPED_PRODUCT\=NO
    export USER\=xxxxxxxxxx
    export USER_APPS_DIR\=/Users/xxxxxxxxxx/Applications
    export USER_LIBRARY_DIR\=/Users/xxxxxxxxxx/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 VALIDATE_WORKSPACE\=YES_ERROR
    export VALID_ARCHS\=arm64\ arm64e\ i386\ x86_64
    export VERBOSE_PBXCP\=NO
    export VERSION_INFO_BUILDER\=xxxxxxxxxx
    export VERSION_INFO_FILE\=FBReactNativeSpec_vers.c
    export VERSION_INFO_STRING\=\"@\(\#\)PROGRAM:FBReactNativeSpec\ \ PROJECT:Pods-\"
    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\=12D4e
    export XCODE_VERSION_ACTUAL\=1240
    export XCODE_VERSION_MAJOR\=1200
    export XCODE_VERSION_MINOR\=1240
    export XPCSERVICES_FOLDER_PATH\=/XPCServices
    export YACC\=yacc
    export arch\=undefined_arch
    export variant\=normal
    /bin/sh -c /Users/xxxxxxxxxx/Library/Developer/Xcode/DerivedData/AwesomeApp-dazbylasgzuujydptsbwykxurivd/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build/Script-7E2892D436C062F8905D5ABF30ABF529.sh
/Users/xxxxxxxxxx/Desktop/AwesomeApp/node_modules/react-native/scripts/generate-specs.sh: line 27: readlink: command not found
/Users/xxxxxxxxxx/Desktop/AwesomeApp/node_modules/react-native/scripts/generate-specs.sh: line 27: dirname: command not found
/Users/xxxxxxxxxx/Desktop/AwesomeApp/node_modules/react-native/scripts/generate-specs.sh: line 27: cd: : No such file or directory
Command PhaseScriptExecution failed with a nonzero exit code

React Native version:

System:
    OS: macOS 11.2.3
    CPU: (6) x64 Intel(R) Core(TM) i5-8500B CPU @ 3.00GHz
    Memory: 634.61 MB / 20.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 14.16.0 - /usr/local/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 6.14.11 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.10.1 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 14.4, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2
    Android SDK: Not Found
  IDEs:
    Android Studio: 3.5 AI-191.8026.42.35.5900203
    Xcode: 12.4/12D4e - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.9.1 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.1 => 17.0.1 
    react-native: 0.64.0 => 0.64.0 
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Steps To Reproduce

Provide a detailed list of steps that reproduce the issue.

1. npx react-native init AwesomeApp --template react-native-template-typescript
2. npx react-native run-ios

Expected Results

The app build failed

Snack, code example, screenshot, or link to a repository:

sankalp98 commented 3 years ago

same issue here

GuuHeng commented 3 years ago

same issue!!!

offcarlospetit commented 3 years ago

same issue here

its rare, because a i have another macbook with the same config and works perfectly

sankalp98 commented 3 years ago

a lot of people are having the same issue. Many solved it by finding that their project path has 'space' like '/Users/SomeFolder/Some Project'. They removed the space as '/Users/SomeFolder/SomeProject' and got it working. You should check your project path. I dont have any space in my project path but it still aint working

offcarlospetit commented 3 years ago

a lot of people are having the same issue. Many solved it by finding that their project path has 'space' like '/Users/SomeFolder/Some Project'. They removed the space as '/Users/SomeFolder/SomeProject' and got it working. You should check your project path. I dont have any space in my project path but it still aint working

i created a new project called "project" and check every single space and nothing, still doesn't work

nguyentanhoangnth commented 3 years ago

i have same issue . After 4 hour research . I found the my mistake . My path folder as "/Users/Some Folder/Project". You should create project without space any sub-folder , like this "/Users/SomeFolder/Project" And i have solved my problem I hope it's useful for you

carlospetitsr commented 3 years ago

i have same issue . After 4 hour research . I found the my mistake . My path folder as "/Users/Some Folder/Project". You should create project without space any sub-folder , like this "/Users/SomeFolder/Project" And i have solved my problem I hope it's useful for you

unfortunately still not working, try to uninstall xcode, node, yarn, reinstall cocoa, and nothing

GuuHeng commented 3 years ago

same issue!!!

0.64 does not work, I switched to 0.62, 0.62 works --!

carlospetitsr commented 3 years ago

same issue!!!

0.64 does not work, I switched to 0.62, 0.62 works --!

Did you try version 0.63?

GuuHeng commented 3 years ago

same issue!!!

0.64 does not work, I switched to 0.62, 0.62 works --!

I gave up 0.64.Waste me a long time

carlospetitsr commented 3 years ago

same issue!!!

0.64 does not work, I switched to 0.62, 0.62 works --!

I gave up 0.64.Waste me a long time

I have an application with 0.64 in the application store and I am afraid to change the version

GuuHeng commented 3 years ago

same issue!!!

0.64 does not work, I switched to 0.62, 0.62 works --!

Did you try version 0.63?

i'm going to try

GuuHeng commented 3 years ago

same issue!!!

0.64 does not work, I switched to 0.62, 0.62 works --!

I gave up 0.64.Waste me a long time

I have an application with 0.64 in the application store and I am afraid to change the version

Mine is a new project

GuuHeng commented 3 years ago

same issue!!!

0.64 does not work, I switched to 0.62, 0.62 works --!

Did you try version 0.63?

BUILD FAILED

0.63 doesn't work The following build commands failed: CompileC /Users//Library/Developer/Xcode/DerivedData/AwesomeProje63-bnceouugnrmkkmhkgiiwcwpepobk/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/FlipperRSocketResponder.o /Users//AwesomeProje63/ios/Pods/Flipper/xplat/Flipper/FlipperRSocketResponder.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (1 failure)

offcarlospetit commented 3 years ago

same issue!!!

0.64 does not work, I switched to 0.62, 0.62 works --!

Did you try version 0.63?

BUILD FAILED

0.63 doesn't work The following build commands failed: CompileC /Users//Library/Developer/Xcode/DerivedData/AwesomeProje63-bnceouugnrmkkmhkgiiwcwpepobk/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/FlipperRSocketResponder.o /Users//AwesomeProje63/ios/Pods/Flipper/xplat/Flipper/FlipperRSocketResponder.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (1 failure)

haha it was just doing the same and it produced the same error, it's frustrating

nguyentanhoangnth commented 3 years ago

I'm using React 0.64. Xcode 12.2 , IDE: Visual Code I tried change path on exist Project which build fail but it doesn't work. That's mean , if you have a project fail building and you try change your project path , it doesn't work too. So you should following solution :

dengnidejijie commented 3 years ago

I have the same issue. I have init a new project with 0.64, it doesn't work and pod install error.

rdhox commented 3 years ago

Same here, impossible to install cocoapod dependencies.

dengnidejijie commented 3 years ago

Xcode: 12.3 MacOS:11.1 IDE: Visual Code or WebStorm I initialized a new project with version 0.64. step1: sudo gem install cocoapods pod version: 1.10.1 step2: pod repo update step3: pod install step4: Xcode run the project Working smoothly

loursbourg commented 3 years ago

Same here, 0.64 is a mess. iOS build is failing on newly created projects.

ugglr commented 3 years ago

+1 npx react-native init App -> yarn ios Fails in the terminal.

It works for me to run the project through xCode.

efstathiosntonas commented 3 years ago

There seems to be an issue with coreutils on macOS.

What fixed it for me is:

  1. brew install coreutils
  2. brew install findutils
  3. brew install gnu-sed

Finally change the node_modules/react-native/scripts/generate-specs.sh to:


#!/bin/bash
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

# This script collects the JavaScript spec definitions for core
# native modules and components, then uses react-native-codegen
# to generate native code.
#
# Optionally, set these envvars to override defaults:
# - SRCS_DIR: Path to JavaScript sources
# - CODEGEN_MODULES_LIBRARY_NAME: Defaults to FBReactNativeSpec
# - CODEGEN_MODULES_OUTPUT_DIR: Defaults to React/$CODEGEN_MODULES_LIBRARY_NAME/$CODEGEN_MODULES_LIBRARY_NAME
# - CODEGEN_COMPONENTS_LIBRARY_NAME: Defaults to rncore
# - CODEGEN_COMPONENTS_OUTPUT_DIR: Defaults to ReactCommon/react/renderer/components/$CODEGEN_COMPONENTS_LIBRARY_NAME
#
# Usage:
#   ./scripts/generate-specs.sh
#   SRCS_DIR=myapp/js CODEGEN_MODULES_LIBRARY_NAME=MySpecs CODEGEN_MODULES_OUTPUT_DIR=myapp/MySpecs ./scripts/generate-specs.sh
#

# shellcheck disable=SC2038

set -e

THIS_DIR=$(cd -P "$(gdirname "$(greadlink "${BASH_SOURCE[0]}" || echo "${BASH_SOURCE[0]}")")" && pwd)
TEMP_DIR=$(gmktemp -d /tmp/react-native-codegen-XXXXXXXX)
RN_DIR=$(cd "$THIS_DIR/.." && pwd)

# find node path
source "$RN_DIR/scripts/find-node.sh"

NODE_BINARY="${NODE_BINARY:-$(command -v node || true)}"
USE_FABRIC="${USE_FABRIC:-0}"

cleanup () {
  set +e
  grm -rf "$TEMP_DIR"
  set -e
}

describe () {
  printf "\\n\\n>>>>> %s\\n\\n\\n" "$1"
}

main() {
  SRCS_DIR=${SRCS_DIR:-$(cd "$RN_DIR/Libraries" && pwd)}
  CODEGEN_MODULES_LIBRARY_NAME=${CODEGEN_MODULES_LIBRARY_NAME:-FBReactNativeSpec}

  CODEGEN_COMPONENTS_LIBRARY_NAME=${CODEGEN_COMPONENTS_LIBRARY_NAME:-rncore}
  CODEGEN_MODULES_OUTPUT_DIR=${CODEGEN_MODULES_OUTPUT_DIR:-"$RN_DIR/React/$CODEGEN_MODULES_LIBRARY_NAME/$CODEGEN_MODULES_LIBRARY_NAME"}
  # TODO: $CODEGEN_COMPONENTS_PATH should be programmatically specified, and may change with use_frameworks! support.
  CODEGEN_COMPONENTS_PATH="ReactCommon/react/renderer/components"
  CODEGEN_COMPONENTS_OUTPUT_DIR=${CODEGEN_COMPONENTS_OUTPUT_DIR:-"$RN_DIR/$CODEGEN_COMPONENTS_PATH/$CODEGEN_COMPONENTS_LIBRARY_NAME"}

  TEMP_OUTPUT_DIR="$TEMP_DIR/out"
  SCHEMA_FILE="$TEMP_DIR/schema.json"

  if [ -z "$NODE_BINARY" ]; then
    echo "Error: Could not find node. Make sure it is in bash PATH or set the NODE_BINARY environment variable." 1>&2
    exit 1
  fi

  CODEGEN_PATH=$("$NODE_BINARY" -e "console.log(require('path').dirname(require.resolve('react-native-codegen/package.json')))")

  # Special case for running CodeGen from source: build it
  if [ ! -d "$CODEGEN_PATH/lib" ]; then
    describe "Building react-native-codegen package"
    bash "$CODEGEN_PATH/scripts/oss/build.sh"
  fi

  describe "Generating schema from flow types"
  "$NODE_BINARY" "$CODEGEN_PATH/lib/cli/combine/combine-js-to-schema-cli.js" "$SCHEMA_FILE" "$SRCS_DIR"

  describe "Generating native code from schema (iOS)"
  pushd "$RN_DIR" >/dev/null || exit 1
    "$NODE_BINARY" scripts/generate-specs-cli.js ios "$SCHEMA_FILE" "$TEMP_OUTPUT_DIR" "$CODEGEN_MODULES_LIBRARY_NAME"
  popd >/dev/null || exit 1

  describe "Copying output to final directory"
  gmkdir -p "$CODEGEN_COMPONENTS_OUTPUT_DIR" "$CODEGEN_MODULES_OUTPUT_DIR"
  gcp -R "$TEMP_OUTPUT_DIR/$CODEGEN_MODULES_LIBRARY_NAME.h" "$TEMP_OUTPUT_DIR/$CODEGEN_MODULES_LIBRARY_NAME-generated.mm" "$CODEGEN_MODULES_OUTPUT_DIR" || exit 1
  gfind "$TEMP_OUTPUT_DIR" -type f | gxargs gsed -i.bak "s/$CODEGEN_MODULES_LIBRARY_NAME/$CODEGEN_COMPONENTS_LIBRARY_NAME/g" || exit 1
  gfind "$TEMP_OUTPUT_DIR" -type f -not -iname "$CODEGEN_MODULES_LIBRARY_NAME*" -exec cp '{}' "$CODEGEN_COMPONENTS_OUTPUT_DIR/" ';' || exit 1

  echo >&2 'Done.'
}

trap cleanup EXIT
main "$@"

notice that some commands are starting with g like greadlink etc.

if your get invalid identifier error in react-native-xcode.sh then under Build Phases -> Bundle React Native code and images it should be: (notice the double quotes):

set -e
export NODE_BINARY="node ../node_modules/react-native/scripts/react-native-xcode.sh"

use patch-package react-native to patch it (if project is being developed on different machines then they must install the brew packages above)

ugglr commented 3 years ago

To get a new init to work is one thing, but if installing/updating packages is necessary then it needs to be in the official docs over in environment setup. Who want's to init a new project all according to the docs only to find out that right out the gate it needs more steps, or hours of googling just to show the welcome screen. (on iOS)

ugglr commented 3 years ago

I could actually solve my problem in a bare RN project by re-installing nvm and then reinstalling all dependancies in the project.

Rough steps:

installing nvm, docs in their official repo: https://github.com/nvm-sh/nvm

Then I reinstalled node: nvm install node && nvm alias default node

Then I deleted the following things from my project:

Then I reinstalled node_modules yarn

Then cd ios -> pod install --repo-update

Finally I could go and start the simulator as normal npx react-native run-ios

Hope that helps someone.

nitaking commented 3 years ago

My solutions:

# This issue:
## Disable bad script for PhaseScriptExecution
rm node_modules/react-native/scripts/find-node.sh
touch node_modules/react-native/scripts/find-node.sh

# Other issue
## Not Found ios/main.jsbundle: https://github.com/facebook/react-native/issues/31094
touch ios/main.jsbundle
sgabriel commented 3 years ago

In my case it helped upgrading nvm, following this guide: https://github.com/nvm-sh/nvm#manual-upgrade

sw517227087 commented 3 years ago

Same here, but 0.63 build Success

vesai commented 3 years ago

I had the same situation. I looked to a file that call script generate-specs.sh and I found ios/Pods/Pods.xcodeproj/project.pbxproj. I tried to change bash to zsh (because it is default in my laptop). And build is started working. Then I tried to find reason why bash didn't work and I have found.

Look at my ~/.bash_profile before changes:

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion

export ANDROID_HOME=$HOME/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/tools/bin
export PATH=$PATH:$ANDROID_HOME/platform-tools
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$HOME/Library/Python/3.7/bin

In the last line $PATH: was missed, I have added it and my building starts working:

export PATH=$PATH:$HOME/Library/Python/3.7/bin

Summary

Check all lines with export PATH in your ~/.bash_profile and ensure that all these lines not override previous value (have $PATH: afret =).

khanakia commented 3 years ago

I found the solution after hours of debugging you need to modify this file for now.

  1. Edit this file /node_modules/react-native/React/FBReactNativeSpec/../../scripts/generate-specs.sh
  2. Add this line export PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin
  3. Then run the project using Xcode it will work 100%
LouiseReid commented 3 years ago

I found the solution after hours of debugging you need to modify this file for now.

  1. Edit this file /node_modules/react-native/React/FBReactNativeSpec/../../scripts/generate-specs.sh
  2. Add this line export PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin
  3. Then run the project using Xcode it will work 100%

I've spent hours trying various other solutions and this is the only one that works

khanakia commented 3 years ago

@LouiseReid I am glad my solution worked 😄

wirelisa commented 3 years ago

I found the solution after hours of debugging you need to modify this file for now.

  1. Edit this file /node_modules/react-native/React/FBReactNativeSpec/../../scripts/generate-specs.sh
  2. Add this line export PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin
  3. Then run the project using Xcode it will work 100%

Thank you very much @khanakia , saved my life 😊 Many people faced with this issue, some of them solved it by using different ways but non of them worked for me except yours ❤️

ibenettaleb commented 2 years ago

I found the solution after hours of debugging you need to modify this file for now.

  1. Edit this file /node_modules/react-native/React/FBReactNativeSpec/../../scripts/generate-specs.sh
  2. Add this line export PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin
  3. Then run the project using Xcode it will work 100%

I've spent hours trying various other solutions and this is the only one that works

Thank you khanakia ❤️

I just did a little update, i add this command line export PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin to

/node_modules/react-native/scripts/generate-specs.sh

instead of /node_modules/react-native/React/FBReactNativeSpec/../../scripts/generate-specs.sh

And its work.

edward-hunt commented 2 years ago

I found the solution after hours of debugging you need to modify this file for now.

  1. Edit this file /node_modules/react-native/React/FBReactNativeSpec/../../scripts/generate-specs.sh
  2. Add this line export PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin
  3. Then run the project using Xcode it will work 100%

I've spent hours trying various other solutions and this is the only one that works

Thank you khanakia ❤️

I just did a little update, i add this command line export PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin to

/node_modules/react-native/scripts/generate-specs.sh

instead of /node_modules/react-native/React/FBReactNativeSpec/../../scripts/generate-specs.sh

And its work.

This worked for me. The directory in Step 1 above didn't exist in my node_modules folder so I did the same thing as ibenettaleb and it finally worked! Thank you! I've been looking at this for a couple of days now!

github-actions[bot] commented 10 months ago

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 10 months ago

This issue was closed because it has been stalled for 7 days with no activity.

zainulabideen-dev commented 2 weeks ago

i have same issue . After 4 hour research . I found the my mistake . My path folder as "/Users/Some Folder/Project". You should create project without space any sub-folder , like this "/Users/SomeFolder/Project" And i have solved my problem I hope it's useful for you

This thing actually works for me. thanks!