Skip to content

react-native-cli init leads to corrupt project #2593

@mschipperheyn

Description

@mschipperheyn

Made sure I upgraded react-native-cli to latest version and created a new project.

First of all, myproject.xodeproj is installed to the IOS directory, not as indicated by the cli in the root directory of the project.

When I open in xcode and try to run, I get a parse error in RCTNetworking.m at line 223: expected a type and in RCTBridgeModule.h at lines 140: Expanded from macro RCT_EXPORT_METHOD and 152: Expanded from macro RCT_REMAP_METHOD.

Second time I try to run the project, I also get parse errors in RCTWebSocketManager.m

I use Xcode on Mac OS Maverick. Perhaps this has something to do w it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions