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
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 19

  • @jasondubon
    @jasondubon  6 หลายเดือนก่อน

    Every week I'll send you an actionable email on how to become an iOS developer: www.breakintoios.com/

  • @khaled.m24
    @khaled.m24 8 หลายเดือนก่อน +3

    Thank you so much. You actually helped me to develop my first Apple Watch freelance project. 🙏

    • @jasondubon
      @jasondubon  8 หลายเดือนก่อน

      Great to hear!

  • @joshuathomasbrooks9450
    @joshuathomasbrooks9450 3 วันที่ผ่านมา

    can you run videos on how to add google ads and cocoapods and such. having trouble.

  • @JoaquimMenezes-ye9hm
    @JoaquimMenezes-ye9hm 4 หลายเดือนก่อน +1

    14:28 hey Jason,what changes did you do to macroView here ?? the video seems to be cut

  • @user-qo5oo2ev5g
    @user-qo5oo2ev5g 6 หลายเดือนก่อน +1

    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?

  • @hoangbui1479
    @hoangbui1479 6 หลายเดือนก่อน

    @jasondubon
    To create UI on apple watch, what do I need to do? When building it, it builds both iPhone and Apple Watch

  • @indomitabletr1834
    @indomitabletr1834 3 หลายเดือนก่อน

    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 ?

  • @vamseey1436
    @vamseey1436 7 หลายเดือนก่อน

    When I am running in real device I am getting Failed to get the task for process -1 Any idea on this?

  • @maryannadelman4438
    @maryannadelman4438 8 หลายเดือนก่อน

    Would you have a video on syncing CoreData from watch to iPhone using connectivity?

    • @jasondubon
      @jasondubon  8 หลายเดือนก่อน

      no video on that but it should be fairly similar expect this time you store CoreData entity

  • @jayelevy
    @jayelevy 4 หลายเดือนก่อน

    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

    • @kaiser1771
      @kaiser1771 หลายเดือนก่อน

      I'm asking that myself right now, did you find a solution?

    • @jayelevy
      @jayelevy หลายเดือนก่อน

      @@kaiser1771 no. Great video for the most simple use case. Unfortunately doesn't go deep enough to cover the likely real world use case.

  • @domenicoisntreal9270
    @domenicoisntreal9270 3 หลายเดือนก่อน +1

    Where did you get "Macro+Watch"? I don't have it @jasondubon

  • @alin.cht.
    @alin.cht. 9 หลายเดือนก่อน

    this gives me a reason to buy an apple watch 😅

    • @jasondubon
      @jasondubon  9 หลายเดือนก่อน

      Ahh you gotta get one, its pretty neat for tracking health/fitness data

  • @iromanstr
    @iromanstr 7 หลายเดือนก่อน +1

    error -[WCSession onqueue_handleUpdateSessionState:]_block_invoke dropping as pairingIDs no longer match. pairingID , client pairingID:
    WCSession is not paired