How to Build Apple Watch Companion App in SwiftUI & Xcode
ฝัง
- เผยแพร่เมื่อ 2 พ.ย. 2023
- In this series, we will be building a Macro tracker app using SwiftUI. In this video, we go over how to can create an apple watch companion app for your iPhone/SwiftUI app.
Source Code: www.patreon.com/posts/macro-t...
Build a complete fitness app using SwiftUI: iosdojo.io/p/proiosdev
Let me know in the comment section what videos you would like to see in the future. Feel free to reach out to me if you need any help or advice.
---------------- Follow Me On Social Media -------------------
LinkedIn: / jasondubon
Twitter: / jasondubonyt
Instagram: / thedubon
TikTok: / thedubon
#swiftui #macrotracking #macronutrients
How to build a macro tracker app ?
how to make apple watch app?
how to add apple watch to xcode project
how to add apple watch to iOS project - วิทยาศาสตร์และเทคโนโลยี
Every week I'll send you an actionable email on how to become an iOS developer: www.breakintoios.com/
Thank you so much. You actually helped me to develop my first Apple Watch freelance project. 🙏
Great to hear!
can you run videos on how to add google ads and cocoapods and such. having trouble.
14:28 hey Jason,what changes did you do to macroView here ?? the video seems to be cut
Great Work on the video! I have a specific query: Do you have any content or could you make a video demonstrating how to handle an authentication token header stored on the Apple Watch companion app, particularly focusing on how it can be refreshed periodically?
@jasondubon
To create UI on apple watch, what do I need to do? When building it, it builds both iPhone and Apple Watch
I got this. error while running watch
Simulator device returned an error for the requested operation.
An application bundle was not found at the provided path. Provide a valid path to the desired application bundle.
can you help me ?
When I am running in real device I am getting Failed to get the task for process -1 Any idea on this?
Would you have a video on syncing CoreData from watch to iPhone using connectivity?
no video on that but it should be fairly similar expect this time you store CoreData entity
Thanks for making this. Very helpful. Enabled me to finally successfully add a companion AW app to an app of mine, mostly. It works fine when the app is running on the iPhone. But if the app is not running the AW messages are lost. Is there additional code to implement to support some notion of queuing of messages? Surely there must be, as other apps support this capability. Would welcome some input on this. Either way, THANK YOU
I'm asking that myself right now, did you find a solution?
@@kaiser1771 no. Great video for the most simple use case. Unfortunately doesn't go deep enough to cover the likely real world use case.
Where did you get "Macro+Watch"? I don't have it @jasondubon
same for me! do you fix it?
this gives me a reason to buy an apple watch 😅
Ahh you gotta get one, its pretty neat for tracking health/fitness data
error -[WCSession onqueue_handleUpdateSessionState:]_block_invoke dropping as pairingIDs no longer match. pairingID , client pairingID:
WCSession is not paired