Skip to content

react-native run-ios FAILED #18238

@nky89

Description

@nky89

(Describe your issue in detail.)

Environment

Environment:
OS: OS X El Capitan 10.11.6
Node: 8.1.2
Yarn: Not Found
npm: 4.6.1
Watchman: 4.9.1
Xcode: Xcode 8.2.1 Build version 8C1002
Android Studio: 3.0 AI-171.4443003

Packages: (wanted => installed)
react: 16.3.0-alpha.1 => 16.3.0-alpha.1
react-native: 0.54.0 => 0.54.0

Expected Behavior

Build Success

Actual Behavior

** BUILD FAILED **

The following build commands failed:
CompileC /Users/NKY/Code/Learn/RN/AwesomeProject/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/React.build/Objects-normal/x86_64/RCTFont.o Views/RCTFont.mm normal x86_64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler

Steps to Reproduce

  1. react-native init AwesomeProject
  2. cd AwesomeProject
  3. react-native run-ios

Build With XCode

/Users/NKY/Code/Learn/RN/AwesomeProject/node_modules/react-native/React/Views/RCTFont.mm:110:39: Unknown type name 'UIFontWeight'; did you mean 'RCTFontWeight'?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions