Your newly created simulator pair will now appear in the Run Destination list: OS Version: watchOS 7.2 or the latest SDK.Paired Simulator Name: Anything that accurately describes the watch simulator you want to use.In the second step, fill in the following information: OS Version: iOS 14.3 or the latest SDK.Device Type: Select any device you like here.Simulator Name: Make this something that describes the combination of phone and watch.In the dialog, fill in the following information: In Xcode, select Window ▸ Devices and Simulators.Ĭlick + on the bottom left to add a new simulator. If you don’t already have an iPhone simulator paired with a watch, follow these steps: Before you check it out, you need to make sure you have your simulator set up with a paired Apple Watch. This app assists in tracking your hydration intake throughout the day. Getting Startedĭownload the starter project by clicking the Download Materials button at the top or bottom of the tutorial. This allows automatic provisioning to create all the necessary app identifiers and provisioning profiles as you work through this tutorial. Please make sure you sign into Xcode with your developer account. To see your intents in action, you need a physical watch. Although it’s possible to test the watch app from the simulator, it’s impossible to build and test intents on the simulator.Using App Groups requires some portal setup and a paid developer account.Ī physical iPhone running iOS 14 and an Apple Watch running watchOS 7. This tutorial uses App Groups to share data between the apps and the intents you’ll build. Note: To follow along with this entire tutorial, you need:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |