Release 0.5.17: iOS sim deploy parity with device#17
Merged
Conversation
…-native boots) The sim deploy was incomplete vs the device path, so the sim crashed on boot: - elixir/logger staged only under lib/<app>/ebin (not on the sim code path) → "elixir.app not found". Now flattened into BEAMS_DIR alongside eex. - priv/ only partially staged (repo/migrations) → Mob.Certs.load_cacerts! :enoent on priv/cacerts.pem. Now rsyncs the whole priv/ (matches device). - Paths.sim_runtime_dir/0 fell back to /tmp/otp-ios-sim for zig builds (no ios/build.sh) while staging wrote to ~/.mob/runtime/ios-sim. Now recognizes ios/build.zig and returns the default runtime dir. Verified: clean mob.deploy --native to an iPhone 11 Pro Max sim boots Io, Phoenix up, Livebook home renders — no manual fixups. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The iOS sim deploy was incomplete vs the device deploy, so a clean
mix mob.deploy --nativeto a simulator crashed on boot even though the device worked. Three fixes:elixir/loggerwere staged only underlib/<app>/ebin, which the sim'smob_beam.mdoesn't add to the code path → boot died atensure_all_started(:elixir)("elixir.app not found"). Now flattened into the flat BEAMS_DIR alongsideeex(which already needed this).priv/was only partially staged (repo/migrations) →Application.app_dir(:<app>, "priv/cacerts.pem"):enoent, crashingMob.Certs.load_cacerts!. Now rsyncs the wholepriv/(matches the device release).Paths.sim_runtime_dir/0fell back to/tmp/otp-ios-simfor zig-based projects (noios/build.sh), but staging writes to~/.mob/runtime/ios-sim— launcher and staging disagreed. Now recognizesios/build.zigand returns the default runtime dir.Verified: clean
mob.deploy --nativeto an iPhone 11 Pro Max sim boots Io — Phoenix endpoint up, embedded Livebook home renders, no manual runtime fixups. 114 paths+native_build tests pass (incl. a newbuild.zigcase).🤖 Generated with Claude Code