Skip to content

Can't change iOS entry file. #14105

Closed
Closed
@malashkevich

Description

@malashkevich

Description

I want to change entry file from index.ios.js to index.js.
I also use CI to build and deliver builds.
There was no problem with Android, but iOS just don't want to accept string that mentioned in jsBundleURLForBundleRoot parameter in AppDelegate.m.

I found out that CI calls file react-native/packager/react-native-xcode.sh where hardcoded value react-native-xcode.sh.
Seems like the only way to have index.js - to fix it in file mentioned above.
But seems like this is bad idea.

Am I missing something? Probably there is correct way and I can just find it.

Additional Information

  • React Native version: RN 43
  • Platform: iOS

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