facebook / react-native

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

Command PhaseScriptExecution failed with a nonzero exit code #34474

Closed sailinz closed 2 years ago

sailinz commented 2 years ago

Description

Trying to load a public react-native project: https://github.com/dramsay9/reactnative-attentionapp and got the below error in Xcode:

 /bin/sh -c /Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-bxdxpymlnyawuofimfjmwtyperdx/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/FBReactNativeSpec.build/Script-5F3DB3CFA631AC0192B75E29E50D22E5.sh

Command PhaseScriptExecution failed with a nonzero exit code 

Configuration did to run this project:

Version

0.67.2

Output of npx react-native info

info Fetching system and libraries information... System: OS: macOS 12.5 CPU: (8) x64 Intel(R) Core(TM) i7-8569U CPU @ 2.80GHz Memory: 185.62 MB / 16.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 16.17.0 - ~/.nvm/versions/node/v16.17.0/bin/node Yarn: Not Found npm: 8.15.0 - ~/.nvm/versions/node/v16.17.0/bin/npm Watchman: 2022.08.15.00 - /usr/local/bin/watchman Managers: CocoaPods: 1.11.3 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5 Android SDK: Not Found IDEs: Android Studio: 2021.1 AI-211.7628.21.2111.8193401 Xcode: 13.4.1/13F100 - /usr/bin/xcodebuild Languages: Java: 1.8.0_332-internal - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 17.0.2 => 17.0.2 react-native: 0.67.2 => 0.67.2 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found

Steps to reproduce

Both "run" using Xcode and npx react-native run-ios --device "" gives the same error.

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

Results using npx react-native run-ios --device "

** BUILD FAILED **
The following build commands failed:
    PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-bxdxpymlnyawuofimfjmwtyperdx/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/FBReactNativeSpec.build/Script-5F3DB3CFA631AC0192B75E29E50D22E5.sh (in target 'FBReactNativeSpec' from project 'Pods')
(1 failure)

react-native doctor:

✓ Node.js
 ✖ yarn
   - Version found: N/A
   - Version supported: >= 1.10.x
 ✖ Watchman - Used for watching changes in the filesystem when in development mode
   - Version found: 2022.08.15.00
   - Version supported: 4.x

Android
 ✓ JDK
 ✓ Android Studio - Required for building and installing your app on Android
 ✖ Android SDK - Required for building and installing your app on Android
   - Versions found: N/A
   - Version supported: 30.0.2
 ✖ ANDROID_HOME

iOS
 ✓ Xcode - Required for building and installing your app on iOS
 ✓ CocoaPods - Required for installing iOS dependencies
 ● ios-deploy - Required for installing your app on a physical device with the CLI

env:

NVM_INC=/Users/zhongs/.nvm/versions/node/v16.17.0/include/node
NVM_RC_VERSION=
TERM_PROGRAM=Apple_Terminal
NVM_CD_FLAGS=
SHELL=/bin/bash
TERM=xterm-256color
TMPDIR=/var/folders/84/85yg3v756w90md_90mkspt3d0j0qsw/T/
TERM_PROGRAM_VERSION=445
OLDPWD=/Users/zhongs/Desktop/React_native/reactnative-attentionapp-main/ios
TERM_SESSION_ID=D150D757-B20D-4816-8388-2F719173DFCA
NVM_DIR=/Users/zhongs/.nvm
USER=zhongs
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.6jxunqy4sX/Listeners
PATH=/Users/zhongs/.nvm/versions/node/v16.17.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/share/dotnet:~/.dotnet/tools:/Library/Apple/usr/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands
__CFBundleIdentifier=com.apple.Terminal
PWD=/Users/zhongs/Desktop/MediaLab/visual_comfort/React_native/reactnative-attentionapp-main
XPC_FLAGS=0x0
XPC_SERVICE_NAME=0
SHLVL=1
HOME=/Users/zhongs
LOGNAME=zhongs
LC_CTYPE=UTF-8
NVM_BIN=/Users/zhongs/.nvm/versions/node/v16.17.0/bin
_=/usr/bin/env
sailinz commented 2 years ago

Using node version v16.17.0

jpudysz commented 2 years ago

It means that Metro can't bundle your JavaScript because of an error in your code.

lvlrSajjad commented 2 years ago

I get almost the same error and my code is ok. The funny thing is I haven't changed anything in my code since yesterday and today I cannot build my app and run it on simulator.

Error:

... A dump ....
2022-08-24 00:09:26.738 xcodebuild[37565:252133] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
2022-08-24 00:09:26.738 xcodebuild[37565:252133] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
** BUILD FAILED **

The following build commands failed:
        PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/[Username]/Library/Developer/Xcode/DerivedData/[app]-dtauwldctskhdihdhlfbxscrzavq/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build/Script-46EB2E0002A3B0.sh (in target 'FBReactNativeSpec' from project 'Pods')
(1 failure)

I am using React native version 0.69.4 and I was able to build my app yesterday. But today, each time I execute yarn ios I encounter this error.

I did a complete cleanup even re-installed my command line tools but no luck.

lvlrSajjad commented 2 years ago

Fixed it by removing ios/.xcode.env & ios/.xcode.env.local files. As I'm using two devices to build and distribute my app, it generates ios/.xcode.env.local file which creates this issue.

sailinz commented 2 years ago

Fixed it by removing ios/.xcode.env & ios/.xcode.env.local files. As I'm using two devices to build and distribute my app, it generates ios/.xcode.env.local file which creates this issue.

Thanks for sharing this. I don't see this in my ios folder for the react-native project though. My ios folder only has the following:

Am I looking at the wrong place?

lvlrSajjad commented 2 years ago

@sailinz This file is added in recent updates. Your RN is old. (An upgrade is recommended anyways) Though, can you share more lines from your error dump?

sailinz commented 2 years ago

This is the full error:

PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/FBReactNativeSpec.build/Script-5F3DB3CFA631AC0192B75E29E50D22E5.sh (in target 'FBReactNativeSpec' from project 'Pods')
    cd /Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/ios/Pods
    export ACTION\=build
    export AD_HOC_CODE_SIGNING_ALLOWED\=NO
    export ALLOW_TARGET_PLATFORM_SPECIALIZATION\=NO
    export ALTERNATE_GROUP\=1381752654
    export ALTERNATE_MODE\=u+w,go-w,a+rX
    export ALTERNATE_OWNER\=zhongs
    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\=arm64
    export ARCHS_STANDARD\=arm64
    export ARCHS_STANDARD_32_64_BIT\=armv7\ arm64
    export ARCHS_STANDARD_32_BIT\=armv7
    export ARCHS_STANDARD_64_BIT\=arm64
    export ARCHS_STANDARD_INCLUDING_64_BIT\=arm64
    export ARCHS_UNIVERSAL_IPHONE_OS\=armv7\ arm64
    export ASSETCATALOG_FILTER_FOR_DEVICE_MODEL\=iPhone11,8
    export ASSETCATALOG_FILTER_FOR_DEVICE_OS_VERSION\=15.0.1
    export AVAILABLE_PLATFORMS\=appletvos\ appletvsimulator\ driverkit\ 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/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Products
    export BUILD_LIBRARY_FOR_DISTRIBUTION\=NO
    export BUILD_ROOT\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Products
    export BUILD_STYLE\=
    export BUILD_VARIANTS\=normal
    export BUILT_PRODUCTS_DIR\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Products/Debug-iphoneos/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/84/85yg3v756w90md_90mkspt3d0j0qsw/C/com.apple.appstoreagent/com.apple.DeveloperTools/13.4.1-13F100/Xcode
    export CCHROOT\=/var/folders/84/85yg3v756w90md_90mkspt3d0j0qsw/C/com.apple.appstoreagent/com.apple.DeveloperTools/13.4.1-13F100/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/zhongs/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/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/FBReactNativeSpec.build/JavaClasses
    export CLEAN_PRECOMPS\=YES
    export CLONE_HEADERS\=NO
    export CODESIGNING_FOLDER_PATH\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Products/Debug-iphoneos/FBReactNativeSpec/FBReactNativeSpec.framework
    export CODE_SIGNING_ALLOWED\=YES
    export CODE_SIGNING_REQUIRED\=NO
    export CODE_SIGNING_REQUIRES_TEAM\=YES
    export CODE_SIGN_CONTEXT_CLASS\=XCiPhoneOSCodeSignContext
    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/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Intermediates.noindex/CompositeSDKs
    export COMPRESS_PNG_FILES\=YES
    export CONFIGURATION\=Debug
    export CONFIGURATION_BUILD_DIR\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Products/Debug-iphoneos/FBReactNativeSpec
    export CONFIGURATION_TEMP_DIR\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Intermediates.noindex/Pods.build/Debug-iphoneos
    export CONTENTS_FOLDER_PATH\=FBReactNativeSpec.framework
    export CONTENTS_FOLDER_PATH_SHALLOW_BUNDLE_NO\=FBReactNativeSpec.framework/A
    export CONTENTS_FOLDER_PATH_SHALLOW_BUNDLE_YES\=FBReactNativeSpec.framework
    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_SIMULATOR_PLATFORM_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
    export CORRESPONDING_SIMULATOR_PLATFORM_NAME\=iphonesimulator
    export CORRESPONDING_SIMULATOR_SDK_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.5.sdk
    export CORRESPONDING_SIMULATOR_SDK_NAME\=iphonesimulator15.5
    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 CURRENT_VERSION\=Current
    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\=YES
    export DEPLOYMENT_LOCATION\=NO
    export DEPLOYMENT_POSTPROCESSING\=NO
    export DEPLOYMENT_TARGET_SETTING_NAME\=IPHONEOS_DEPLOYMENT_TARGET
    export DEPLOYMENT_TARGET_SUGGESTED_VALUES\=9.0\ 9.1\ 9.2\ 9.3\ 10.0\ 10.1\ 10.2\ 10.3\ 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
    export DERIVED_FILES_DIR\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/FBReactNativeSpec.build/DerivedSources
    export DERIVED_FILE_DIR\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/FBReactNativeSpec.build/DerivedSources
    export DERIVED_SOURCES_DIR\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/FBReactNativeSpec.build/DerivedSources
    export DERIVE_MACCATALYST_PRODUCT_BUNDLE_IDENTIFIER\=NO
    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\=FBReactNativeSpec.framework/en.lproj/Documentation
    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\=FBReactNativeSpec.framework.dSYM
    export DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT\=NO
    export DWARF_DSYM_FOLDER_PATH\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Products/Debug-iphoneos/FBReactNativeSpec
    export DYLIB_COMPATIBILITY_VERSION\=1
    export DYLIB_CURRENT_VERSION\=1
    export DYLIB_INSTALL_NAME_BASE\=@rpath
    export DYNAMIC_LIBRARY_EXTENSION\=dylib
    export EFFECTIVE_PLATFORM_NAME\=-iphoneos
    export EMBEDDED_CONTENT_CONTAINS_SWIFT\=NO
    export EMBEDDED_PROFILE_NAME\=embedded.mobileprovision
    export EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE\=NO
    export ENABLE_APP_SANDBOX\=NO
    export ENABLE_BITCODE\=YES
    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\=NO
    export ENABLE_PREVIEWS\=NO
    export ENABLE_STRICT_OBJC_MSGSEND\=YES
    export ENABLE_TESTABILITY\=YES
    export ENABLE_TESTING_SEARCH_PATHS\=NO
    export ENTITLEMENTS_DESTINATION\=Signature
    export ENTITLEMENTS_REQUIRED\=NO
    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\=FBReactNativeSpec.framework/en.lproj
    export EXECUTABLE_FOLDER_PATH\=FBReactNativeSpec.framework
    export EXECUTABLE_FOLDER_PATH_SHALLOW_BUNDLE_NO\=FBReactNativeSpec.framework
    export EXECUTABLE_FOLDER_PATH_SHALLOW_BUNDLE_YES\=FBReactNativeSpec.framework
    export EXECUTABLE_NAME\=FBReactNativeSpec
    export EXECUTABLE_PATH\=FBReactNativeSpec.framework/FBReactNativeSpec
    export FILE_LIST\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/FBReactNativeSpec.build/Objects/LinkFileList
    export FIXED_FILES_DIR\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/FBReactNativeSpec.build/FixedFiles
    export FRAMEWORKS_FOLDER_PATH\=FBReactNativeSpec.framework/Frameworks
    export FRAMEWORK_FLAG_PREFIX\=-framework
    export FRAMEWORK_SEARCH_PATHS\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Products/Debug-iphoneos/FBReactNativeSpec\ \ \"/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Products/Debug-iphoneos/DoubleConversion\"\ \"/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Products/Debug-iphoneos/RCT-Folly\"\ \"/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Products/Debug-iphoneos/RCTTypeSafety\"\ \"/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Products/Debug-iphoneos/React-Core\"\ \"/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Products/Debug-iphoneos/React-cxxreact\"\ \"/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Products/Debug-iphoneos/React-jsi\"\ \"/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Products/Debug-iphoneos/React-jsiexecutor\"\ \"/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Products/Debug-iphoneos/React-jsinspector\"\ \"/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Products/Debug-iphoneos/React-logger\"\ \"/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Products/Debug-iphoneos/React-perflogger\"\ \"/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Products/Debug-iphoneos/ReactCommon\"\ \"/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Products/Debug-iphoneos/fmt\"\ \"/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Products/Debug-iphoneos/glog\"
    export FRAMEWORK_VERSION\=A
    export FULL_PRODUCT_NAME\=FBReactNativeSpec.framework
    export GCC3_VERSION\=3.3
    export GCC_C_LANGUAGE_STANDARD\=gnu11
    export GCC_DYNAMIC_NO_PIC\=NO
    export GCC_INLINES_ARE_PRIVATE_EXTERN\=YES
    export GCC_NO_COMMON_BLOCKS\=YES
    export GCC_OPTIMIZATION_LEVEL\=0
    export GCC_PFE_FILE_C_DIALECTS\=c\ objective-c\ c++\ objective-c++
    export GCC_PREFIX_HEADER\=Target\ Support\ Files/FBReactNativeSpec/FBReactNativeSpec-prefix.pch
    export GCC_PREPROCESSOR_DEFINITIONS\=POD_CONFIGURATION_DEBUG\=1\ DEBUG\=1\ \ COCOAPODS\=1
    export GCC_THUMB_SUPPORT\=YES
    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/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos
    export GENERATE_INFOPLIST_FILE\=NO
    export GENERATE_MASTER_OBJECT_FILE\=NO
    export GENERATE_PKGINFO_FILE\=NO
    export GENERATE_PROFILING_CODE\=NO
    export GENERATE_TEXT_BASED_STUBS\=NO
    export GID\=1381752654
    export GROUP\=1381752654
    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\=YES
    export HEADER_SEARCH_PATHS\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Products/Debug-iphoneos/FBReactNativeSpec/include\ \ \"/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/ios/Pods/Headers/Public\"\ \"/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/ios/Pods/Headers/Public/FBLazyVector\"\ \"/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/ios/Pods/Headers/Public/RCTRequired\"\ \"/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/ios/Pods/Headers/Public/React-callinvoker\"\ \"/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/ios/Pods/Headers/Public/React-runtimeexecutor\"\ \"/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/ios/Pods/Headers/Public/Yoga\"\ \"/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/ios/Pods/../../node_modules/react-native/React/FBReactNativeSpec/React/FBReactNativeSpec\"\ \"/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/ios/Pods/RCT-Folly\"
    export HIDE_BITCODE_SYMBOLS\=YES
    export HOME\=/Users/zhongs
    export ICONV\=/usr/bin/iconv
    export INFOPLIST_EXPAND_BUILD_SETTINGS\=YES
    export INFOPLIST_FILE\=Target\ Support\ Files/FBReactNativeSpec/FBReactNativeSpec-Info.plist
    export INFOPLIST_OUTPUT_FORMAT\=binary
    export INFOPLIST_PATH\=FBReactNativeSpec.framework/Info.plist
    export INFOPLIST_PREPROCESS\=NO
    export INFOSTRINGS_PATH\=FBReactNativeSpec.framework/en.lproj/InfoPlist.strings
    export INLINE_PRIVATE_FRAMEWORKS\=NO
    export INSTALLHDRS_COPY_PHASE\=NO
    export INSTALLHDRS_SCRIPT_PHASE\=NO
    export INSTALL_DIR\=/tmp/Pods.dst/Library/Frameworks
    export INSTALL_GROUP\=1381752654
    export INSTALL_MODE_FLAG\=u+w,go-w,a+rX
    export INSTALL_OWNER\=zhongs
    export INSTALL_PATH\=/Library/Frameworks
    export INSTALL_ROOT\=/tmp/Pods.dst
    export IPHONEOS_DEPLOYMENT_TARGET\=11.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_FOLDER_PATH\=FBReactNativeSpec.framework/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 KASAN_DEFAULT_CFLAGS\=-DKASAN\=1\ -fsanitize\=address\ -mllvm\ -asan-globals-live-support\ -mllvm\ -asan-force-dynamic-shadow
    export KEEP_PRIVATE_EXTERNS\=NO
    export LD_DEPENDENCY_INFO_FILE\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/FBReactNativeSpec.build/Objects-normal/undefined_arch/FBReactNativeSpec_dependency_info.dat
    export LD_DYLIB_INSTALL_NAME\=@rpath/FBReactNativeSpec.framework/FBReactNativeSpec
    export LD_GENERATE_MAP_FILE\=NO
    export LD_MAP_FILE_PATH\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/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\ @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/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Products/Debug-iphoneos/FBReactNativeSpec\ 
    export LINKER_DISPLAYS_MANGLED_NAMES\=NO
    export LINK_FILE_LIST_normal_arm64\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/FBReactNativeSpec.build/Objects-normal/arm64/FBReactNativeSpec.LinkFileList
    export LINK_WITH_STANDARD_LIBRARIES\=YES
    export LLVM_TARGET_TRIPLE_OS_VERSION\=ios11.0
    export LLVM_TARGET_TRIPLE_VENDOR\=apple
    export LOCALIZATION_EXPORT_SUPPORTED\=YES
    export LOCALIZED_RESOURCES_FOLDER_PATH\=FBReactNativeSpec.framework/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/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/ios/Pods
    export LOCSYMROOT\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/ios/Pods
    export MACH_O_TYPE\=staticlib
    export MAC_OS_X_PRODUCT_BUILD_VERSION\=21G72
    export MAC_OS_X_VERSION_ACTUAL\=120500
    export MAC_OS_X_VERSION_MAJOR\=120000
    export MAC_OS_X_VERSION_MINOR\=120500
    export METAL_LIBRARY_FILE_BASE\=default
    export METAL_LIBRARY_OUTPUT_DIR\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Products/Debug-iphoneos/FBReactNativeSpec/FBReactNativeSpec.framework
    export MODULEMAP_FILE\=Target\ Support\ Files/FBReactNativeSpec/FBReactNativeSpec.modulemap
    export MODULES_FOLDER_PATH\=FBReactNativeSpec.framework/Modules
    export MODULE_CACHE_DIR\=/Users/zhongs/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 OBJECT_FILE_DIR\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/FBReactNativeSpec.build/Objects
    export OBJECT_FILE_DIR_normal\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/FBReactNativeSpec.build/Objects-normal
    export OBJROOT\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Intermediates.noindex
    export ONLY_ACTIVE_ARCH\=YES
    export OS\=MACOS
    export OSAC\=/usr/bin/osacompile
    export OTHER_CFLAGS\=\ -fmodule-map-file\=\"/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/ios/Pods/Headers/Public/yoga/Yoga.modulemap\"
    export OTHER_CPLUSPLUSFLAGS\=\ -fmodule-map-file\=\"/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/ios/Pods/Headers/Public/yoga/Yoga.modulemap\"
    export PACKAGE_TYPE\=com.apple.package-type.wrapper.framework
    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/iPhoneOS.platform/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.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\=FBReactNativeSpec.framework/pbdevelopment.plist
    export PER_ARCH_OBJECT_FILE_DIR\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/FBReactNativeSpec.build/Objects-normal/undefined_arch
    export PER_VARIANT_OBJECT_FILE_DIR\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/FBReactNativeSpec.build/Objects-normal
    export PKGINFO_FILE_PATH\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/FBReactNativeSpec.build/PkgInfo
    export PKGINFO_PATH\=FBReactNativeSpec.framework/PkgInfo
    export PLATFORM_DEVELOPER_APPLICATIONS_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Applications
    export PLATFORM_DEVELOPER_BIN_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin
    export PLATFORM_DEVELOPER_LIBRARY_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library
    export PLATFORM_DEVELOPER_SDK_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
    export PLATFORM_DEVELOPER_TOOLS_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Tools
    export PLATFORM_DEVELOPER_USR_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr
    export PLATFORM_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
    export PLATFORM_DISPLAY_NAME\=iOS
    export PLATFORM_FAMILY_NAME\=iOS
    export PLATFORM_NAME\=iphoneos
    export PLATFORM_PREFERRED_ARCH\=arm64
    export PLATFORM_PRODUCT_BUILD_VERSION\=19F64
    export PLIST_FILE_OUTPUT_FORMAT\=binary
    export PLUGINS_FOLDER_PATH\=FBReactNativeSpec.framework/PlugIns
    export PODS_BUILD_DIR\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Products
    export PODS_CONFIGURATION_BUILD_DIR\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Products/Debug-iphoneos
    export PODS_ROOT\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/ios/Pods
    export PODS_TARGET_SRCROOT\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/ios/Pods/../../node_modules/react-native/React/FBReactNativeSpec
    export PODS_XCFRAMEWORKS_BUILD_DIR\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Products/Debug-iphoneos/XCFrameworkIntermediates
    export PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR\=YES
    export PRECOMP_DESTINATION_DIR\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/FBReactNativeSpec.build/PrefixHeaders
    export PRESERVE_DEAD_CODE_INITS_AND_TERMS\=NO
    export PRIVATE_HEADERS_FOLDER_PATH\=FBReactNativeSpec.framework/PrivateHeaders
    export PRODUCT_BUNDLE_IDENTIFIER\=org.cocoapods.FBReactNativeSpec
    export PRODUCT_BUNDLE_PACKAGE_TYPE\=FMWK
    export PRODUCT_MODULE_NAME\=FBReactNativeSpec
    export PRODUCT_NAME\=FBReactNativeSpec
    export PRODUCT_SETTINGS_PATH\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/ios/Pods/Target\ Support\ Files/FBReactNativeSpec/FBReactNativeSpec-Info.plist
    export PRODUCT_TYPE\=com.apple.product-type.framework
    export PROFILING_CODE\=NO
    export PROJECT\=Pods
    export PROJECT_DERIVED_FILE_DIR\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Intermediates.noindex/Pods.build/DerivedSources
    export PROJECT_DIR\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/ios/Pods
    export PROJECT_FILE_PATH\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/ios/Pods/Pods.xcodeproj
    export PROJECT_NAME\=Pods
    export PROJECT_TEMP_DIR\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Intermediates.noindex/Pods.build
    export PROJECT_TEMP_ROOT\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Intermediates.noindex
    export PUBLIC_HEADERS_FOLDER_PATH\=FBReactNativeSpec.framework/Headers
    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/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/FBReactNativeSpec.build/ResourceManagerResources
    export REZ_OBJECTS_DIR\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/FBReactNativeSpec.build/ResourceManagerResources/Objects
    export REZ_SEARCH_PATHS\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Products/Debug-iphoneos/FBReactNativeSpec\ 
    export SCAN_ALL_SOURCE_FILES_FOR_INCLUDES\=NO
    export SCRIPTS_FOLDER_PATH\=FBReactNativeSpec.framework/Scripts
    export SCRIPT_INPUT_FILE_0\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/ActionSheetIOS/NativeActionSheetManager.js
    export SCRIPT_INPUT_FILE_1\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Alert/NativeAlertManager.js
    export SCRIPT_INPUT_FILE_10\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Components/AccessibilityInfo/NativeAccessibilityInfo.js
    export SCRIPT_INPUT_FILE_11\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Components/AccessibilityInfo/NativeAccessibilityManager.js
    export SCRIPT_INPUT_FILE_12\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Components/Clipboard/NativeClipboard.js
    export SCRIPT_INPUT_FILE_13\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Components/DatePickerAndroid/NativeDatePickerAndroid.js
    export SCRIPT_INPUT_FILE_14\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Components/Keyboard/NativeKeyboardObserver.js
    export SCRIPT_INPUT_FILE_15\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Components/Sound/NativeSoundManager.js
    export SCRIPT_INPUT_FILE_16\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Components/StatusBar/NativeStatusBarManagerAndroid.js
    export SCRIPT_INPUT_FILE_17\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Components/StatusBar/NativeStatusBarManagerIOS.js
    export SCRIPT_INPUT_FILE_18\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Components/ToastAndroid/NativeToastAndroid.js
    export SCRIPT_INPUT_FILE_19\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Core/NativeExceptionsManager.js
    export SCRIPT_INPUT_FILE_2\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Animated/NativeAnimatedHelper.js
    export SCRIPT_INPUT_FILE_20\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Core/SegmentFetcher/NativeSegmentFetcher.js
    export SCRIPT_INPUT_FILE_21\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Core/Timers/NativeTiming.js
    export SCRIPT_INPUT_FILE_22\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/EventEmitter/NativeEventEmitter.js
    export SCRIPT_INPUT_FILE_23\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/EventEmitter/__mocks__/NativeEventEmitter.js
    export SCRIPT_INPUT_FILE_24\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/HeapCapture/NativeJSCHeapCapture.js
    export SCRIPT_INPUT_FILE_25\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Image/NativeImageEditor.js
    export SCRIPT_INPUT_FILE_26\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Image/NativeImageLoaderAndroid.js
    export SCRIPT_INPUT_FILE_27\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Image/NativeImageLoaderIOS.js
    export SCRIPT_INPUT_FILE_28\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Image/NativeImagePickerIOS.js
    export SCRIPT_INPUT_FILE_29\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Image/NativeImageStoreAndroid.js
    export SCRIPT_INPUT_FILE_3\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Animated/NativeAnimatedModule.js
    export SCRIPT_INPUT_FILE_30\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Image/NativeImageStoreIOS.js
    export SCRIPT_INPUT_FILE_31\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Interaction/NativeFrameRateLogger.js
    export SCRIPT_INPUT_FILE_32\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Linking/NativeIntentAndroid.js
    export SCRIPT_INPUT_FILE_33\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Linking/NativeLinkingManager.js
    export SCRIPT_INPUT_FILE_34\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Modal/NativeModalManager.js
    export SCRIPT_INPUT_FILE_35\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/NativeComponent/NativeComponentRegistry.js
    export SCRIPT_INPUT_FILE_36\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/NativeModules/specs/NativeAnimationsDebugModule.js
    export SCRIPT_INPUT_FILE_37\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/NativeModules/specs/NativeDevMenu.js
    export SCRIPT_INPUT_FILE_38\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/NativeModules/specs/NativeDevSettings.js
    export SCRIPT_INPUT_FILE_39\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/NativeModules/specs/NativeDeviceEventManager.js
    export SCRIPT_INPUT_FILE_4\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Animated/NativeAnimatedTurboModule.js
    export SCRIPT_INPUT_FILE_40\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/NativeModules/specs/NativeDialogManagerAndroid.js
    export SCRIPT_INPUT_FILE_41\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/NativeModules/specs/NativeLogBox.js
    export SCRIPT_INPUT_FILE_42\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/NativeModules/specs/NativeRedBox.js
    export SCRIPT_INPUT_FILE_43\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/NativeModules/specs/NativeSourceCode.js
    export SCRIPT_INPUT_FILE_44\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Network/NativeNetworkingAndroid.js
    export SCRIPT_INPUT_FILE_45\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Network/NativeNetworkingIOS.js
    export SCRIPT_INPUT_FILE_46\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Performance/NativeJSCSamplingProfiler.js
    export SCRIPT_INPUT_FILE_47\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/PermissionsAndroid/NativePermissionsAndroid.js
    export SCRIPT_INPUT_FILE_48\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/PushNotificationIOS/NativePushNotificationManagerIOS.js
    export SCRIPT_INPUT_FILE_49\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/ReactNative/NativeHeadlessJsTaskSupport.js
    export SCRIPT_INPUT_FILE_5\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/AppState/NativeAppState.js
    export SCRIPT_INPUT_FILE_50\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/ReactNative/NativeI18nManager.js
    export SCRIPT_INPUT_FILE_51\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/ReactNative/NativeUIManager.js
    export SCRIPT_INPUT_FILE_52\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Settings/NativeSettingsManager.js
    export SCRIPT_INPUT_FILE_53\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Share/NativeShareModule.js
    export SCRIPT_INPUT_FILE_54\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Storage/NativeAsyncLocalStorage.js
    export SCRIPT_INPUT_FILE_55\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Storage/NativeAsyncSQLiteDBStorage.js
    export SCRIPT_INPUT_FILE_56\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/TurboModule/samples/NativeSampleTurboModule.js
    export SCRIPT_INPUT_FILE_57\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Utilities/NativeAppearance.js
    export SCRIPT_INPUT_FILE_58\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Utilities/NativeDevLoadingView.js
    export SCRIPT_INPUT_FILE_59\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Utilities/NativeDevSplitBundleLoader.js
    export SCRIPT_INPUT_FILE_6\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/BatchedBridge/NativeModules.js
    export SCRIPT_INPUT_FILE_60\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Utilities/NativeDeviceInfo.js
    export SCRIPT_INPUT_FILE_61\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Utilities/NativeJSDevSupport.js
    export SCRIPT_INPUT_FILE_62\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Utilities/NativePlatformConstantsAndroid.js
    export SCRIPT_INPUT_FILE_63\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Utilities/NativePlatformConstantsIOS.js
    export SCRIPT_INPUT_FILE_64\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Vibration/NativeVibration.js
    export SCRIPT_INPUT_FILE_65\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/WebSocket/NativeWebSocketModule.js
    export SCRIPT_INPUT_FILE_7\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Blob/NativeBlobModule.js
    export SCRIPT_INPUT_FILE_8\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/Blob/NativeFileReaderModule.js
    export SCRIPT_INPUT_FILE_9\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/Libraries/BugReporting/NativeBugReporting.js
    export SCRIPT_INPUT_FILE_COUNT\=66
    export SCRIPT_INPUT_FILE_LIST_COUNT\=0
    export SCRIPT_OUTPUT_FILE_0\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/FBReactNativeSpec.build/DerivedSources/codegen-FBReactNativeSpec.log
    export SCRIPT_OUTPUT_FILE_1\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/ios/Pods/\ /Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/node_modules/react-native/React/FBReactNativeSpec/FBReactNativeSpec/FBReactNativeSpec.h
    export SCRIPT_OUTPUT_FILE_2\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/ios/Pods/\ /Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/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/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.5.sdk
    export SDK_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.5.sdk
    export SDK_DIR_iphoneos\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.5.sdk
    export SDK_DIR_iphoneos15_5\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.5.sdk
    export SDK_NAME\=iphoneos15.5
    export SDK_NAMES\=iphoneos15.5
    export SDK_PRODUCT_BUILD_VERSION\=19F64
    export SDK_VERSION\=15.5
    export SDK_VERSION_ACTUAL\=150500
    export SDK_VERSION_MAJOR\=150000
    export SDK_VERSION_MINOR\=150500
    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
    export SHALLOW_BUNDLE_ios_macabi\=NO
    export SHALLOW_BUNDLE_macos\=NO
    export SHARED_DERIVED_FILE_DIR\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Products/Debug-iphoneos/FBReactNativeSpec/DerivedSources
    export SHARED_FRAMEWORKS_FOLDER_PATH\=FBReactNativeSpec.framework/SharedFrameworks
    export SHARED_PRECOMPS_DIR\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Intermediates.noindex/PrecompiledHeaders
    export SHARED_SUPPORT_FOLDER_PATH\=FBReactNativeSpec.framework
    export SKIP_INSTALL\=YES
    export SOURCE_ROOT\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/ios/Pods
    export SRCROOT\=/Users/zhongs/Desktop/medialab/visualcomfort/reactnative/reactnative-attention-app-main/ios/Pods
    export STRINGSDATA_DIR\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/FBReactNativeSpec.build/Objects-normal/undefined_arch
    export STRINGSDATA_ROOT\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/FBReactNativeSpec.build
    export STRINGS_FILE_INFOPLIST_RENAME\=YES
    export STRINGS_FILE_OUTPUT_ENCODING\=binary
    export STRIP_BITCODE_FROM_COPIED_FILES\=YES
    export STRIP_INSTALLED_PRODUCT\=NO
    export STRIP_STYLE\=debugging
    export STRIP_SWIFT_SYMBOLS\=YES
    export SUPPORTED_DEVICE_FAMILIES\=1,2
    export SUPPORTED_PLATFORMS\=iphoneos\ iphonesimulator
    export SUPPORTS_MACCATALYST\=YES
    export SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD\=YES
    export SUPPORTS_TEXT_BASED_API\=NO
    export SWIFT_ACTIVE_COMPILATION_CONDITIONS\=DEBUG\ 
    export SWIFT_EMIT_LOC_STRINGS\=NO
    export SWIFT_OPTIMIZATION_LEVEL\=-Onone
    export SWIFT_PLATFORM_TARGET_PREFIX\=ios
    export SWIFT_RESPONSE_FILE_PATH_normal_arm64\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/FBReactNativeSpec.build/Objects-normal/arm64/FBReactNativeSpec.SwiftFileList
    export SWIFT_VERSION\=5.0
    export SYMROOT\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/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\=FBReactNativeSpec.framework/SystemExtensions
    export SYSTEM_EXTENSIONS_FOLDER_PATH_SHALLOW_BUNDLE_NO\=FBReactNativeSpec.framework/Library/SystemExtensions
    export SYSTEM_EXTENSIONS_FOLDER_PATH_SHALLOW_BUNDLE_YES\=FBReactNativeSpec.framework/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,2
    export TARGETNAME\=FBReactNativeSpec
    export TARGET_BUILD_DIR\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Products/Debug-iphoneos/FBReactNativeSpec
    export TARGET_DEVICE_IDENTIFIER\=00008020-000509343A82002E
    export TARGET_DEVICE_MODEL\=iPhone11,8
    export TARGET_DEVICE_OS_VERSION\=15.0.1
    export TARGET_DEVICE_PLATFORM_NAME\=iphoneos
    export TARGET_NAME\=FBReactNativeSpec
    export TARGET_TEMP_DIR\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/FBReactNativeSpec.build
    export TEMP_DIR\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/FBReactNativeSpec.build
    export TEMP_FILES_DIR\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/FBReactNativeSpec.build
    export TEMP_FILE_DIR\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/FBReactNativeSpec.build
    export TEMP_ROOT\=/Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Intermediates.noindex
    export TEST_FRAMEWORK_SEARCH_PATHS\=\ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks\ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.5.sdk/Developer/Library/Frameworks
    export TEST_LIBRARY_SEARCH_PATHS\=\ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.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\=1091591996
    export UNLOCALIZED_RESOURCES_FOLDER_PATH\=FBReactNativeSpec.framework
    export UNLOCALIZED_RESOURCES_FOLDER_PATH_SHALLOW_BUNDLE_NO\=FBReactNativeSpec.framework/Resources
    export UNLOCALIZED_RESOURCES_FOLDER_PATH_SHALLOW_BUNDLE_YES\=FBReactNativeSpec.framework
    export UNSTRIPPED_PRODUCT\=NO
    export USER\=zhongs
    export USER_APPS_DIR\=/Users/zhongs/Applications
    export USER_LIBRARY_DIR\=/Users/zhongs/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\ armv7\ armv7s
    export VERBOSE_PBXCP\=NO
    export VERSIONING_SYSTEM\=apple-generic
    export VERSIONPLIST_PATH\=FBReactNativeSpec.framework/version.plist
    export VERSIONS_FOLDER_PATH\=FBReactNativeSpec.framework
    export VERSIONS_FOLDER_PATH_SHALLOW_BUNDLE_NO\=FBReactNativeSpec.framework/Versions
    export VERSIONS_FOLDER_PATH_SHALLOW_BUNDLE_YES\=FBReactNativeSpec.framework
    export VERSION_INFO_BUILDER\=zhongs
    export VERSION_INFO_FILE\=FBReactNativeSpec_vers.c
    export VERSION_INFO_STRING\=\"@\(\#\)PROGRAM:FBReactNativeSpec\ \ PROJECT:Pods-1\"
    export WRAPPER_EXTENSION\=framework
    export WRAPPER_NAME\=FBReactNativeSpec.framework
    export WRAPPER_SUFFIX\=.framework
    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\=13F100
    export XCODE_VERSION_ACTUAL\=1341
    export XCODE_VERSION_MAJOR\=1300
    export XCODE_VERSION_MINOR\=1340
    export XPCSERVICES_FOLDER_PATH\=FBReactNativeSpec.framework/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 __CODE_SIGNING_ALLOWED_appletvos\=NO
    export __CODE_SIGNING_ALLOWED_iphoneos\=NO
    export __CODE_SIGNING_ALLOWED_watchos\=NO
    export arch\=undefined_arch
    export variant\=normal
    /bin/sh -c /Users/zhongs/Library/Developer/Xcode/DerivedData/ReactNativeAttentionTestApp-gbvusblwtmhfivdulmongzcytzpm/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/FBReactNativeSpec.build/Script-5F3DB3CFA631AC0192B75E29E50D22E5.sh

