Is there a way to get iOS 16 Beta 6? I got Xcode beta 6 but simulator cannot be used to test getting a push token or test Live Activity with remote pushes
Post
Replies
Boosts
Views
Activity
^ To clarify, I want to check the macOS version in code either via a conditional or at runtime.
So I could be running the iOS simulator but I want to know the host macOS version in which Xcode or simulator is running
@Quinn - I am trying to determine when this scenario exists -
"Simulator now supports remote notifications in iOS 16 when running in macOS 13 on Mac computers with Apple silicon or T2 processors".
from Xcode 14 release notes - (Simulator -> New Features) - https://developer.apple.com/documentation/xcode-release-notes/xcode-14-release-notes
TARGET_OS_SIMULATOR && TARGET_OS_IOS && TARGET_CPU_ARM64
narrows it to AS devices but I can't figure out how to know the sim is running on macOS 13. Also, don't know how to know if it's a T2 Mac.