"No cache exists for this resource: kernel.ios.bundle" in SDK 25.0 detached app
See original GitHub issueI upgraded my app to SDK 25.0.0, then detached for building with Xcode. The resulted app doesn’t work, giving me error “No cache exists for this resource: kernel.ios.bundle”.
I thought offline JS bundle should be supported by now. Am I missing something?
I’m using exp 49.0.1, SDK 25.0.0. Steps to reproduce
exp init ...
# modify app.json, update slug, package name etc.
exp detach
exp publish
cd ios ; pod install
Then open the workspace in Xcode, Archive and export IPA for ad-hoc distribution. Loaded the app onto my phone, then got the error.
For more details see commit history in this repo https://github.com/sloppycoder/expo_offline_test
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
No cache exists for this resource: shell-app.bundle · Issue #3574
I didn't ejected the App. While building the app, I have 3 terminals open. One with yarn start running (wich executes expo start...
Read more >Multiple errors and problems in log files - Apple Community
Hi,. my Mac Mini (2018) had multiple system crashes under Mojave (10.14) the last few weeks. I didn't find the reason and hoped...
Read more >'Disable Caches' no longer on the Develop menu in Safari 11.0
1) click on the 'Network' tab, on the top-right of the tab there is an icon with a tooltip that says 'ignore the...
Read more >Documentation Archive - Apple Developer
Title Resource Type Technology Date
Xcode Release Notes Release Notes 2018‑06...
Apple File System Guide Guides 2018‑06...
Understanding and Detecting OpenGL Functionality Technical Notes OpenGL 2018‑06......
Read more >App Won't Compile with Embedded Third Party Framework
So, I'm getting this error when trying to run the app. "Build succeeds" but the app won't run and Xcode spits out an...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Here is a workaround you might be able to use for now:
bundleUrl
there, and download the file at that url.kernel.ios.bundle
and move it to the directoryios/your-project/Supporting
in your detached project.Supporting
directory in the file tree, “Add files…”, and addkernel.ios.bundle
to your project.The bug you reported is the result of Expo failing to perform this action automatically for you during detach. This workaround should work as long as your project is running SDK 25. You should be able to use the
isRemoteJSEnabled: false
behavior.Hopefully I can come up with a fix in the meantime so that you don’t need to do this any more.
In the next (or next-next) release of ExpoKit, we will remove the need for
kernel.ios.bundle
so this entire class of issues should go away.