Command PhaseScriptExecution failed with a nonzero exit code
pnthach95 commented 2 years ago

You shouldn't use nvm because node_modules/react-native/scripts/find-node.sh file in old React Native can't find path to node. Removing nvm can resolve your problem.

Source: https://stackoverflow.com/questions/66742033/phasescriptexecution-cp-user-error-in-react-native

sailinz commented 2 years ago

You shouldn't use nvm because node_modules/react-native/scripts/find-node.sh file in old React Native can't find path to node. Removing nvm can resolve your problem.

Source: https://stackoverflow.com/questions/66742033/phasescriptexecution-cp-user-error-in-react-native

Thanks for the link. However, I still have the same error after removing nvm. The environment now:

TERM_PROGRAM=Apple_Terminal
TERM=xterm-256color
SHELL=/bin/bash
TMPDIR=/var/folders/84/85yg3v756w90md_90mkspt3d0j0qsw/T/
TERM_PROGRAM_VERSION=445
ANDROID_SDK_ROOT=/Users/zhongs/Library/Android/sdk
TERM_SESSION_ID=40548996-F6D9-4605-A022-71113EF8D6A4
USER=zhongs
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.aO9ZNPaQ7T/Listeners
PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/share/dotnet:~/.dotnet/tools:/Library/Apple/usr/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Users/zhongs/Library/Android/sdk/emulator:/Users/zhongs/Library/Android/sdk/platform-tools
LaunchInstanceID=895054D2-83C0-4384-B00B-B97140DD67DE
__CFBundleIdentifier=com.apple.Terminal
PWD=/xxxxx/reactnative-attention-app-main
XPC_FLAGS=0x0
XPC_SERVICE_NAME=0
HOME=/Users/xx
SHLVL=1
LOGNAME=xx
LC_CTYPE=UTF-8
SECURITYSESSIONID=186a3
_=/usr/bin/env

Some supplementary information: my macbook is not M1; it is 2.8 GHz Quad-Core Intel Core i7.

pnthach95 commented 2 years ago

You shouldn't use nvm because node_modules/react-native/scripts/find-node.sh file in old React Native can't find path to node. Removing nvm can resolve your problem. Source: stackoverflow.com/questions/66742033/phasescriptexecution-cp-user-error-in-react-native

Thanks for the link. However, I still have the same error after removing nvm. The environment now:

TERM_PROGRAM=Apple_Terminal
TERM=xterm-256color
SHELL=/bin/bash
TMPDIR=/var/folders/84/85yg3v756w90md_90mkspt3d0j0qsw/T/
TERM_PROGRAM_VERSION=445
ANDROID_SDK_ROOT=/Users/zhongs/Library/Android/sdk
TERM_SESSION_ID=40548996-F6D9-4605-A022-71113EF8D6A4
USER=zhongs
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.aO9ZNPaQ7T/Listeners
PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/share/dotnet:~/.dotnet/tools:/Library/Apple/usr/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Users/zhongs/Library/Android/sdk/emulator:/Users/zhongs/Library/Android/sdk/platform-tools
LaunchInstanceID=895054D2-83C0-4384-B00B-B97140DD67DE
__CFBundleIdentifier=com.apple.Terminal
PWD=/xxxxx/reactnative-attention-app-main
XPC_FLAGS=0x0
XPC_SERVICE_NAME=0
HOME=/Users/xx
SHLVL=1
LOGNAME=xx
LC_CTYPE=UTF-8
SECURITYSESSIONID=186a3
_=/usr/bin/env

