After upgrading from 0.44.3
-> 0.45.0
, XCode no longer builds for me with the following error:
Lexical or Preprocessor Issue
'config.h' file not found
I am not using cocoa pods, just npm packages. Seems like some related changes have been made that may be causing this issue?
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/
cd /Users/
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/
export BUILD_ROOT=/Users/
export BUILD_STYLE=
export BUILD_VARIANTS=normal
export BUILT_PRODUCTS_DIR=/Users/
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/
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/
export CLEAN_PRECOMPS=YES
export CLONE_HEADERS=NO
export CODESIGNING_FOLDER_PATH=/Users/
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/
export COMPRESS_PNG_FILES=YES
export CONFIGURATION=Release
export CONFIGURATION_BUILD_DIR=/Users/
export CONFIGURATION_TEMP_DIR=/Users/
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/
export DERIVED_FILE_DIR=/Users/
export DERIVED_SOURCES_DIR=/Users/
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/
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/
export FIXED_FILES_DIR=/Users/
export FRAMEWORK_FLAG_PREFIX=-framework
export FRAMEWORK_SEARCH_PATHS="/Users/
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/
export HIDE_BITCODE_SYMBOLS=YES
export HOME=/Users/
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/
export LD_GENERATE_MAP_FILE=NO
export LD_MAP_FILE_PATH=/Users/
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/
export LINKER_DISPLAYS_MANGLED_NAMES=NO
export LINK_FILE_LIST_normal_arm64=/Users/
export LINK_FILE_LIST_normal_armv7=/Users/
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/
export MODULE_CACHE_DIR=/Users/
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/
export OBJECT_FILE_DIR_normal=/Users/
export OBJROOT=/Users/
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/
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/
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/
export PROJECT_DIR=/Users/
export PROJECT_FILE_PATH=/Users/
export PROJECT_NAME=React
export PROJECT_TEMP_DIR=/Users/
export PROJECT_TEMP_ROOT=/Users/
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/
export REZ_EXECUTABLE=YES
export REZ_OBJECTS_DIR=/Users/
export REZ_SEARCH_PATHS="/Users/
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/
export SHARED_PRECOMPS_DIR=/Users/
export SKIP_INSTALL=YES
export SOURCE_ROOT=/Users/
export SRCROOT=/Users/
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/
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/
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/
export TEMP_DIR=/Users/
export TEMP_FILES_DIR=/Users/
export TEMP_FILE_DIR=/Users/
export TEMP_ROOT=/Users/
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/
export USER_LIBRARY_DIR=/Users/
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/
Unpacking /Users/
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/Users/--is-lightweight' option
Try
/Users/
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
-
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 [email protected]
.
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
Why aren't you just using this?
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".
anyway, now this issue here should be fixed with 0.46.4
I think we've got to work on a less entitled attitude. It's easy to forget that we're using React-Native, and the work of others, for free.
Sure, it's frustrating to have build issues, but come up with a procedure to test the build before you use it? You don't need to follow bleeding edge.
@doyouno your solution is right, now its working
I got the same issue on 0.46.4 version and on 0.47.0-rc.4. What I'm doing wrong?
@damirjs just follow @doyouno 's solution
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 .
@ddpatel2606 Thank you for answer!
make install
threw this error:
make: /Volumes/Macintosh: No such file or directory
make: *** [install-am] Error 1
and packager:
Error watching file for changes: EMFILE
{"code":"EMFILE","errno":"EMFILE","syscall":"Error watching file for changes:","filename":null}
Error: Error watching file for changes: EMFILE
at exports._errnoException (util.js:1018:11)
at FSEvent.FSWatcher._handle.onchange (fs.js:1420:11)
but app build successfully.
UPD: For resolving problems with watcher i used this recommendations:
https://github.com/facebook/react-native/issues/10088#issuecomment-265242851
and
https://github.com/facebook/react-native/issues/10088#issuecomment-310328595
Its works!!!
@Ignigena thanks! It works for me.
rm ~/.rncache/*
and build again.
It work for me.
@Ignigena very good
react-native/scripts/ios-install-third-party.sh
SCRIPTDIR=$(cd "$(dirname "$0")"; pwd)
# SCRIPTDIR="../../scripts"
It works.
I followed instructions from @javache and able to resolve the problem...(v 0.47)
If anybody facing the same issue as I have mentioned, can pull working template project from
https://github.com/chiragpurohit71085/working_react_native_0.47
@s13524801
i test every solution. only your's can work. thank you very mush.
my react-native version is [email protected] .
so . maybe in the ios-install-third-party.sh need add cd $(dirname $0) ?
for anyone finding this on RN v0.47.2, I needed to follow this very specific order of steps to get it working:
rm -rf node_modules && npm install
node_modules/react-native/third-party/glog
and run ../../scripts/ios-configure-glog.sh
rm -rf ~/.rncache
For whatever reason, other combinations of the other solutions wouldn't work. Like running ios-install-third-party.sh
separately (with the $SOURCEDIR
fix) before ../../scripts/ios-configure-glog.sh
would still get the error.
This also worked for RN 0.47 by @SudoPlz
https://github.com/facebook/react-native/issues/14382#issuecomment-309865151
cd node_modules/react-native/third-party/glog-*
../../scripts/ios-configure-glog.sh
boost_1_63_0.tar.gz double-conversion-1.1.5.tar.gz folly-2016.09.26.00.tar.gz and glog-0.3.4.tar.gz
.Make sure all of this file is ok.If any problem, you can download and replace by youself.My problem is, when downloading boost_1_63_0.tar.gz , it failed.
was having the same issue, tried ios-configure-glog.sh and it fixed that issue but raised this....
In my case after running ../../scripts/ios-configure-glog.sh
I always got an error like this:
configure: error: in 'PATH_TO_RN_PROJECT/node_modules/react-native/third-party/glog-0.3.4':
configure: error: C compiler cannot create executables
In config.log I found the following line:
checking for arm-apple-darwin-gcc... /Users/MYUSER/Downloads/Xcode 9.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -arch armv7 -isysroot /Users/MYUSER/Downloads/Xcode 9.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk
After moving my xcode to programs and rename it from 'Xcode 9' to 'Xcode' the error was gone.
I'm posting this because maybe someone has a similar situation 🍺
Renaming Xcode 9.app
to Xcode9.app
(without space) and following steps https://github.com/facebook/react-native/issues/14382#issuecomment-327412326 and https://github.com/facebook/react-native/issues/14382#issuecomment-326919739 fixed the problem for me.
I tried all the stuffs above, to no avail.
Then,
I updated npm and all that shit worked!
Be sure these four files glog-0.3.4.tar.gz double-conversion-1.1.5.tar.gz boost_1_63_0.tar.gz folly-2016.09.26.00.tar.gz in ~/.rncode are integrity.
Be sure these four files glog-0.3.4.tar.gz double-conversion-1.1.5.tar.gz boost_1_63_0.tar.gz folly-2016.09.26.00.tar.gz in ~/.rncode are integrity.
@masterkrang Thanks for the support.
It's working for me ;)
Yup, after rm -rf node_modules && npm i
it worked. Thanks guys.
Wow, very interesting.
rm -rf node_modules && npm i
it's worked!
this problem seams to be fixed in react native version 4.7 and higher.
I have the same error with [email protected] today and rm -rf node_module && npm i
did the trick.
Still getting the issue with react-native 0.50.3. Also tried the fix of running cd node_modules/react-native/third-party/glog-*
../../scripts/ios-configure-glog.sh
But that fails too
/Users/e/myproject/node_modules/react-native/third-party/glog-0.3.4/missing: Unknown `--is-lightweight' option
Try `/Users/e/myproject/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... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.1.sdk
checking whether the C compiler works... no
configure: error: in `/Users/e/myproject/node_modules/react-native/third-party/glog-0.3.4':
configure: error: C compiler cannot create executables
See `config.log' for more details
I was still having this problem using the latest release, react-native 0.50.3
.
After running all the build scripts manually one by one (and almost giving up in the process, btw), I found that moving into glog folder (node_modules/react-native/third-party/glog-0.3.4/
) and running the build process actually fixed it. The commands used where the following:
./configure
make
make install
After all of this, voila, it was working!
Nevertheless, after running the last command, I saw a message indicating that it could not find /Applications/Xcode.app
, which seemed really weird.
I realized that since I was using different versions of Xcode at the same time (8.3.2 and 9.0) I renamed both applications to indicate their version (Xcode 8.3.2 and Xcode 9, respectively). Just renaming the latest one to Xcode
again, and running rm -rf ~/.rncache
fixed it!
Seems to me that this could be easy fixable, since it looks like the path is harcoded. Just check that that Xcode was renamed correctly. Weirdly, I had to restart my computer in order for macOS to apply the name change
Just hit this after updating from React Native v0.47 to v0.50
I hit _Product > Clean_, closed Xcode, combined the instructions above:
rm -rf ~/.rncache
rm -rf node_modules
npm install
Then reopened Xcode, and the build worked normally! 👍
Part of @fedeojeda95's solution worked for me! :)
Note that previous to achieve it I've upgraded react-native
to version 0.50.3
:
react-native-git-upgrade
and I also did run:
rm -rf ~/.rncache
and:
npm install
I don´t know if any of those previous steps have had any impact on next steps working on.
So I've gone through the following steps with success:
Close Xcode.
Open Terminal
, go to your project's root folder and do:
cd node_modules/react-native/third-party/glog-0.3.4/
Run the configure script:
./configure
Open Xcode and try to run your app.
If on project navigator you can see the "Libraries/React.xcodeproj/ThirdParty/glog/config.h
" file(not in red), that's a good indication that your app should now compile and run ok.
If anyone is still having this issue, I upgraded to the latest version of Xcode 9.2 (stable) and the error went away and my project built without any issues.
cd /glog then
./configure
make
make install
make install
still error but it's build succeeded.
Version on my machine:
react-native-cli: 2.0.1
react-native: 0.51.0
I had "Unrecognized font family MaterialIcons".
While building ios app I had Build Failed because of it was looking for fonts in ..../node_modules/native-base/....
And I checked and found out that I have no 'react-base' installed.
So react-native install native-base
and then rebuild ios app helped me.
Well, for me, nothing of this worked, the third-party
folder doesn't even exist anymore in 0.48.3
I manually added the config.h file to the Pods project and pointed it to the GLog target as public for fixing the issue, seems like the prepare_command
(in the podspec) is never executed when using the :path option in the Podfile so ios-configure-glog.sh
is never executed, also configure
is missing (which is needed in the script)
RN v. 0.50.4.
Had the same issue.
Did 2 and 3 from @RicardoBarroso comment and also cleared the project -> worked.
*The only thing was that after this I had to completely delete an app from a device, cuz a default iOS launch screen (xib) started to appea and I was unable to remove it (there was no xib in the xcodeproj).
I just ran in this on 0.51. I went to the third-party folder and deleted it. After that started the build process in iOS and it recreated the folder and all went good.
I just ran in this on 0.51 as well.
rm -rf node_modules
yarn install
solved the issue
I get a very strange issue
../../scripts/ios-configure-glog.sh
./configure: line 1722: syntax error: unexpected end of file
The file looks like this 😳
Running ../../scripts/ios-configure-glog.sh
I am getting the following error (after upgrading to the current RN 0.52.2
version yesterday):
config.status: creating src/config.h
awk: illegal statement
input record number 1, file src/config.h.in
source line number 56
config.status: error: could not create src/config.h
Already tried removing rm -rf node_modules
and rm -rf ~/.rncache
.
Still no joy, I have to go back as far as rn 0.39.0
to be able to build.
When I run ../../scripts/ios-configure-glog.sh
on a rn 0.53.0
version I get the following error (I get the same error when I manually run ./configure
in the node_modules/react-native/third-party/glog-0.3.4
directory):
...
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
awk: illegal statement
input record number 1, file src/config.h.in
source line number 55
config.status: error: could not create src/config.h
These are only the last few lines, am happy to post the whole output if that helps. This is on a brand new test project which I initialised for this test.
this should solve:
rm -rf ~/.rncache
rm -rf node_modules
yarn
react-native run-ios
we can close this, it is not happening in latest react-native versions
@sibelius That procedure did not fix it on my machine. Still happening with rn 0.53 for me on a brand new project, initialised just for testing this.
Even went so far as deinstalling Xcode and nvm and upgraded to node 9.4.0.
As said I had to fall back to rn 0.39 in order to successfully build.
I just installed react-native to this MacOS X system, following the instructions to the letter, and I'm getting the "config.h file not found" error in mutex.h when trying to build with Xcode.
Also, "react-native run-ios" does not work (giving an xcrun error about missing "instruments").
This issue was reported on June 2017. We are now on February 2018, and the problem still persists. I find this absolutely mind-boggling. Exactly how long can it take for a problem like this to be fixed?
Btw, removing the node_modules directory from the project and running "npm install" fixed the problem somehow.
I had to upgrade react-native
version to 0.50.0
as dependency to another package. But after that I am getting config.h
error.
My current working package.json
{
"name": "MyApp",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
"dependencies": {
"react": "16.0.0-alpha.12",
"react-native": "0.45.1",
"react-native-elements": "^0.19.0",
"react-navigation": "^1.0.0-beta.29"
},
"devDependencies": {
"babel-jest": "22.1.0",
"babel-preset-react-native": "4.0.0",
"jest": "22.1.4",
"react-test-renderer": "16.0.0-alpha.12"
},
"jest": {
"preset": "react-native"
}
}
I tried above solutions like,
npm install
So, I decided to create a new project, but it failed with same error config.h error.
New project's package.json
{
"name": "TestProject",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
"dependencies": {
"react": "16.2.0",
"react-native": "0.53.0"
},
"devDependencies": {
"babel-jest": "22.2.2",
"babel-preset-react-native": "4.0.0",
"jest": "22.3.0",
"react-test-renderer": "16.2.0"
},
"jest": {
"preset": "react-native"
}
}
SOLUTION: I had 2 xcode versions. I removed the old one and it worked.
Hi everyone .... i have bug 'config.h' file not found but i run ../../scripts/ios-configure-glog.sh
. it didn't work and in teminal show
Vuongs-MacBook-Pro:glog-0.3.4 vuonghaithanh$ ../../scripts/ios-configure-glog.sh
../../scripts/ios-configure-glog.sh: line 7: xcrun: command not found
../../scripts/ios-configure-glog.sh: line 7: xcrun: command not found
checking for a BSD-compatible install... /usr/local/bin/ginstall -c
checking whether build environment is sane... yes
/Users/vuonghaithanh/WebstormProjects/testreact/node_modules/react-native/third-party/glog-0.3.4/missing: Unknown
--is-lightweight' option
Try /Users/vuonghaithanh/WebstormProjects/testreact/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... /usr/local/bin/gmkdir -p
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... -arch armv7 -isysroot
checking whether the C compiler works... no
configure: error: in
/Users/vuonghaithanh/WebstormProjects/testreact/node_modules/react-native/third-party/glog-0.3.4':
configure: error: C compiler cannot create executables
See config.log' for more details
pls help me how to fix
react-native-cli: 2.0.1
react-native: 0.53.3
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer/
Solved the problem on MacOS
@coicoichip did you manage to solve your problem ?
The original issue appears to be solved. To minimize confusion, please open a new issue with information pertaining to your particular situation.
I have been through this issue on RN 0.54.0 . While building iOS app with XCode 9.0.
To resolve this goto
cd /node_modules/react-native/third-party/glog-0.3.4
and run
./configure
after finishing this command Try to clean & build XCode project.
This will resolve issue.
This issue is not resolved. I get seemingly random occurances on package updates.
Hi all,
I am getting following error on running ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... configure: error: unsafe absolute working directory name
I still have this issue whenever I do yarn add <package>
or yarn remove <package>
with react-native: 0.54.2
@vishaalkolhe90 Thanks, you're my time saver. (RN 0.52.0, XCode 9.2)
I have worked npm cache clean --force
many times. I have worked npm install
many times. But I do not have glog folder.
react-native: 0.54.3
My Podfile:
```# Uncomment the next line to define a global platform for your project
platform :ios, '8.0'
target 'appName' do
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks
# use_frameworks!
# Pods for appName
# Your 'node_modules' directory is probably in the root of your project,
# but if not, adjust the :path
accordingly
pod 'React', :path => '../node_modules/react-native', :subspecs => [
'Core',
'CxxBridge', # Include this for RN >= 0.47
'DevSupport', # Include this to enable In-App Devmenu if RN >= 0.43
'RCTText',
'RCTNetwork',
'RCTWebSocket', # needed for debugging
# Add any other subspecs you want to use in your project
]
# Explicitly include Yoga if you are using RN >= 0.42.0
pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
# Third party deps podspec link
pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
pod 'GLog', :podspec => '../node_modules/react-native/third-party-podspecs/GLog.podspec'
pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
end
`
After `pod install`
[!] The name of the given podspec glog
doesn't match the expected one GLog
``
I do not have glog folder in /node_modules/react-native:
Any idea how to resolve? Tried two times by creating new projects but it does nt work
Same issue on react-native 0.54.3. @Ignigena's solution saved my life and sanity. However I'm looking forward to future fixes and not having to run this script all the time. Nothing against the React Native team - this is complicated stuff!
React Native Version: 0.54.2
One step:
@fedeojeda95
cd node_modules/react-native/third-party/glog-0.3.4
./configure
make
make install
Two step:
@Ignigena
cd node_modules/react-native/scripts
./ios-configure-glog.sh
I'm installed Xcode (9.3) and Xcode 9.2.
I use Xcode 9.2 to build.
Because 9.3 has a problem with RN compatibility.
Thank you for the above two.
I hope my situation is of reference to you.
I'm using Xcode 9.3. What problem with RN compatibility?
To resolve this error, follow below steps:
Steps:
@Ignigena is right here.
This error is caused by wrong exec path in of shell "./node_modules/react-native/scripts/ios-install-third-party.sh". and " ./node_modules/react-native/scripts/ios-configure-glog.sh"
These two script require run at './node_modules/react-native/' and './node_modules/react-native/third-party/glog-0.3.4/' . If first is not satisfying, there will no 'ThirdParty' content. With second is not, glog will not be configed on darwin, which means some file will not be generated.
Problem solve, I reinstall node and npm and then it worked
When i create a new project with react-native version 2.0.1, i see same problem before mentioned. If you created any project before copy third-party folder from there or just download it from here : https://github.com/AgNm/third-party and past it to node_modules/react-native.
This workaround worked for me.
@Ignigena is correct.
I just had this issue with the latest react and xcode as of today (10b2). Resolved.
I got it fixed by following this steps:
cd <Project-Folder>/node_modules/react-native/third-party/glog-0.3.4
./configure
make
make install
Hope this solves the issue
what worked for me:
yarn cache clean
rm -rf node_modules
yarn install
Fix my bug.
rm -rf node_modules/ && yarn cache clean && yarn install
node_modules/react-native/scripts/ios-install-third-party.sh
from @mattijsf
Thank you @Ignigena!
Your solution was the only that really worked for me.
Thank you everyone, I solved my problem.
i am
macOS 10.13.6
"react-native": "0.56.1"
Share the steps I solved:
rm -rf node_modules/ && yarn cache clean && yarn install
and rm -rf ~/.rncache
cd node_modules/react-native/scripts
./ios-install-third-party.sh
rncache
foldercd <Your-Project-Folder>/node_modules/react-native/third-party/glog-0.3.4
./configure
Xcode Clean & Build
hope to help friends who have the same problem.
@coicoichip xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist
Use sudo xcode-select --switch path/to/Xcode.app
to specify the Xcode that you wish to use for command line developer tools, or use xcode-select --install
to install the standalone command line developer tools.
See man xcode-select
for more details.
sudo xcode-select --switch path/to/Xcode.app The path to Xcode.app carried out xcode-select --switch Xcode.app
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:
- In the Terminal, navigate to the
react-native/third-party/glog
folder insidenode_modules
(for me, this wascd node_modules/react-native/third-party/glog-0.3.4
)- Once actively in this folder, run
../../scripts/ios-configure-glog.sh
- Glog is configured and the required
config.h
header file is created for Xcode to find
I tried the above code, then I got the following error like
configure: error: in /Users/macmini1/Downloads/react-native-youtube-master/example/node_modules/react-native/third-party/glog-0.3.4':
configure: error: C compiler cannot create executables
See
config.log' for more details
I solved by using the following command
$ ./configure --host arm-apple-darwin
Just received same issue with v 0.56.0, seems to be ongoing? This was for existing project.
This is a returning issue every now an then. This time I got it after upgrading to Xcode 10. The steps from @lyon007 worked for me.
Same issue as @mattijsf, upgrade to Xcode 10 GM and a yarn install
caused this and #16106 for some reason
Just got this with 0.50.4 and the steps from @lyon007 did the trick.
For everyone else getting the error when building for devices in Xcode 10:
No member named '__rip' in '__darwin_arm_thread_state64'
Do not use ./configure
to build glog. That will produce a broken config.h
in Xcode 10. Use this instead:
cd node_modules/react-native/third-party/glog-0.3.5/ && ../../scripts/ios-configure-glog.sh
_Note that the version in the path might differ per react-native version..._
In my case, it was actually related to having Xcode app named Xcode 9.4.1
.
Renaming it to Xcode.app as specified in this comment solved the issue.
thank you! @Ignigena
your solution still works for 0.55.2.
Environment:
OS: macOS High Sierra 10.13.6
Node: 10.10.0
Yarn: 1.9.4
npm: 6.4.1
Watchman: 4.9.0
Xcode: Xcode 10.0 Build version 10A255
Android Studio: 3.1 AI-173.4819257
Packages: (wanted => installed)
react: 16.3.2 => 16.3.2
react-native: 0.55.2 => 0.55.2
I am getting ./ios-install-third-party.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 119 0 119 0 0 172 0 --:--:-- --:--:-- --:--:-- 172
100 510k 100 510k 0 0 330k 0 0:00:01 0:00:01 --:--:-- 4185k
curl: Saved to filename 'glog-0.3.4.tar.gz'
Unpacking /Users/roman/.rncache/glog-0.3.4.tar.gz...
./ios-install-third-party.sh: line 56: ./ios-configure-glog.sh: No such file or directory
when trying to execute @lyon007 steps, anyone has a clue? running Xcode 10.
be in node_modules/react-native folder.
run ./scripts/ios-install-third-party.sh.
go to node_modules/react-native/third-party/glog-0.3.4.
run ../../scripts/ios-configure.sh.
done.
Re-opening as it looks like the introduction of Xcode 10 has re-surfaced the issue. For future reference, please open a new issue if you find a closed issue with many comments claiming it's still happening. Comments on closed issues like this one generally go unnoticed by us maintainers.
Actually, on a closer look, this appears to be covered already in #20774, which is still open. The root cause is projects using the new build system fail to run the third party install script at the right time. I'm closing this again, and please use #20774 as the central place to discuss solutions to the root cause.
Duplicate of #20774
Most helpful comment
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 insidenode_modules
(for me, this wascd node_modules/react-native/third-party/glog-0.3.4
)../../scripts/ios-configure-glog.sh
config.h
header file is created for Xcode to find