Closed joncursi closed 6 years ago
I’ve got the same issue. :(
Can you try removing the third-party folder in your node_modules/react-native folder?
Looks like there's a bug with the install-third-party scripts. In ios-install-third-party.sh
can you replace "$SCRIPTDIR/ios-configure-glog.sh" with "../../scripts/ios-configure-glog.sh"?
Removing the third party folder did the trick. (I left the third-party-podspecs folder, though). Do you still want me to try the other fix?
Yeah, if you could try removing the folder again, and try if running that script still works, that'd be awesome!
Sorry, I meant the react-native folder.
@javache It did work (WITHOUT modifying the script like you asked), so yeah, can’t really reproduce the issue ☹️ Here’s the output just in case it could be of any help:
Unpacking /Users/tommy/.rncache/glog-0.3.4.tar.gz...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/Users/tommy/desktop/projets/suw-app/node_modules/react-native/third-party/glog-0.3.4/missing: Unknown `--is-lightweight' option
Try `/Users/tommy/desktop/projets/suw-app/node_modules/react-native/third-party/glog-0.3.4/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for arm-apple-darwin-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for arm-apple-darwin-gcc... /Users/tommy/desktop/projets/suw-app/node_modules/react-native/./ios-cc.sh
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /Users/tommy/desktop/projets/suw-app/node_modules/react-native/./ios-cc.sh accepts -g... yes
checking for /Users/tommy/desktop/projets/suw-app/node_modules/react-native/./ios-cc.sh option to accept ISO C89... none needed
checking whether /Users/tommy/desktop/projets/suw-app/node_modules/react-native/./ios-cc.sh understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of /Users/tommy/desktop/projets/suw-app/node_modules/react-native/./ios-cc.sh... gcc3
checking how to run the C preprocessor... /Users/tommy/desktop/projets/suw-app/node_modules/react-native/./ios-cc.sh -E
checking whether we are using the GNU C++ compiler... yes
checking whether /Users/tommy/desktop/projets/suw-app/node_modules/react-native/./ios-cc.sh accepts -g... yes
checking dependency style of /Users/tommy/desktop/projets/suw-app/node_modules/react-native/./ios-cc.sh... gcc3
checking build system type... i386-apple-darwin16.5.0
checking host system type... arm-apple-darwin
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by /Users/tommy/desktop/projets/suw-app/node_modules/react-native/./ios-cc.sh... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... no
checking for arm-apple-darwin-dumpbin... no
checking for arm-apple-darwin-link... no
checking for dumpbin... no
checking for link... link -dump
configure: WARNING: using cross tools not prefixed with host triplet
checking the name lister (nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i386-apple-darwin16.5.0 file names to arm-apple-darwin format... func_convert_file_noop
checking how to convert i386-apple-darwin16.5.0 file names to toolchain format... func_convert_file_noop
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for arm-apple-darwin-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for arm-apple-darwin-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for arm-apple-darwin-ar... no
checking for ar... ar
checking for archiver @FILE support... no
checking for arm-apple-darwin-strip... strip
checking for arm-apple-darwin-ranlib... no
checking for ranlib... ranlib
checking command to parse nm output from /Users/tommy/desktop/projets/suw-app/node_modules/react-native/./ios-cc.sh object... ok
checking for sysroot... no
checking for arm-apple-darwin-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for arm-apple-darwin-dsymutil... no
checking for dsymutil... dsymutil
checking for arm-apple-darwin-nmedit... no
checking for nmedit... nmedit
checking for arm-apple-darwin-lipo... no
checking for lipo... lipo
checking for arm-apple-darwin-otool... no
checking for otool... otool
checking for arm-apple-darwin-otool64... no
checking for otool64... no
checking for -single_module linker flag... + exec /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk -g -O2 -o libconftest.dylib -dynamiclib -Wl,-single_module conftest.c
no
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... + exec /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk -g -O2 -o conftest conftest.c -Wl,-force_load,./libconftest.a
no
checking for ANSI C header files... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /Users/tommy/desktop/projets/suw-app/node_modules/react-native/./ios-cc.sh supports -fno-rtti -fno-exceptions... yes
checking for /Users/tommy/desktop/projets/suw-app/node_modules/react-native/./ios-cc.sh option to produce PIC... -fno-common -DPIC
checking if /Users/tommy/desktop/projets/suw-app/node_modules/react-native/./ios-cc.sh PIC flag -fno-common -DPIC works... yes
checking if /Users/tommy/desktop/projets/suw-app/node_modules/react-native/./ios-cc.sh static flag -static works... no
checking if /Users/tommy/desktop/projets/suw-app/node_modules/react-native/./ios-cc.sh supports -c -o file.o... yes
checking if /Users/tommy/desktop/projets/suw-app/node_modules/react-native/./ios-cc.sh supports -c -o file.o... (cached) yes
checking whether the /Users/tommy/desktop/projets/suw-app/node_modules/react-native/./ios-cc.sh linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... ++ xcrun -find -sdk iphoneos cc
++ xcrun -sdk iphoneos --show-sdk-path
+ exec /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk -print-search-dirs
darwin dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... /Users/tommy/desktop/projets/suw-app/node_modules/react-native/./ios-cc.sh -E
checking for ld used by /Users/tommy/desktop/projets/suw-app/node_modules/react-native/./ios-cc.sh... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking whether the /Users/tommy/desktop/projets/suw-app/node_modules/react-native/./ios-cc.sh linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking for /Users/tommy/desktop/projets/suw-app/node_modules/react-native/./ios-cc.sh option to produce PIC... -fno-common -DPIC
checking if /Users/tommy/desktop/projets/suw-app/node_modules/react-native/./ios-cc.sh PIC flag -fno-common -DPIC works... yes
checking if /Users/tommy/desktop/projets/suw-app/node_modules/react-native/./ios-cc.sh static flag -static works... no
checking if /Users/tommy/desktop/projets/suw-app/node_modules/react-native/./ios-cc.sh supports -c -o file.o... yes
checking if /Users/tommy/desktop/projets/suw-app/node_modules/react-native/./ios-cc.sh supports -c -o file.o... (cached) yes
checking whether the /Users/tommy/desktop/projets/suw-app/node_modules/react-native/./ios-cc.sh linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin dyld
checking how to hardcode library paths into programs... immediate
checking for ANSI C header files... (cached) no
checking for stdint.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for unistd.h... (cached) yes
checking syscall.h usability... no
checking syscall.h presence... no
checking for syscall.h... no
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking libunwind.h usability... yes
checking libunwind.h presence... yes
checking for libunwind.h... yes
checking ucontext.h usability... no
checking ucontext.h presence... no
checking for ucontext.h... no
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking unwind.h usability... yes
checking unwind.h presence... yes
checking for unwind.h... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking size of void *... 4
checking for uint16_t... yes
checking for u_int16_t... yes
checking for __uint16... no
checking for sigaltstack... yes
checking for sigaction... yes
checking for dladdr... yes
checking for fcntl... yes
checking for pread... yes
checking for pwrite... yes
checking for __attribute__... yes
checking for __builtin_expect... yes
checking for __sync_val_compare_and_swap... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
checking whether to check for GCC pthread/shared inconsistencies... no
checking for pthread_self in -lpthread... yes
checking for main in -lgflags... no
checking for gtest-config... no
checking for main in -lgtest... no
checking for backtrace in -lunwind... no
checking support for pthread_rwlock_* functions... yes
checking whether the compiler implements namespaces... yes
checking what namespace STL code is in... std
checking whether compiler supports using ::operator<<... 1
checking for ucontext.h... (cached) no
checking sys/ucontext.h usability... yes
checking sys/ucontext.h presence... yes
checking for sys/ucontext.h... yes
checking how to access the program counter from a struct ucontext... configure: WARNING: Could not find the PC. Will not output failed addresses...
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/glog/logging.h
config.status: creating src/glog/raw_logging.h
config.status: creating src/glog/vlog_is_on.h
config.status: creating src/glog/stl_logging.h
config.status: creating libglog.pc
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
Unpacking /Users/tommy/.rncache/double-conversion-1.1.5.tar.gz...
Unpacking /Users/tommy/.rncache/boost_1_63_0.tar.gz...
Unpacking /Users/tommy/.rncache/folly-2016.09.26.00.tar.gz...
Fixed using earlier versions. Try this
react-native init --version="0.42.0" AwesomeProject
same issues , look:
I’ve got the same issue. :(
I also have the same issue after updating from 0.44.0 > 0.45.1:
$ rm -rf node_modules/ && yarn cache clean && yarn install
$ ls node_modules/react-native/
(missing third-party
directory)
Xcode build fails:'config.h' file not found
$ node_modules/react-native/ios-install-third-party.sh
or node_modules/react-native/scripts/ios-install-third-party.sh
$ ls node_modules/react-native/
(third-party directory found)
Xcode build succeeds.
Edit:
After running ios-install-third-party.sh
once I can repeat $ rm -rf node_modules/ && yarn cache clean && yarn install
after which the third-party
is still missing, however a following Xcode build now correctly creates the third-party
by itself and the builds succeeds.
Building my parent / main project still fails: I multiple of these errors:
Undefined symbols for architecture x86_64:
"folly::detail::formatBinary", referenced from:
I also noticed that the files linked from the React project are wrong/missing. For example:
node_modules/react-native/React/folly-2016.09.26.00/folly/dynamic.cpp
node_modules/react-native/React/glog-0.3.4/src/config.h
Which doesn't exist.
If I build a new project using react-native init
the same files in the React project have these link:
node_modules/react-native/third-party/folly-2016.09.26.00/folly/dynamic.cpp
node_modules/react-native/third-party/glog-0.3.4/src/config.h
Which do exist.
(btw I'm not using CocoaPods)
I have same problem at version 0.45.0 and 0.45.1. In Xcode have added Third party (folly, glog, double-conversion) in React project, which are not exist at path set in project.
I am using npm version 5.0.3.
My above comment about files that are not linked correctly solved by itself so I don't think the errors were related to that at all:
$ rm -rf node_modules/ && yarn cache clean && yarn install
$ open node_modules/react-native/React/React.xcodeproj/
node_modules/react-native/React/glog-0.3.4/src/demangle.h
: wrong & missingnode_modules/react-native/React/glog-0.3.4/src/demangle.h
: still wrong & missing$ open node_modules/react-native/React/React.xcodeproj/
node_modules/react-native/third-party/glog-0.3.4/src/config.h
: corrected with /third-party
& exists.Basically the paths were changed / fixed after a successful build of the React
project. Xcode just didn't refresh the paths correctly.
I still get the same folly::detail::formatBinary
related errors as @dioxide
Finally fixed the folly::detail::formatBinary
related errors. They were caused by the -all_load
flag in my Other Linker Flags.
For me, removing third-party
allow the app to build on iOS, but it breaks the build on Android:
FAILURE: Build failed with an exception.
* What went wrong:
Could not list contents of '/Users/jcursi/Sites/joncursi/redbirdNative/node_modules/react-native/third-party/glog-0.3.4/test-driver'. Couldn't follow symbolic link.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
So I need to reinstall node_modules
to get third-party
back before building for Android, but then immediately delete it again to get the iOS build to work.
Aside from DX, the potential problem I noticed with doing this is when I reinstall node_modules
over again for Android, some of the dependencies in my dependency map (either direct or indirect) are being upgraded (if updates are available) due to non-strict semantic versioning. So the iOS build and the Android builds are often not using the same exact dependencies, which hopefully won't cause any bugs or variance... but it could.
you can just install glog yourself to solve this program.
cd /glog then
./configure
make
make install
build in Xcode again, problem never comes back .
For me:
node_modules
npm cache verify
(Because I'm using npm version 5.0.3
)npm install
did the trick!
just use previous version 0.44 react-native init --version="0.44.0" YourAPP till the issue resolved By R-N team 👍 1
Running into the same issue here after upgrading from 0.44
. None of the above solutions or clearing caches did the trick for me. Here's what I did to get things working again:
react-native/third-party/glog
folder inside node_modules
(for me, this was cd node_modules/react-native/third-party/glog-0.3.4
)../../scripts/ios-configure-glog.sh
config.h
header file is created for Xcode to findIt works ! thank u @Ignigena
Same issue with RN 0.46
This is not a problem only for upgrades. I get the same error even on new RN 0.46 projects.
@Ignigena thanks! It works for me.
@Ignigena Thanks man
@Ignigena, Thank you for your help! It works
Running into the same issue. rn 0.46 is completely broken for me. Reverting to 0.44
@Ignigena, when I followed your steps, the build worked, but app crashed on my phone. Interestingly enough react-native run-ios
for the simulator was working all the time. Only when I tried to build on Xcode for my phone did I have issues.
Looks like this is fixed in 0.47-RC. Hopefully, they will roll a 0.46.1 out with this fix:
https://github.com/facebook/react-native/commit/5c53f89dd86160301feee024bce4ce0c89e8c187
Running the following script on npm post install seems to have fixed my CI problems:
# set CUR_SPACE below before executing this script
#CUR_SPACE is just my react-native project directory, set it to whatever yours is
CUR_SPACE=<your react-native project directory>
cd $CUR_SPACE/node_modules/react-native/scripts/
curl https://raw.githubusercontent.com/facebook/react-native/5c53f89dd86160301feee024bce4ce0c89e8c187/scripts/ios-configure-glog.sh >ios-configure-glog.sh
chmod +x ios-configure-glog.sh
printf "\nManually upgraded the ios-configure-glog.sh script.\n"
ios-configure-glog.sh No permission to execute
chmod +x ios-configure-glog.sh then worked for me
@mllw thanks!
This also occur in 0.46.1.
And I have to keep a previous build, and every time I click build in XCode, I'll have to copy the whole node_modules/react-native/third-party
folder built at 0.45.1, into the new one.
@Ignigena's work around fixes it for me too. But I've seen 2 XCode build errors, somewhat alternating when I was moving files and around and trying to find a fix with yarn
cache clean and such. One being the one this issue originally posted about missing config.h
, the other to do with double-conversion
.
XCode output below on Shell Script Invocation Error in double-conversion
:
PhaseScriptExecution Install\ Third\ Party /Users/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Intermediates/React.build/Release-iphoneos/double-conversion.build/Script-190EE32F1E6A43DE00A8543A.sh
cd /Users/<user>/Documents/code/<project>/node_modules/react-native/React
export ACTION=build
export AD_HOC_CODE_SIGNING_ALLOWED=NO
export ALTERNATE_GROUP=staff
export ALTERNATE_MODE=u+w,go-w,a+rX
export ALTERNATE_OWNER=gary
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 ARCHS="armv7 arm64"
export ARCHS_STANDARD="armv7 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="armv7 arm64"
export ARCHS_UNIVERSAL_IPHONE_OS="armv7 arm64"
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/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Products
export BUILD_ROOT=/Users/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Products
export BUILD_STYLE=
export BUILD_VARIANTS=normal
export BUILT_PRODUCTS_DIR=/Users/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Products/Release-iphoneos
export CACHE_ROOT=/var/folders/q2/nn87n125621g5t3h_n_nx4vw0000gn/C/com.apple.DeveloperTools/8.3.3-8E3004b/Xcode
export CCHROOT=/var/folders/q2/nn87n125621g5t3h_n_nx4vw0000gn/C/com.apple.DeveloperTools/8.3.3-8E3004b/Xcode
export CHMOD=/bin/chmod
export CHOWN=/usr/sbin/chown
export CLANG_ANALYZER_NONNULL=YES
export CLANG_CXX_LANGUAGE_STANDARD=gnu++0x
export CLANG_CXX_LIBRARY=libc++
export CLANG_ENABLE_MODULES=YES
export CLANG_ENABLE_MODULE_DEBUGGING=NO
export CLANG_ENABLE_OBJC_ARC=YES
export CLANG_MODULES_BUILD_SESSION_FILE=/Users/<user>/Library/Developer/Xcode/DerivedData/ModuleCache/Session.modulevalidation
export CLANG_WARN_BOOL_CONVERSION=YES
export CLANG_WARN_CONSTANT_CONVERSION=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_OBJC_ROOT_CLASS=YES_ERROR
export CLANG_WARN_SUSPICIOUS_MOVE=YES
export CLANG_WARN_SUSPICIOUS_MOVES=YES
export CLANG_WARN_UNREACHABLE_CODE=YES
export CLANG_WARN__DUPLICATE_METHOD_MATCH=YES
export CLASS_FILE_DIR=/Users/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Intermediates/React.build/Release-iphoneos/double-conversion.build/JavaClasses
export CLEAN_PRECOMPS=YES
export CLONE_HEADERS=NO
export CODESIGNING_FOLDER_PATH=/Users/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Products/Release-iphoneos/libdouble-conversion.a
export CODE_SIGNING_ALLOWED=NO
export CODE_SIGNING_REQUIRED=YES
export CODE_SIGN_CONTEXT_CLASS=XCiPhoneOSCodeSignContext
export CODE_SIGN_IDENTITY="iPhone Developer"
export COLOR_DIAGNOSTICS=NO
export COMBINE_HIDPI_IMAGES=NO
export COMMAND_MODE=legacy
export COMPOSITE_SDK_DIRS=/Users/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Intermediates/CompositeSDKs
export COMPRESS_PNG_FILES=YES
export CONFIGURATION=Release
export CONFIGURATION_BUILD_DIR=/Users/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Products/Release-iphoneos
export CONFIGURATION_TEMP_DIR=/Users/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Intermediates/React.build/Release-iphoneos
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/iPhoneSimulator10.3.sdk
export CORRESPONDING_SIMULATOR_SDK_NAME=iphonesimulator10.3
export CP=/bin/cp
export CREATE_INFOPLIST_SECTION_IN_BINARY=NO
export CURRENT_ARCH=arm64
export CURRENT_VARIANT=normal
export DEAD_CODE_STRIPPING=YES
export DEBUGGING_SYMBOLS=YES
export DEBUG_INFORMATION_FORMAT=dwarf-with-dsym
export DEFAULT_COMPILER=com.apple.compilers.llvm.clang.1_0
export DEFAULT_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=miphoneos-version-min
export DEPLOYMENT_TARGET_CLANG_FLAG_PREFIX=-miphoneos-version-min=
export DEPLOYMENT_TARGET_SETTING_NAME=IPHONEOS_DEPLOYMENT_TARGET
export DEPLOYMENT_TARGET_SUGGESTED_VALUES="8.0 8.1 8.2 8.3 8.4 9.0 9.1 9.2 9.3 10.0 10.1 10.2 10.3"
export DERIVED_FILES_DIR=/Users/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Intermediates/React.build/Release-iphoneos/double-conversion.build/DerivedSources
export DERIVED_FILE_DIR=/Users/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Intermediates/React.build/Release-iphoneos/double-conversion.build/DerivedSources
export DERIVED_SOURCES_DIR=/Users/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Intermediates/React.build/Release-iphoneos/double-conversion.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=English
export DEVELOPMENT_TEAM=V9WTTPBFK9
export DO_HEADER_SCANNING_IN_JAM=NO
export DSTROOT=/tmp/React.dst
export DT_TOOLCHAIN_DIR=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
export DWARF_DSYM_FILE_NAME=libdouble-conversion.a.dSYM
export DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT=NO
export DWARF_DSYM_FOLDER_PATH=/Users/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Products/Release-iphoneos
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_BITCODE=YES
export ENABLE_DEFAULT_HEADER_SEARCH_PATHS=YES
export ENABLE_HEADER_DEPENDENCIES=YES
export ENABLE_NS_ASSERTIONS=NO
export ENABLE_ON_DEMAND_RESOURCES=NO
export ENABLE_STRICT_OBJC_MSGSEND=YES
export ENABLE_TESTABILITY=NO
export ENTITLEMENTS_REQUIRED=YES
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 EXECUTABLE_EXTENSION=a
export EXECUTABLE_NAME=libdouble-conversion.a
export EXECUTABLE_PATH=libdouble-conversion.a
export EXECUTABLE_PREFIX=lib
export EXECUTABLE_SUFFIX=.a
export EXPANDED_CODE_SIGN_IDENTITY=
export EXPANDED_CODE_SIGN_IDENTITY_NAME=
export EXPANDED_PROVISIONING_PROFILE=
export FILE_LIST=/Users/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Intermediates/React.build/Release-iphoneos/double-conversion.build/Objects/LinkFileList
export FIXED_FILES_DIR=/Users/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Intermediates/React.build/Release-iphoneos/double-conversion.build/FixedFiles
export FRAMEWORK_FLAG_PREFIX=-framework
export FRAMEWORK_SEARCH_PATHS="/Users/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Products/Release-iphoneos "
export FRAMEWORK_VERSION=A
export FULL_PRODUCT_NAME=libdouble-conversion.a
export GCC3_VERSION=3.3
export GCC_C_LANGUAGE_STANDARD=gnu99
export GCC_NO_COMMON_BLOCKS=YES
export GCC_PFE_FILE_C_DIALECTS="c objective-c c++ objective-c++"
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_MISSING_PROTOTYPES=YES
export GCC_WARN_ABOUT_RETURN_TYPE=YES_ERROR
export GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED=YES
export GCC_WARN_SHADOW=YES
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 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/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Products/Release-iphoneos/include "
export HIDE_BITCODE_SYMBOLS=YES
export HOME=/Users/<user>
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/React.dst/usr/local/lib
export INSTALL_GROUP=staff
export INSTALL_MODE_FLAG=u+w,go-w,a+rX
export INSTALL_OWNER=gary
export INSTALL_PATH=/usr/local/lib
export INSTALL_ROOT=/tmp/React.dst
export IPHONEOS_DEPLOYMENT_TARGET=8.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/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Intermediates/React.build/Release-iphoneos/double-conversion.build/Objects-normal/arm64/double-conversion_dependency_info.dat
export LD_GENERATE_MAP_FILE=NO
export LD_MAP_FILE_PATH=/Users/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Intermediates/React.build/Release-iphoneos/double-conversion.build/double-conversion-LinkMap-normal-arm64.txt
export LD_NO_PIE=NO
export LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER=YES
export LEGACY_DEVELOPER_DIR=/Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer
export LEX=lex
export LIBRARY_FLAG_NOSPACE=YES
export LIBRARY_FLAG_PREFIX=-l
export LIBRARY_KEXT_INSTALL_PATH=/Library/Extensions
export LIBRARY_SEARCH_PATHS="/Users/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Products/Release-iphoneos "
export LINKER_DISPLAYS_MANGLED_NAMES=NO
export LINK_FILE_LIST_normal_arm64=/Users/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Intermediates/React.build/Release-iphoneos/double-conversion.build/Objects-normal/arm64/double-conversion.LinkFileList
export LINK_FILE_LIST_normal_armv7=/Users/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Intermediates/React.build/Release-iphoneos/double-conversion.build/Objects-normal/armv7/double-conversion.LinkFileList
export LINK_WITH_STANDARD_LIBRARIES=YES
export LOCALIZABLE_CONTENT_DIR=
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=
export LOCSYMROOT=
export MACH_O_TYPE=staticlib
export MAC_OS_X_PRODUCT_BUILD_VERSION=16F73
export MAC_OS_X_VERSION_ACTUAL=101205
export MAC_OS_X_VERSION_MAJOR=101200
export MAC_OS_X_VERSION_MINOR=1205
export METAL_LIBRARY_FILE_BASE=default
export METAL_LIBRARY_OUTPUT_DIR=/Users/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Products/Release-iphoneos/
export MODULE_CACHE_DIR=/Users/<user>/Library/Developer/Xcode/DerivedData/ModuleCache
export MTL_ENABLE_DEBUG_INFO=NO
export NATIVE_ARCH=armv7
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/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Intermediates/React.build/Release-iphoneos/double-conversion.build/Objects
export OBJECT_FILE_DIR_normal=/Users/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Intermediates/React.build/Release-iphoneos/double-conversion.build/Objects-normal
export OBJROOT=/Users/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Intermediates
export ONLY_ACTIVE_ARCH=NO
export OS=MACOS
export OSAC=/usr/bin/osacompile
export OTHER_LDFLAGS=-ObjC
export PACKAGE_TYPE=com.apple.package-type.static-library
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/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/local/bin:/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/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Tools:/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 PFE_FILE_C_DIALECTS=c++
export PKGINFO_FILE_PATH=/Users/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Intermediates/React.build/Release-iphoneos/double-conversion.build/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/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/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_NAME=iphoneos
export PLATFORM_PREFERRED_ARCH=arm64
export PLATFORM_PRODUCT_BUILD_VERSION=14E8301
export PLIST_FILE_OUTPUT_FORMAT=binary
export PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR=YES
export PRECOMP_DESTINATION_DIR=/Users/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Intermediates/React.build/Release-iphoneos/double-conversion.build/PrefixHeaders
export PRESERVE_DEAD_CODE_INITS_AND_TERMS=NO
export PRIVATE_HEADERS_FOLDER_PATH=/usr/local/include/double-conversion
export PRODUCT_MODULE_NAME=double_conversion
export PRODUCT_NAME=double-conversion
export PRODUCT_SETTINGS_PATH=
export PRODUCT_TYPE=com.apple.product-type.library.static
export PROFILING_CODE=NO
export PROJECT=React
export PROJECT_DERIVED_FILE_DIR=/Users/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Intermediates/React.build/DerivedSources
export PROJECT_DIR=/Users/<user>/Documents/code/<project>/node_modules/react-native/React
export PROJECT_FILE_PATH=/Users/<user>/Documents/code/<project>/node_modules/react-native/React/React.xcodeproj
export PROJECT_NAME=React
export PROJECT_TEMP_DIR=/Users/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Intermediates/React.build
export PROJECT_TEMP_ROOT=/Users/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Intermediates
export PUBLIC_HEADERS_FOLDER_PATH=/usr/local/include
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/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Intermediates/React.build/Release-iphoneos/double-conversion.build/ResourceManagerResources
export REZ_EXECUTABLE=YES
export REZ_OBJECTS_DIR=/Users/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Intermediates/React.build/Release-iphoneos/double-conversion.build/ResourceManagerResources/Objects
export REZ_SEARCH_PATHS="/Users/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Products/Release-iphoneos "
export SCAN_ALL_SOURCE_FILES_FOR_INCLUDES=NO
export SCRIPT_INPUT_FILE_COUNT=0
export SCRIPT_OUTPUT_FILE_COUNT=0
export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk
export SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk
export SDK_DIR_iphoneos10_3=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk
export SDK_NAME=iphoneos10.3
export SDK_NAMES=iphoneos10.3
export SDK_PRODUCT_BUILD_VERSION=14E8301
export SDK_VERSION=10.3
export SDK_VERSION_ACTUAL=100300
export SDK_VERSION_MAJOR=100000
export SDK_VERSION_MINOR=300
export SED=/usr/bin/sed
export SEPARATE_STRIP=YES
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/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Products/Release-iphoneos/DerivedSources
export SHARED_PRECOMPS_DIR=/Users/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Intermediates/PrecompiledHeaders
export SKIP_INSTALL=YES
export SOURCE_ROOT=/Users/<user>/Documents/code/<project>/node_modules/react-native/React
export SRCROOT=/Users/<user>/Documents/code/<project>/node_modules/react-native/React
export STRINGS_FILE_OUTPUT_ENCODING=binary
export STRIP_BITCODE_FROM_COPIED_FILES=YES
export STRIP_INSTALLED_PRODUCT=YES
export STRIP_STYLE=debugging
export SUPPORTED_DEVICE_FAMILIES=1,2
export SUPPORTED_PLATFORMS="iphonesimulator iphoneos"
export SUPPORTS_TEXT_BASED_API=NO
export SWIFT_PLATFORM_TARGET_PREFIX=ios
export SYMROOT=/Users/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/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_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
export TARGETNAME=double-conversion
export TARGET_BUILD_DIR=/Users/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Products/Release-iphoneos
export TARGET_DEVICE_IDENTIFIER=a91508cf0a769cfc7e6ebb94ce9ced80a913c30b
export TARGET_DEVICE_MODEL=iPhone8,1
export TARGET_DEVICE_OS_VERSION=10.3.2
export TARGET_NAME=double-conversion
export TARGET_TEMP_DIR=/Users/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Intermediates/React.build/Release-iphoneos/double-conversion.build
export TEMP_DIR=/Users/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Intermediates/React.build/Release-iphoneos/double-conversion.build
export TEMP_FILES_DIR=/Users/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Intermediates/React.build/Release-iphoneos/double-conversion.build
export TEMP_FILE_DIR=/Users/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Intermediates/React.build/Release-iphoneos/double-conversion.build
export TEMP_ROOT=/Users/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Intermediates
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=gary
export USER_APPS_DIR=/Users/<user>/Applications
export USER_LIBRARY_DIR=/Users/<user>/Library
export USE_DYNAMIC_NO_PIC=YES
export USE_HEADERMAP=YES
export USE_HEADER_SYMLINKS=NO
export VALIDATE_PRODUCT=YES
export VALID_ARCHS="arm64 armv7 armv7s"
export VERBOSE_PBXCP=NO
export VERSION_INFO_BUILDER=gary
export VERSION_INFO_FILE=double-conversion_vers.c
export VERSION_INFO_STRING="\"@(#)PROGRAM:double-conversion PROJECT:React-\""
export WARNING_CFLAGS="-Wextra -Wall -Wno-semicolon-before-method-body"
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=8E3004b
export XCODE_VERSION_ACTUAL=0833
export XCODE_VERSION_MAJOR=0800
export XCODE_VERSION_MINOR=0830
export XPCSERVICES_FOLDER_PATH=/XPCServices
export YACC=yacc
export arch=arm64
export variant=normal
/bin/sh -c /Users/<user>/Library/Developer/Xcode/DerivedData/<project>-coouvzgirqlxsaeaczzuypknpazb/Build/Intermediates/React.build/Release-iphoneos/double-conversion.build/Script-190EE32F1E6A43DE00A8543A.sh
Unpacking /Users/<user>/.rncache/glog-0.3.4.tar.gz...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/Users/<user>/Documents/code/<project>/node_modules/react-native/third-party/glog-0.3.4/missing: Unknown `--is-lightweight' option
Try `/Users/<user>/Documents/code/<project>/node_modules/react-native/third-party/glog-0.3.4/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for arm-apple-darwin-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for arm-apple-darwin-gcc... no
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/Users/<user>/Documents/code/<project>/node_modules/react-native/third-party/glog-0.3.4':
configure: error: C compiler cannot create executables
See `config.log' for more details
Command /bin/sh failed with exit code 77
I have seen that too. I am very surprised this got released with this very critical issue.
Get Outlook for iOShttps://aka.ms/o0ukef
From: Gary F notifications@github.com Sent: Tuesday, July 11, 2017 6:11:47 PM To: facebook/react-native Cc: Ujwal Setlur; Comment Subject: Re: [facebook/react-native] [0.45.0] third-party: 'config.h' file not found (#14382)
@Ignigenahttps://github.com/ignigena's work around fixes it for me too. But I've seen 2 XCode build errors, somewhat alternating when I was moving files and around and trying to find a fix with yarn cache clean and such. One being the one this issue originally posted about missing config.h, the other to do with double-conversion.
XCode output below on Shell Script Invocation Error in double-conversion:
PhaseScriptExecution Install\ Third\ Party /Users/
Unpacking /Users/--is-lightweight' option Try
/Users//Users/<user>/Documents/code/<project>/node_modules/react-native/third-party/glog-0.3.4': configure: error: C compiler cannot create executables See
config.log' for more details
Command /bin/sh failed with exit code 77
- You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/facebook/react-native/issues/14382#issuecomment-314615224, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AFkMXfyYNmgKPifLLuPmvD_oi9nEZRCRks5sNB1TgaJpZM4Nznzg.
And I'm hitting the double-conversion
xcode build error again.
EDIT: and fixed again with the ...glog-0.3.4$ ../../scripts/ios-configure-glog.sh
workaround. The double-conversion
error occurred after I did a package update with yarn add react-native-code-push@4.0.0-beta
.
I hope that's a more permanent and proper fix for these XCode build errors. These are showstopper bugs and should have blocked releases. I'm seeing other show stopper bugs too since RN 0.45. Not a good trend with such flaky releases out of the box.
i have the same problem on react native 0.46.0 and 0.46.1 ( ios) any solution ?
+1 , this is a critical issue! since 0.45
i followed your tips
cd /node_modules/react-native/scripts/ curl https://raw.githubusercontent.com/facebook/react-native/5c53f89dd86160301feee024bce4ce0c89e8c187/scripts/ios-configure-glog.sh >ios-configure-glog.sh chmod +x ios-configure-glog.sh
i get this error now
/Users/Alain/Library/Developer/Xcode/DerivedData/iosReactTest2-bphijysweorcfectrxtfnflaibcn/Build/Intermediates/iosReactTest2.build/Debug-iphoneos/iosReactTest2.build/Script-00DD1BFF1BD5951E006B06BC.sh: line 3: ../node_modules/react-native/packager/react-native-xcode.sh: No such file or directory
https://github.com/facebook/react-native/issues/14382#issuecomment-313163119 is the working fix.
RN:0.46.2 +1
Not to sound critical, but this is such a critical issue. How could this have gotten out? Makes me worry.
Removing the third party folder, not working, please let me know the solution.
0.46.3 is out with this fix.
Yes, the latest version is working nicely.
every time i rebuild my react-native projects.. they introduce new bugs.. this is ridiculous.
slow hand clap fb
@tonypee chill out my dude..
yea they introduce bugs, yea they could use some more testing before release https://github.com/facebook/react-native/issues/14864, but they are working hard. no need to go full mock-mode with a slow hand clap
.
its not just you having these problems.
complaining is cool. whining is not.
Agreed.
I have another 2 test projects that I haven't been able to build, and I spent about 3 days finding versions for this one which would build, just to leave it for 2 weeks, now done a fresh install to find this bug. I'm locked on 0.45, so not sure how it worked previously and not now. I thought I'd locked versions so that I wouldn't have this.
It's just really testing my faith in the platform, as I'd love to be able to rely on it, but I'm spending the majority of my time with compile errors
Anyways, thanks
On Tue, Jul 18, 2017 at 6:05 PM Pavlos Vinieratos notifications@github.com wrote:
@tonypee https://github.com/tonypee chill out my dude..
yea they introduce bugs, yea they could use some more testing before release #14864 https://github.com/facebook/react-native/issues/14864, but they are working hard. no need to go full mock-mode with a slow hand clap. its not just you having these problems. complaining is cool. whining is not.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/facebook/react-native/issues/14382#issuecomment-315989245, or mute the thread https://github.com/notifications/unsubscribe-auth/AC8aNWEfcM1z8mkGaAbc4QSlTagFrRnWks5sPGcxgaJpZM4Nznzg .
-- Tony Polinelli
I know. I have two production apps and they need constant development and constant babysitting for updates and dep incompatibilities. It can be annoying at times. Even though react native is like 2 years old, these problems are unfortunately still something that's comes with it. I was also stuck to 0.44 recently and skipped 0.45 because of a crash. now it's fixed so I updated. it's not the first time and probably not the last that I would be stuck to a version. I guess when react native is more feature/library stable, then people can work on actually making the experience more "stable".
After upgrading from
0.44.3
->0.45.0
, XCode no longer builds for me with the following error:I am not using cocoa pods, just npm packages. Seems like some related changes have been made that may be causing this issue?