Skip to main content

How to Deploy or Debug Apple Watch Apps in Physical Device #WatchOSDev



Hello everyone, this is my first tutorial about watchOS hope you enjoy.

WatchOS is the operating system that support for apple watch, in this watchOS we could develop apps, but first thing that we must know, watch apps in 5 version and bellow are not support for independent apps, so the watch apps must develop with IOS apps in the seems time. but in WWDC 19, apple announce that WatchOS 6 will support independent apps, so the users could install apps directly from apple watch.

in this tutorial we will learn about how to create first Apple Watch Apps and deploy it in physical device, why this tutorial matter, because deploying apps in apple watch is not seems as you deploy IOS apps in IPhone or IPad, there is several unique thing that you should know. 

until this tutorial has written, I have not found anything tutorial that talking about this theme. so here it is.


first thing we must create an xcode project. and choose WatchOS like bellow


hit next, and fill the apps name as you want.


and here's the first look for apple watch apps project. you can see the different if you have experience in IOS apps developing.


and then hit the main storyboard, and add some label in there like this.


also the interface storyboard, you should add label like the main storyboard, FYI the interface storyboard is the storyboard for your watch apps. and the interface controller would be your main controller.


after that, klik on your project, and klik on watch kit app in TARGET section. look up for deployment info, in that section, you should see many version of watchOS, if your apple watch is in lower version, you should change this into your current watchOS version or lower. 

in several case developer did not notice this deployment version, so the apps are not showing in watch apps installation.
do this action to watch extension too. 

finally, run your apps in IPhone that already paired with apple watch. and let see the result.


your apps should look like this.



and let see the watch apps (not your project) in your iphone, and scroll it until down. you should see your watch apps like this


tap install and check your Apple Watch, now you should see the debug apps like bellow




Finally, we are successful deploying apps into real apple watch.  now test your own project, good luck everyone ^_^

Bonus!

for the first time deploying watch apps in physical device, you should see the warning like bellow. you dont need to worry, just tap trust and continue developing.




Popular posts from this blog

Laravel Blade : Perbedaan IF dan UNLESS

bill.web.id , hello guys, beberapa hari lalu saya bikin module laravel buat summerschool di kampus saya, karna bikin module nggk boleh asal asalan akhirnya saya coba review lagi dokumentasi laravel, pas nyampe bab blade template engine saya mendapati beberapa directive baru salah satunya yaitu unless. directive baru ini sama sama ada di kelas percabangan, menemani if else, nah sekarang pertanyaannya adalah bedanya unless dengan if else apa?. Baca juga : Laravel Library : Chatter Forum Laravel Library oke, jika kalian disini sudah faham tentang apa itu if else, maka unless adalah kebalikan dari if else . contoh : @if(auth::check()) {{ "it will printed when user was loged in" }} @endif note : kalimat di dalam percabangan akan di cetak apabila percabangan bernilai true @unless(auth::check()) {{ "it will printed when user was not loged in" }} @endif note : kalimat di dalam percabangan akan di cetak apabila perca...

OpenVPN Alternatif Solusi Menanggulangi Blokir dari KOMINFO

Sejak akhir juli 2022 kemaren indonesia di gegerkan dengan tindakan kominfo atas diblokirnya banyak platform digital karna tidak mendaftar PSE, terutama paypal dan plaform game (steam, epic game dll). keputusan ini semakin membuat netizen geram dikarenakan platform judi online malah disetujui untuk beroperasi karna sudah daftar PSE. Jujur menurut saya memang keputusan ini sejak awal saya dengar sudah mengada-ada karna sangat aneh memblokir semua platform digital yang jumlahnya tidak terhitung banyaknya dan hanya membolehkan akses platform yang sudah mendaftar yang jumlahnya hanya ratusan.  saya sebagai developer juga merasa aneh banget ini kebijakan apalagi platform development juga banyak yang di blacklist oleh kominfo seperti, github, gitlab, bitbucket, even website CDN pun di blacklist. astaga wkwkwk. anyway terlepas dari kebijakan konyol ini, saya mau berbagi tips cara agar tetep bisa mengakses semua platform tersebut tanpa ada halangan, yaitu dengan menggunakan VPN. banyak ban...

Bug Free Wifi.id 2015

Relate post : Exploit, Wifi.id , Username , Password, Free, Bug, Hacking, Cracking, Not Patch Assalamualaikum Wr Wb, tutorial kali ini tentang bug fitur free wifi.id yang terbaru. wifi.id adalah trobosan baru dari telkom indonesia yang mulai melirik ke dalam dunia cyber atau internet yaitu menyediakan layanan internet hotspot berbayar dan gratis yang di namakan WIFI.ID. tanggapan masyarakat tentang adanya wifi.id pun tidak main-main, mereka langsung menyerbu dan beralih pandangan dari penyewaan warnet ke penggunaan wifi.id, pasalnya kecepatan yang di sajikan oleh wifi.id sangat besar yaitu up to 10MBPS atau kalau di dalam kecepatan download stabil 1MB/Second, bisa lebih . dengan adanya wifi.id masyarakat tidak lagi bingung dimana akan mencari tempat yang bisa download cepet, mereka langsung mengasumsikannya ke wifi.id , tapi ada yang perlu di perhatikan dari penggunaan hotspot ini. apabila anda ingin menggunakan jasa ini, anda harus merogoh kocek dulu untuk dapat browsing atau...