question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"No cache exists for this resource: kernel.ios.bundle" in SDK 25.0 detached app

See original GitHub issue

I 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:closed
  • Created 6 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
terriblebencommented, Jan 29, 2018

Here is a workaround you might be able to use for now:

  • Open https://expo.io/@exponent/home/index.exp?sdkVersion=25.0.0 in your browser
  • Look at the value for bundleUrl there, and download the file at that url.
  • Name the downloaded file kernel.ios.bundle and move it to the directory ios/your-project/Supporting in your detached project.
  • Open your detached project in Xcode, right click the Supporting directory in the file tree, “Add files…”, and add kernel.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.

0reactions
idecommented, Mar 14, 2018

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found