# iOS cargo makepad apple ios --org=dev.nigig --app=pageflipnav run-sim -p pageflipnav --release open -a Simulator xcrun simctl boot "iPhone 15 Pro Max" && open -a Simulator xcrun simctl list devices | grep Booted xcrun simctl list xcrun simctl listapps booted xcrun simctl spawn booted log collect --output ~/Desktop/simulator_logs.logarchive xcrun simctl launch booted dev.app.pageflipnav xcrun simctl erase all xcrun simctl spawn booted log stream --predicate 'process == "pageflipnav"' xcrun simctl shutdown all killall -9 com.apple.CoreSimulator.CoreSimulatorService sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService xcrun simctl boot "iPhone 15 Pro Max" open -a Simulator sudo xcodebuild -license accept sudo xcode-select --reset RUST_LOG=debug cargo makepad ios-sim This makepad app the horizontal or vertical scrolling does not happen in android but happens in desktop macbook app. The Horizontall scroll does not happen in a desktop app compiled in Windows OS too. rm -rf ~/.Trash/* open -a Simulator # 1. Boot an iPhone 15 Pro simulator xcrun simctl list devices | grep "iPhone 15 Pro" # copy the UDID xcrun simctl boot open -a Simulator # 2. Build and install (if you have an .app bundle) cargo build --target aarch64-apple-ios-sim # then install via xcrun simctl install booted xcrun simctl list devices #### Running on an iOS simulator 4. If you're using an iOS simulator, do the following: ```sh clear && cargo makepad apple ios \ --org=org.nigig \ --app=PFN \ run-sim -p pageflipnav --release ``` > [!TIP] > If you get errors from the simulator, update your simulator tooling: > ```sh > xcodebuild -downloadPlatform iOS > ```