expo eject with expo kit

Hello, we are doing tests to evaluate whether to work with expo or not for a project. For this one of the tests was to create a project with expo init and then (without making any change) do the eject with expo eject.
We follow the indications of the documentation, but it gives an error when trying to start the application with react-native run-ios

this is the error:

The following build commands failed:
PhaseScriptExecution [CP]\ Check\ Pods\ Manifest.lock build/Build/Intermediates.noindex/pruebaexpo.build/Debug-iphonesimulator/pruebaexpo.build/Script-23539343DCC44EF8449429EE.sh

(1 failure)

Installing build/Build/Products/Debug-iphonesimulator/pruebaexpo.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=22):
Failed to install the requested application
The bundle identifier of the application could not be determined.
Ensure that the application’s Info.plist contains a value for CFBundleIdentifier.
Print: Entry, “:CFBundleIdentifier”, Does Not Exist

Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/pruebaexpo.app/Info.plist

Print: Entry, “:CFBundleIdentifier”, Does Not Exist

Any help please? We really like EXPO, but we’re afraid we can not do the eject later (If we have to)

Thanks a lot

Hey @proyectarse,

Use expo start --ios rather than react-native run-ios: https://docs.expo.io/versions/v30.0.0/expokit/expokit.html#2-run-the-project-with-expo-cli-451

Also, if there’s documentation that says to use react-native run-ios, can you point me to it?

Cheers,

Adam

Adam, Thanks a lot, for the quick answer… I will try it.
We thought that as we eject from Expo we would have to use react-native run-ios/android.

Thanks, we’ll let you know if it works

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.