fix(appium): harden local Flutter iOS runs after bootstrap - #54
Closed
abdulraqeeb33 wants to merge 1 commit into
Closed
fix(appium): harden local Flutter iOS runs after bootstrap#54abdulraqeeb33 wants to merge 1 commit into
abdulraqeeb33 wants to merge 1 commit into
Conversation
Auto-prepend Vite+ to PATH so vpx works in the same shell as bootstrap, and sync Flutter SPM / OneSignalXCFramework pins before building iOS. Co-authored-by: Cursor <cursoragent@cursor.com>
fadi-george
requested changes
Aug 4, 2026
fadi-george
left a comment
Contributor
There was a problem hiding this comment.
Please delete and reclone flutter repo and see if this really needed.
At best ensure_flutter_swift_package_manager change is maybe useful.
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.
Summary
~/.vite-plus/bininrun-localpreflight whenvpxis installed but not onPATHyet (common right afterbootstrap.shin the same shell).OneSignalXCFrameworkpin whenPodfile.locklags theonesignal_flutterpodspec (e.g. 5.4.1 lock vs 5.5.0 podspec).Why
Following the local Appium quick start (
./bootstrap.shthen./run-local.sh --platform=ios --sdk=flutter) hit two consecutive footguns:vpxnot found — Vite+ installs successfully and creates thevpxsymlink, but the current shell has not sourced~/.vite-plus/envyet. Preflight failed even though tooling was installed.Podfile.lockstill pinnedOneSignalXCFramework5.4.1 while the plugin podspec required 5.5.0. Flutter’s “runpod repo update” message was misleading; the real fix is SPM (per our docs) plus syncing the extension CocoaPods pin.These changes make
run-local.shrecover from both without requiring a new shell or manualpod update/flutter configsteps.Test plan
~/.vite-plus/binis not onPATH, run./run-local.sh --platform=ios --sdk=flutterand confirm preflight adds the shim dir instead of erroringPodfile.lockOneSignalXCFramework pin, confirm the script enables SPM, updates the pod, and proceeds pastflutter build iosMade with Cursor