Some supplementary information: my macbook is not M1; it is 2.8 GHz Quad-Core Intel Core i7.

I can run project you mention without any problem. I suggest you check where node is by running command where node. The path should be /usr/local/bin/node or inside homebrew folder. If you have time, try my project, see if it throw same error or not.

sailinz commented 2 years ago

The node path seems ok. Could it be because of my Xcode version (Version 13.4.1)?

xx:reactnative-attention-app-main zhongs$ which node
/usr/local/bin/node
xx:reactnative-attention-app-main zhongs$ node -v
v18.7.0

Or could there be any problems with the node packages?


npm i
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated uglify-es@3.3.9: support for ECMAScript is superseded by `uglify-js` as of v3.13.0
npm WARN deprecated babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
npm WARN deprecated @react-native-community/masked-view@0.1.11: Repository was moved to @react-native-masked-view/masked-view

> karthuria@1.3.0 postinstall
> patch-package

patch-package 6.4.7
Applying patches...
@gorhom/animated-tabbar@2.1.2 ✔

added 1203 packages, and audited 1204 packages in 1m

108 packages are looking for funding
  run `npm fund` for details

7 vulnerabilities (5 high, 2 critical)

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
xx:KarthuriaApp-master zhongs$ npm fund
karthuria@1.3.0
├── https://opencollective.com/babel
│   └── @babel/core@7.17.10
├── https://opencollective.com/typescript-eslint
│   └── @typescript-eslint/eslint-plugin@4.33.0, @typescript-eslint/experimental-utils@4.33.0, @typescript-eslint/types@4.33.0, @typescript-eslint/typescript-estree@4.33.0, @typescript-eslint/visitor-keys@4.33.0, @typescript-eslint/scope-manager@4.33.0, @typescript-eslint/parser@4.33.0
├─┬ https://opencollective.com/eslint
│ │ └── eslint@7.32.0
│ ├── https://github.com/sponsors/epoberezkin
│ │   └── ajv@8.11.0
│ ├── https://github.com/sponsors/isaacs
│ │   └── rimraf@3.0.2, glob@7.2.0
│ └── https://github.com/chalk/slice-ansi?sponsor=1
│     └── slice-ansi@4.0.0
├── https://github.com/prettier/prettier?sponsor=1
│   └── prettier@2.6.2
├── https://github.com/sponsors/RubenVerborgh
│   └── follow-redirects@1.15.0
├─┬ https://github.com/chalk/chalk?sponsor=1
│ │ └── chalk@4.1.2
│ └── https://github.com/chalk/ansi-styles?sponsor=1
│     └── ansi-styles@4.3.0
├── https://github.com/sponsors/antelle
│   └── node-stream-zip@1.15.0
├── https://github.com/sponsors/jonschlinkert
│   └── picomatch@2.3.1
├── https://github.com/chalk/supports-color?sponsor=1
│   └── supports-color@8.1.1
├── https://opencollective.com/browserslist
│   └── browserslist@4.20.3, caniuse-lite@1.0.30001338
├── https://github.com/sponsors/ljharb
│   └── object.assign@4.1.2, call-bind@1.0.2, get-intrinsic@1.1.1, define-properties@1.1.4, has-property-descriptors@1.0.0, has-symbols@1.0.3, resolve@2.0.0-next.3, array-includes@3.1.5, es-abstract@1.20.0, es-to-primitive@1.2.1, is-date-object@1.0.5, has-tostringtag@1.0.0, is-symbol@1.0.4, function.prototype.name@1.1.5, functions-have-names@1.2.3, get-symbol-description@1.0.0, is-callable@1.2.4, is-negative-zero@2.0.2, is-regex@1.1.4, is-shared-array-buffer@1.0.2, is-weakref@1.0.2, object-inspect@1.12.0, regexp.prototype.flags@1.4.3, string.prototype.trimend@1.0.5, string.prototype.trimstart@1.0.5, unbox-primitive@1.0.2, has-bigints@1.0.2, which-boxed-primitive@1.0.2, is-bigint@1.0.4, is-boolean-object@1.1.2, is-number-object@1.0.7, side-channel@1.0.4, is-string@1.0.7, array.prototype.flat@1.3.0, object.values@1.1.5, array.prototype.flatmap@1.3.0, object.fromentries@2.0.5, object.hasown@1.1.1, string.prototype.matchall@4.0.7
├── https://opencollective.com/core-js
│   └── core-js-compat@3.22.4
├─┬ https://github.com/sponsors/fb55
│ │ └── css-select@4.3.0, css-what@6.1.0, domelementtype@2.3.0
│ ├── https://github.com/fb55/domhandler?sponsor=1
│ │   └── domhandler@4.3.1
│ ├─┬ https://github.com/fb55/domutils?sponsor=1
│ │ │ └── domutils@2.8.0
│ │ └─┬ https://github.com/cheeriojs/dom-serializer?sponsor=1
│ │   │ └── dom-serializer@1.4.1
│ │   └── https://github.com/fb55/entities?sponsor=1
│ │       └── entities@2.2.0
│ └── https://github.com/fb55/nth-check?sponsor=1
│     └── nth-check@2.0.1
└── https://github.com/chalk/wrap-ansi?sponsor=1
    └── wrap-ansi@7.0.0

xx:KarthuriaApp-master zhongs$ npm audit fix --force
npm WARN using --force Recommended protections disabled.
npm WARN audit Updating react-native-bootsplash to 2.2.8, which is a SemVer major change.

added 2 packages, removed 9 packages, changed 39 packages, and audited 1197 packages in 6s

109 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
xx:KarthuriaApp-master zhongs$ 

I also couldn't run your project. It gives the below error:

KarthuriaApp-master zhongs$ react-native run-ios --device "xx"
error React Native CLI uses autolinking for native dependencies, but the following modules are linked manually: 
  - react-native-vector-icons (to unlink run: "react-native unlink react-native-vector-icons")
This is likely happening when upgrading React Native from below 0.60 to 0.60 or above. Going forward, you can unlink this dependency via "react-native unlink <dependency>" and it will be included in your app automatically. If a library isn't compatible with autolinking, disregard this message and notify the library maintainers.
Read more about autolinking: https://github.com/react-native-community/cli/blob/master/docs/autolinking.md
info Found Xcode workspace "Karthuria.xcworkspace"
info Building (using "xcodebuild -workspace Karthuria.xcworkspace -configuration Debug -scheme Karthuria -destination id=00008020-000509343A82002E")
(node:32103) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening Karthuria.xcworkspace.
Command line invocation:
    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace Karthuria.xcworkspace -configuration Debug -scheme Karthuria -destination id=00008020-000509343A82002E

