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 Tips : Membuat Model, Migration dan Controller dengan Sekali Jalan

  php artisan adalah generator laravel yang berfungsi untuk membuat file kodingan dengan mudah, seperti membuat controller, model, seeder, migration dan masih banyak lagi. artisan hanya bisa di lakukan di dalam lingkungan console, seperti cmd dan terminal. berikut akan saya tunjukan cara membuat controller, model, migration menggunakan php artisan. # membuat controller ketikkan perintah di bawah ini php artisan make:controller BlogController # membuat model ketikkan perintah di bawah ini php artisan make:model Blog # membuat migration ketikkan perintah di bawah ini php artisan make:migration blog # membuat seeder ketikkan perintah di bawah ini php artisan make:seeder BlogSeeder # membuat migration, controller, dan model sekaligus ketikkan perintah di bawah ini php artisan make:model -crm Blog perintah di atas akan mengenerate controller dengan nama BlogController dengan keadaan Resource method tertulis, m...

5 Backend Framework Terkenal dari Berbagai Bahasa Pemrograman

5 Backend framework yang terkenal dari berbagai bahasa pemrograman, banyak sekali framework baru bermunculan tetapi apakah semua bagus atau baik untuk diterapkan. berikut 5 framework yang bisa kamu coba untuk jadi pilihan projectmu: 1. Laravel Laravel adalah framework dari bahasa pemrograman PHP yang sangat terkenal hari ini, daripada framework php lain, laravel memberikan fitur lebih komplit untuk membangun modern website. laravel sering dipakai untuk website system internal dan website institusi. 2. Springboot Springboot adalah framework dari Java yang menjadi andalan untuk membuat system finance dan enterprise, springboot dipakai banyak aplikasi enterprise karna kapabilitasnya dalam support kebutuhan enterprise, dengan disupport oracle, springboot mjd nomer satu dikelasnya 3. Phoenix Phoenix adalah framework dari Elixir, framework ini memiliki speciality di bidang distributed and realtime system seperti chat platform. elixir sendiri adalah bahasa pemrograman berbasis erlang, sedang...

Membuat Game Sederhana Dengan JavaScript

Assalamualaikum Wr Wb Javascript adalah Bahasa pemrograman yang di pakai di web, javascript kebanyakan di gunakan untuk kebutuhan membuat animasi, tapi tidak semata-mata javascript hanya bisa di pakai untuk membuat animasi, untuk kebutuhan operasi web pun sering di gunakan. Javascript bersifat Client Side, maksudnya adalah javascript berjalan di PC pengguna atau pengakses web, dan scriptnya pun bisa di lihat oleh user, berbeda dengan PHP yang scriptnya tidak bisa di lihat oleh user. Selain di buat animasi, Javascript juga bisa di pakai untuk membuat aplikasi web, salah satunya adalah GAME, pada kesempatan kali ini saya akan memberikan tutorial bagaimana membuat GAME sederhana dengan Javascript, memanfaatkan event-event dalam javascript. berikut screenshoot dari game sederhana : Alur Game : 1. Klik button Start. 2. gambar monster akan bergerak cepat. 3. klik sebanyak mungkin gambar monsternya. 4. Apabila skor lebih dari 20, maka anda akan menang. untuk s...