Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build react-native project for iOS 11 with Xcode 9 GM seed #15922

Closed
dantman opened this issue Sep 13, 2017 · 4 comments
Closed

Cannot build react-native project for iOS 11 with Xcode 9 GM seed #15922

dantman opened this issue Sep 13, 2017 · 4 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@dantman
Copy link
Contributor

dantman commented Sep 13, 2017

Is this a bug report?

Yes

Have you read the Contributing Guidelines?

Yes

Environment

  1. react-native -v:
  • react-native-cli: 2.0.1
  • react-native: 0.48.3
  1. node -v: v8.4.0
  2. npm -v: 5.3.0
  3. yarn --version: 1.0.1

Then, specify:

  • Target Platform: iOS 11
  • Development Operating System: macOS Sierra 10.12.6
  • Build tools: Xcode 9 GM seed

Steps to Reproduce

  1. Download the "Xcode 9 GM seed" at https://developer.apple.com/download/
  2. Using the most recent react-native-cli create an empty react-native project: react-native init TestIOS11
  3. Open that project's ios/ folder in Xcode 9 GM seed
  4. Select "iPhone X" as your built target
  5. Run

Result

The react-native build fails while running the "install third-pary" script for the double-conversion built target.

Showing Recent Messages
Unpacking /Users/daniel/.rncache/glog-0.3.4.tar.gz...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/tmp/TestIOS11/node_modules/react-native/third-party/glog-0.3.4/missing: Unknown `--is-lightweight' option
Try `/tmp/TestIOS11/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/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -arch x86_64 -isysroot /Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk
checking whether the C compiler works... no
configure: error: in `/tmp/TestIOS11/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
Log
PhaseScriptExecution Install\ Third\ Party /Users/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/Script-190EE32F1E6A43DE00A8543A.sh
    cd /tmp/TestIOS11/node_modules/react-native/React
    export ACTION=build
    export AD_HOC_CODE_SIGNING_ALLOWED=YES
    export ALTERNATE_GROUP=staff
    export ALTERNATE_MODE=u+w,go-w,a+rX
    export ALTERNATE_OWNER=daniel
    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=x86_64
    export ARCHS_STANDARD="i386 x86_64"
    export ARCHS_STANDARD_32_64_BIT="i386 x86_64"
    export ARCHS_STANDARD_32_BIT=i386
    export ARCHS_STANDARD_64_BIT=x86_64
    export ARCHS_STANDARD_INCLUDING_64_BIT="i386 x86_64"
    export ARCHS_UNIVERSAL_IPHONE_OS="i386 x86_64"
    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/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Products
    export BUILD_ROOT=/Users/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Products
    export BUILD_STYLE=
    export BUILD_VARIANTS=normal
    export BUILT_PRODUCTS_DIR=/Users/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Products/Debug-iphonesimulator
    export CACHE_ROOT=/var/folders/t4/lr96d_b55fd7f5cb1c_60rl80000gn/C/com.apple.DeveloperTools/9.0-9A235/Xcode
    export CCHROOT=/var/folders/t4/lr96d_b55fd7f5cb1c_60rl80000gn/C/com.apple.DeveloperTools/9.0-9A235/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/daniel/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/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/JavaClasses
    export CLEAN_PRECOMPS=YES
    export CLONE_HEADERS=NO
    export CODESIGNING_FOLDER_PATH=/Users/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Products/Debug-iphonesimulator/libdouble-conversion.a
    export CODE_SIGNING_ALLOWED=NO
    export CODE_SIGNING_REQUIRED=YES
    export CODE_SIGN_CONTEXT_CLASS=XCiPhoneSimulatorCodeSignContext
    export CODE_SIGN_IDENTITY=-
    export COLOR_DIAGNOSTICS=NO
    export COMBINE_HIDPI_IMAGES=NO
    export COMMAND_MODE=legacy
    export COMPILER_INDEX_STORE_ENABLE=Default
    export COMPOSITE_SDK_DIRS=/Users/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Intermediates.noindex/CompositeSDKs
    export COMPRESS_PNG_FILES=YES
    export CONFIGURATION=Debug
    export CONFIGURATION_BUILD_DIR=/Users/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Products/Debug-iphonesimulator
    export CONFIGURATION_TEMP_DIR=/Users/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Intermediates.noindex/React.build/Debug-iphonesimulator
    export COPYING_PRESERVES_HFS_DATA=NO
    export COPY_HEADERS_RUN_UNIFDEF=NO
    export COPY_PHASE_STRIP=NO
    export COPY_RESOURCES_FROM_STATIC_FRAMEWORKS=YES
    export CORRESPONDING_DEVICE_PLATFORM_DIR="/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/Platforms/iPhoneOS.platform"
    export CORRESPONDING_DEVICE_PLATFORM_NAME=iphoneos
    export CORRESPONDING_DEVICE_SDK_DIR="/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk"
    export CORRESPONDING_DEVICE_SDK_NAME=iphoneos11.0
    export CP=/bin/cp
    export CREATE_INFOPLIST_SECTION_IN_BINARY=NO
    export CURRENT_ARCH=x86_64
    export CURRENT_VARIANT=normal
    export DEAD_CODE_STRIPPING=YES
    export DEBUGGING_SYMBOLS=YES
    export DEBUG_INFORMATION_FORMAT=dwarf
    export DEFAULT_COMPILER=com.apple.compilers.llvm.clang.1_0
    export DEFAULT_KEXT_INSTALL_PATH=/System/Library/Extensions
    export DEFINES_MODULE=NO
    export DEPLOYMENT_LOCATION=NO
    export DEPLOYMENT_POSTPROCESSING=NO
    export DEPLOYMENT_TARGET_CLANG_ENV_NAME=IPHONEOS_DEPLOYMENT_TARGET
    export DEPLOYMENT_TARGET_CLANG_FLAG_NAME=mios-simulator-version-min
    export DEPLOYMENT_TARGET_CLANG_FLAG_PREFIX=-mios-simulator-version-min=
    export DEPLOYMENT_TARGET_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 11.0"
    export DERIVED_FILES_DIR=/Users/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/DerivedSources
    export DERIVED_FILE_DIR=/Users/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/DerivedSources
    export DERIVED_SOURCES_DIR=/Users/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/DerivedSources
    export DEVELOPER_APPLICATIONS_DIR="/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/Applications"
    export DEVELOPER_BIN_DIR="/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/usr/bin"
    export DEVELOPER_DIR="/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer"
    export DEVELOPER_FRAMEWORKS_DIR="/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/Library/Frameworks"
    export DEVELOPER_FRAMEWORKS_DIR_QUOTED="/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/Library/Frameworks"
    export DEVELOPER_LIBRARY_DIR="/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/Library"
    export DEVELOPER_SDK_DIR="/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs"
    export DEVELOPER_TOOLS_DIR="/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/Tools"
    export DEVELOPER_USR_DIR="/Users/daniel/Downloads/Xcode 9 GM.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="/Users/daniel/Downloads/Xcode 9 GM.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/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Products/Debug-iphonesimulator
    export EFFECTIVE_PLATFORM_NAME=-iphonesimulator
    export EMBEDDED_CONTENT_CONTAINS_SWIFT=NO
    export EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE=NO
    export ENABLE_BITCODE=NO
    export ENABLE_DEFAULT_HEADER_SEARCH_PATHS=YES
    export ENABLE_HEADER_DEPENDENCIES=YES
    export ENABLE_ON_DEMAND_RESOURCES=NO
    export ENABLE_STRICT_OBJC_MSGSEND=YES
    export ENABLE_TESTABILITY=YES
    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/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/Objects/LinkFileList
    export FIXED_FILES_DIR=/Users/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/FixedFiles
    export FRAMEWORK_FLAG_PREFIX=-framework
    export FRAMEWORK_SEARCH_PATHS="/Users/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Products/Debug-iphonesimulator "
    export FRAMEWORK_VERSION=A
    export FULL_PRODUCT_NAME=libdouble-conversion.a
    export GCC3_VERSION=3.3
    export GCC_C_LANGUAGE_STANDARD=gnu99
    export GCC_DYNAMIC_NO_PIC=NO
    export GCC_NO_COMMON_BLOCKS=YES
    export GCC_OBJC_LEGACY_DISPATCH=YES
    export GCC_OPTIMIZATION_LEVEL=0
    export GCC_PFE_FILE_C_DIALECTS="c objective-c c++ objective-c++"
    export GCC_PREPROCESSOR_DEFINITIONS="DEBUG=1 RCT_DEBUG=1 RCT_DEV=1 RCT_NSASSERT=1"
    export GCC_SYMBOLS_PRIVATE_EXTERN=NO
    export GCC_TREAT_WARNINGS_AS_ERRORS=NO
    export GCC_VERSION=com.apple.compilers.llvm.clang.1_0
    export GCC_VERSION_IDENTIFIER=com_apple_compilers_llvm_clang_1_0
    export GCC_WARN_64_TO_32_BIT_CONVERSION=YES
    export GCC_WARN_ABOUT_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/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Products/Debug-iphonesimulator/include "
    export HIDE_BITCODE_SYMBOLS=YES
    export HOME=/Users/daniel
    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=daniel
    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/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/Objects-normal/x86_64/double-conversion_dependency_info.dat
    export LD_GENERATE_MAP_FILE=NO
    export LD_MAP_FILE_PATH=/Users/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/double-conversion-LinkMap-normal-x86_64.txt
    export LD_NO_PIE=NO
    export LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER=YES
    export LEGACY_DEVELOPER_DIR="/Users/daniel/Downloads/Xcode 9 GM.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/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Products/Debug-iphonesimulator "
    export LINKER_DISPLAYS_MANGLED_NAMES=NO
    export LINK_FILE_LIST_normal_x86_64=/Users/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/Objects-normal/x86_64/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=16G29
    export MAC_OS_X_VERSION_ACTUAL=101206
    export MAC_OS_X_VERSION_MAJOR=101200
    export MAC_OS_X_VERSION_MINOR=1206
    export METAL_LIBRARY_FILE_BASE=default
    export METAL_LIBRARY_OUTPUT_DIR=/Users/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Products/Debug-iphonesimulator/
    export MODULE_CACHE_DIR=/Users/daniel/Library/Developer/Xcode/DerivedData/ModuleCache
    export MTL_ENABLE_DEBUG_INFO=YES
    export NATIVE_ARCH=i386
    export NATIVE_ARCH_32_BIT=i386
    export NATIVE_ARCH_64_BIT=x86_64
    export NATIVE_ARCH_ACTUAL=x86_64
    export NO_COMMON=YES
    export OBJC_ABI_VERSION=2
    export OBJECT_FILE_DIR=/Users/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/Objects
    export OBJECT_FILE_DIR_normal=/Users/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/Objects-normal
    export OBJROOT=/Users/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Intermediates.noindex
    export ONLY_ACTIVE_ARCH=YES
    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="/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/bin:/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/libexec:/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/local/bin:/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/bin:/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/local/bin:/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/usr/bin:/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/usr/local/bin:/Users/daniel/Downloads/Xcode 9 GM.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 /Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/Headers /Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/SDKs /Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/Platforms"
    export PFE_FILE_C_DIALECTS=c++
    export PKGINFO_FILE_PATH=/Users/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/PkgInfo
    export PLATFORM_DEVELOPER_APPLICATIONS_DIR="/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications"
    export PLATFORM_DEVELOPER_BIN_DIR="/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin"
    export PLATFORM_DEVELOPER_LIBRARY_DIR="/Users/daniel/Downloads/Xcode 9 GM.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library"
    export PLATFORM_DEVELOPER_SDK_DIR="/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs"
    export PLATFORM_DEVELOPER_TOOLS_DIR="/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Tools"
    export PLATFORM_DEVELOPER_USR_DIR="/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr"
    export PLATFORM_DIR="/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/Platforms/iPhoneSimulator.platform"
    export PLATFORM_DISPLAY_NAME="iOS Simulator"
    export PLATFORM_NAME=iphonesimulator
    export PLATFORM_PREFERRED_ARCH=x86_64
    export PLIST_FILE_OUTPUT_FORMAT=binary
    export PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR=YES
    export PRECOMP_DESTINATION_DIR=/Users/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/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/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Intermediates.noindex/React.build/DerivedSources
    export PROJECT_DIR=/tmp/TestIOS11/node_modules/react-native/React
    export PROJECT_FILE_PATH=/tmp/TestIOS11/node_modules/react-native/React/React.xcodeproj
    export PROJECT_NAME=React
    export PROJECT_TEMP_DIR=/Users/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Intermediates.noindex/React.build
    export PROJECT_TEMP_ROOT=/Users/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Intermediates.noindex
    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/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/ResourceManagerResources
    export REZ_EXECUTABLE=YES
    export REZ_OBJECTS_DIR=/Users/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/ResourceManagerResources/Objects
    export REZ_SEARCH_PATHS="/Users/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Products/Debug-iphonesimulator "
    export SCAN_ALL_SOURCE_FILES_FOR_INCLUDES=NO
    export SCRIPT_INPUT_FILE_COUNT=0
    export SCRIPT_OUTPUT_FILE_COUNT=0
    export SDKROOT="/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk"
    export SDK_DIR="/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk"
    export SDK_DIR_iphonesimulator11_0="/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk"
    export SDK_NAME=iphonesimulator11.0
    export SDK_NAMES=iphonesimulator11.0
    export SDK_PRODUCT_BUILD_VERSION=15A372
    export SDK_VERSION=11.0
    export SDK_VERSION_ACTUAL=110000
    export SDK_VERSION_MAJOR=110000
    export SDK_VERSION_MINOR=000
    export SED=/usr/bin/sed
    export SEPARATE_STRIP=NO
    export SEPARATE_SYMBOL_EDIT=NO
    export SET_DIR_MODE_OWNER_GROUP=YES
    export SET_FILE_MODE_OWNER_GROUP=NO
    export SHALLOW_BUNDLE=NO
    export SHARED_DERIVED_FILE_DIR=/Users/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Products/Debug-iphonesimulator/DerivedSources
    export SHARED_PRECOMPS_DIR=/Users/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Intermediates.noindex/PrecompiledHeaders
    export SKIP_INSTALL=YES
    export SOURCE_ROOT=/tmp/TestIOS11/node_modules/react-native/React
    export SRCROOT=/tmp/TestIOS11/node_modules/react-native/React
    export STRINGS_FILE_OUTPUT_ENCODING=binary
    export STRIP_BITCODE_FROM_COPIED_FILES=NO
    export STRIP_INSTALLED_PRODUCT=YES
    export STRIP_STYLE=debugging
    export STRIP_SWIFT_SYMBOLS=YES
    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/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/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="/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/Applications"
    export SYSTEM_DEVELOPER_BIN_DIR="/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/usr/bin"
    export SYSTEM_DEVELOPER_DEMOS_DIR="/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/Applications/Utilities/Built Examples"
    export SYSTEM_DEVELOPER_DIR="/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer"
    export SYSTEM_DEVELOPER_DOC_DIR="/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/ADC Reference Library"
    export SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR="/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/Applications/Graphics Tools"
    export SYSTEM_DEVELOPER_JAVA_TOOLS_DIR="/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/Applications/Java Tools"
    export SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR="/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/Applications/Performance Tools"
    export SYSTEM_DEVELOPER_RELEASENOTES_DIR="/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/ADC Reference Library/releasenotes"
    export SYSTEM_DEVELOPER_TOOLS="/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/Tools"
    export SYSTEM_DEVELOPER_TOOLS_DOC_DIR="/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools"
    export SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR="/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools"
    export SYSTEM_DEVELOPER_USR_DIR="/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/usr"
    export SYSTEM_DEVELOPER_UTILITIES_DIR="/Users/daniel/Downloads/Xcode 9 GM.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/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Products/Debug-iphonesimulator
    export TARGET_DEVICE_IDENTIFIER=97B8BBFF-37AF-4976-B51E-46D40FA33171
    export TARGET_DEVICE_MODEL=iPhone10,3
    export TARGET_DEVICE_OS_VERSION=11.0
    export TARGET_NAME=double-conversion
    export TARGET_TEMP_DIR=/Users/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build
    export TEMP_DIR=/Users/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build
    export TEMP_FILES_DIR=/Users/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build
    export TEMP_FILE_DIR=/Users/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build
    export TEMP_ROOT=/Users/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Intermediates.noindex
    export TOOLCHAINS=com.apple.dt.toolchain.XcodeDefault
    export TOOLCHAIN_DIR="/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain"
    export TREAT_MISSING_BASELINES_AS_TEST_FAILURES=NO
    export UID=501
    export UNSTRIPPED_PRODUCT=NO
    export USER=daniel
    export USER_APPS_DIR=/Users/daniel/Applications
    export USER_LIBRARY_DIR=/Users/daniel/Library
    export USE_DYNAMIC_NO_PIC=YES
    export USE_HEADERMAP=YES
    export USE_HEADER_SYMLINKS=NO
    export VALIDATE_PRODUCT=NO
    export VALID_ARCHS="i386 x86_64"
    export VERBOSE_PBXCP=NO
    export VERSION_INFO_BUILDER=daniel
    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="/Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/Library/Xcode"
    export XCODE_PRODUCT_BUILD_VERSION=9A235
    export XCODE_VERSION_ACTUAL=0900
    export XCODE_VERSION_MAJOR=0900
    export XCODE_VERSION_MINOR=0900
    export XPCSERVICES_FOLDER_PATH=/XPCServices
    export YACC=yacc
    export arch=x86_64
    export variant=normal
    /bin/sh -c /Users/daniel/Library/Developer/Xcode/DerivedData/TestIOS11-dbfijnvrcwlplkaauuexxmntqbff/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/Script-190EE32F1E6A43DE00A8543A.sh

Unpacking /Users/daniel/.rncache/glog-0.3.4.tar.gz...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/tmp/TestIOS11/node_modules/react-native/third-party/glog-0.3.4/missing: Unknown `--is-lightweight' option
Try `/tmp/TestIOS11/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/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -arch x86_64 -isysroot /Users/daniel/Downloads/Xcode 9 GM.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk
checking whether the C compiler works... no
configure: error: in `/tmp/TestIOS11/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
@Kennytian
Copy link

reference info: http://reactnative.cn/post/4301, by the way, you can learning some Chinese language 🇨🇳

@fbacker
Copy link

fbacker commented Sep 14, 2017

Yeah, everything seems to f*** using multiple xCode.
This fixed the issue for me

rm -r ~/.rncache/
cd node_modules/react-native/third-party/glog-0.3.4/
./configure --host arm-apple-darwin

@dantman
Copy link
Contributor Author

dantman commented Sep 14, 2017

@fbacker Yup, that does the trick. Looks like the only issue is with multiple Xcode installations. After dealing with that the actual app I'm working on (with a pile of other react-native libraries) builds fine for iOS 11 and just runs.

Now I can get to filing issues in various repos related to iPhone X's new status bar height and footer area.

@stanly-johnson
Copy link

@fbacker Your comment saved me :)

@facebook facebook locked as resolved and limited conversation to collaborators Sep 14, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Sep 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

5 participants