User defaults from command line:
    IDEPackageSupportUseBuiltinSCM = YES

note: Using new build system
note: Planning
Analyze workspace

Create build description
Build description signature: d3a0a977b87a505ec5c33f02f3a951d2
Build description path: /Users/zhongs/Library/Developer/Xcode/DerivedData/Karthuria-cjiisrarajhrccaygspyiisyvmeq/Build/Intermediates.noindex/XCBuildData/d3a0a977b87a505ec5c33f02f3a951d2-desc.xcbuild

note: Build preparation complete
note: Building targets in dependency order
/Users/zhongs/Downloads/KarthuriaApp-master/ios/Pods/Target Support Files/Pods-Karthuria/Pods-Karthuria.debug.xcconfig:1:1: error: unable to open file (in target "Karthuria" in project "Karthuria")
/Users/zhongs/Downloads/KarthuriaApp-master/ios/Pods/Target Support Files/Pods-Karthuria/Pods-Karthuria.debug.xcconfig:1:1: error: unable to open file (in target "Karthuria" in project "Karthuria")
/Users/zhongs/Downloads/KarthuriaApp-master/ios/Pods/Target Support Files/Pods-Karthuria/Pods-Karthuria.debug.xcconfig:1:1: error: unable to open file (in target "Karthuria" in project "Karthuria")

2022-08-24 10:32:41.115 xcodebuild[32133:663110] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
2022-08-24 10:32:41.115 xcodebuild[32133:663110] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
** BUILD FAILED **

info Run CLI with --verbose flag for more details.

Thanks for your help in advance!

pnthach95 commented 2 years ago

Open Xcode's Preferences under the Locations tab, check if Xcode is in Command Line Tools. If it mismatch with Xcode version, update Command Line Tools.

sailinz commented 2 years ago

Open Xcode's Preferences under the Locations tab, check if Xcode is in Command Line Tools. If it mismatch with Xcode version, update Command Line Tools.

Yes. It's there. Command Line Tools: Xcode 13.4.1 (13F100). /Applications/Xcode.app. And they are the same version. May I know your Xcode version?

pnthach95 commented 2 years ago

Same as your. I use M1. Check out this solution https://stackoverflow.com/questions/55235825/error-failed-to-build-ios-project-we-ran-xcodebuild-command-but-it-exited-wit

If it don't work, I'm out of solutions.

sailinz commented 2 years ago

You shouldn't use nvm because node_modules/react-native/scripts/find-node.sh file in old React Native can't find path to node. Removing nvm can resolve your problem. Source: stackoverflow.com/questions/66742033/phasescriptexecution-cp-user-error-in-react-native

Thanks for the link. However, I still have the same error after removing nvm. The environment now:

TERM_PROGRAM=Apple_Terminal
TERM=xterm-256color
SHELL=/bin/bash
TMPDIR=/var/folders/84/85yg3v756w90md_90mkspt3d0j0qsw/T/
TERM_PROGRAM_VERSION=445
ANDROID_SDK_ROOT=/Users/zhongs/Library/Android/sdk
TERM_SESSION_ID=40548996-F6D9-4605-A022-71113EF8D6A4
USER=zhongs
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.aO9ZNPaQ7T/Listeners
PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/share/dotnet:~/.dotnet/tools:/Library/Apple/usr/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Users/zhongs/Library/Android/sdk/emulator:/Users/zhongs/Library/Android/sdk/platform-tools
LaunchInstanceID=895054D2-83C0-4384-B00B-B97140DD67DE
__CFBundleIdentifier=com.apple.Terminal
PWD=/xxxxx/reactnative-attention-app-main
XPC_FLAGS=0x0
XPC_SERVICE_NAME=0
HOME=/Users/xx
SHLVL=1
LOGNAME=xx
LC_CTYPE=UTF-8
SECURITYSESSIONID=186a3
_=/usr/bin/env

Some supplementary information: my macbook is not M1; it is 2.8 GHz Quad-Core Intel Core i7.

I can run project you mention without any problem. I suggest you check where node is by running command where node. The path should be /usr/local/bin/node or inside homebrew folder. If you have time, try my project, see if it throw same error or not.

I tried to follow the guideline for creating a new project: https://reactnative.dev/docs/environment-setup and got the error in this post again. So I guess there were some fundamental setup issues. I found this post: https://stackoverflow.com/questions/66742033/phasescriptexecution-cp-user-error-in-react-native and discovered the nvm installed by homebrew that I missed out in the removing process.

So I did the following and finally move on from this error and the app runs :). Many thanks!

xx:xx zhongs$ echo $(brew --prefix nvm)
/usr/local/opt/nvm
xx:xx zhongs$ brew uninstall nvm
Uninstalling /usr/local/Cellar/nvm/0.39.1_1... (9 files, 184.1KB)
Hyeong-jin commented 1 year ago

If you were a MacOS user, you would have configured your development environment using zsh by default. However, because bash is used in react-native and expo, there is no node setting in bash, which causes an error. In my case, there was an error building the app in xcode. There are no errors in apps created with react-native, but there are errors in apps created with ignite-cli.

The with-node.sh file references .xcode.env, but could not find a node. So I set the path of the node statically.

echo "export NODE_BINARY=$(command -v node)" > ios/.xcode.env.local

After statically setting the node path, the build was successful in xcode.

MrAdisson commented 1 year ago

I managed to fix a similar issue by cleaning and reinstalling the pods after deleting node modules, deleting xcode derived data and reinstall dependencies. I tried to only reinstall pods but it was not enough, removing node-module folder + xcode derived data folder before reinstalling my deps and pods did the trick.

chetanbhadarka commented 1 year ago

You shouldn't use nvm because node_modules/react-native/scripts/find-node.sh file in old React Native can't find path to node. Removing nvm can resolve your problem. Source: stackoverflow.com/questions/66742033/phasescriptexecution-cp-user-error-in-react-native

Thanks for the link. However, I still have the same error after removing nvm. The environment now:

TERM_PROGRAM=Apple_Terminal
TERM=xterm-256color
SHELL=/bin/bash
TMPDIR=/var/folders/84/85yg3v756w90md_90mkspt3d0j0qsw/T/
TERM_PROGRAM_VERSION=445
ANDROID_SDK_ROOT=/Users/zhongs/Library/Android/sdk
TERM_SESSION_ID=40548996-F6D9-4605-A022-71113EF8D6A4
USER=zhongs
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.aO9ZNPaQ7T/Listeners
PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/share/dotnet:~/.dotnet/tools:/Library/Apple/usr/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Users/zhongs/Library/Android/sdk/emulator:/Users/zhongs/Library/Android/sdk/platform-tools
LaunchInstanceID=895054D2-83C0-4384-B00B-B97140DD67DE
__CFBundleIdentifier=com.apple.Terminal
PWD=/xxxxx/reactnative-attention-app-main
XPC_FLAGS=0x0
XPC_SERVICE_NAME=0
HOME=/Users/xx
SHLVL=1
LOGNAME=xx
LC_CTYPE=UTF-8
SECURITYSESSIONID=186a3
_=/usr/bin/env

Some supplementary information: my macbook is not M1; it is 2.8 GHz Quad-Core Intel Core i7.

I can run project you mention without any problem. I suggest you check where node is by running command where node. The path should be /usr/local/bin/node or inside homebrew folder. If you have time, try my project, see if it throw same error or not.

I tried to follow the guideline for creating a new project: https://reactnative.dev/docs/environment-setup and got the error in this post again. So I guess there were some fundamental setup issues. I found this post: https://stackoverflow.com/questions/66742033/phasescriptexecution-cp-user-error-in-react-native and discovered the nvm installed by homebrew that I missed out in the removing process.

So I did the following and finally move on from this error and the app runs :). Many thanks!

xx:xx zhongs$ echo $(brew --prefix nvm)
/usr/local/opt/nvm
xx:xx zhongs$ brew uninstall nvm
Uninstalling /usr/local/Cellar/nvm/0.39.1_1... (9 files, 184.1KB)

Excellent solution ever 👌, I have tried lots of solution like setup "symlink" etc.. but after two days continues r&d I found your solution and within 5-min I removed "nvm" from my mac system and install node alone and it's work like a charm. Thank you 🙂

RN Version: 67.5 Node Version: 16.16.0 Mac System: Intel i3 xCode Version: 14.3.1

burkaslarry commented 11 months ago

I also encounter this issue. Below is my config settings of react-native info :


info Fetching system and libraries information...

System:
    OS: macOS 14.1
    CPU: (8) arm64 Apple M2
    Memory: 498.81 MB / 24.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 18.18.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 9.8.1 - /usr/local/bin/npm
    Watchman: 2023.09.25.00 - /opt/homebrew/bin/watchman
  Managers:
    CocoaPods: 1.13.0 - /opt/homebrew/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 23.0, iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0
    Android SDK: Not Found
  IDEs:
    Android Studio: 2022.2 AI-222.4459.24.2221.10121639
    Xcode: 15.0/15A240d - /usr/bin/xcodebuild
  Languages:
    Java: 19.0.1 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.2 => 17.0.2 
    react-native: 0.66.4 => 0.66.4 
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found