Skip to content

Commit

Permalink
Finish up work for visionOS simulator tests
Browse files Browse the repository at this point in the history
  • Loading branch information
simlay committed Apr 30, 2024
1 parent b76163c commit d1d5ec1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ then
export VISIONOS_SIM_ID=$(xcrun simctl create My-apple-vision-pro com.apple.CoreSimulator.SimDeviceType.Apple-Vision-Pro $VISIONOS_RUNTIME_ID)

xcrun simctl boot $VISIONOS_SIM_ID
tests_sequence_unstable_target ${VISIONOS_SIM_ID} auto-watchos-aarch64-sim
tests_sequence_unstable_target ${VISIONOS_SIM_ID} auto-visionos-aarch64-sim
xcrun simctl delete $VISIONOS_SIM_ID
fi
rustup default stable
Expand Down
5 changes: 4 additions & 1 deletion dinghy-lib/src/apple/xcode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ pub fn add_plist_to_app(
writeln!(plist, "<key>WKWatchOnly</key><true/>")?;
}
Some(AppleSimulatorType::Visionos) => {
todo!()
writeln!(
plist,
"<key>UIDeviceFamily</key> <array> <integer>7</integer> </array>"
)?;
}
}
writeln!(plist, r#"</dict></plist>"#)?;
Expand Down

0 comments on commit d1d5ec1

Please sign in to comment.