Skip to content

[CLI] Flag to create a new Swift project #1670

Description

@yelled3

when I create a new project by running the running the react-native-cli

react-native init AwesomeProject

from the quick start guide

the newly created project is an objC project.
which means I need to be working with the swift auto generated header (`#import "AwesomeProject-Swift.h") - assuming I want to write mostly in Swift, it's a pain.

is there way to create a new (preconfigured) swift project using the CLI? e.g react-native init --swift AwesomeProject

this is somewhat of a follow up question to - #1669
since I was trying to solve this issue by creating a new Swift project and then install ReactNative from CocoaPods. (which didn't work as well...)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good first issueInterested in collaborating? Take a stab at fixing one of these issues.Resolution: LockedThis issue was locked by the bot.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions