Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building standalone iOS app #8

Closed
pyankoff opened this issue Oct 10, 2016 · 7 comments
Closed

Building standalone iOS app #8

pyankoff opened this issue Oct 10, 2016 · 7 comments

Comments

@pyankoff
Copy link
Contributor

pyankoff commented Oct 10, 2016

Hi! I'm trying to build a standalone app, but having trouble with configure step of the process. Running:

gulp ios-shell-app --url MYURL --action configure --type archive --archivePath ../shellAppBase-archive/Exponent.xcarchive --sdkVersion 10.0.0

Getting the following error:

Modifying config files under /Users/andrey/hack/exapp/shellAppBase-archive/Exponent.xcarchive...
/Users/andrey/hack/exapp/shellAppBase-archive/Exponent.xcarchive/EXShell.plist: file does not exist or is not readable or is not a regular file (Error Domain=NSCocoaErrorDomain Code=260 "The file “EXShell.plist” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/andrey/hack/exapp/shellAppBase-archive/Exponent.xcarchive/EXShell.plist, NSUnderlyingError=0x7fdf57d00c70 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}})
[22:08:07] 'ios-shell-app' errored after 1.76 s
[22:08:07] Error: ENOENT: no such file or directory, open '/Users/andrey/hack/exapp/shellAppBase-archive/Exponent.xcarchive/EXShell.json'
    at Error (native)

Same command works when I run in on shellAppBase-builds/simulator/Release/Exponent.app, but how to make it work with archive I can submit to App Store?

Thank you!

@skevy
Copy link
Contributor

skevy commented Oct 19, 2016

cc @terribleben

@pyankoff
Copy link
Contributor Author

Seems like I figured it out. Made it work by running configure on an Exponent.app file which is inside Exponent.xcarchive file.

@brentvatne
Copy link
Member

thanks for followup!

@lyahdav
Copy link

lyahdav commented May 14, 2017

This happened to me today after detaching an Expo project and changing the name of the project in exp.json. It seems the path to EXShell.plist is determined using the project name in Detach.js. I resolved by changing the project name back, but would be nice if there was better support for renaming a project in exp.json after detaching.

@geek6
Copy link

geek6 commented May 17, 2017

I got the same trouble just like @lyahdav . I also changed the 'name' in exp.json file before detaching an Expo project.

@zeeshanjan82
Copy link

I am also experiencing same issue as @lyahdav I have a detached Expo app and when I try changing the name of the app in app.json file and then publish I get this error. Is there any fix for this?

@manoj-makkuboy
Copy link

In the ejected version you can do this.

ExpoKit: To change the name of your app, edit the "Display Name" field in Xcode and the app_name string in android/app/src/main/res/values/strings.xml.

@lock lock bot added the outdated label Sep 14, 2019
@lock lock bot locked and limited conversation to collaborators Sep 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants