How to install App on Apple Watch - ios

I have created the watch App and able to run on the simulator. But now i wanted to run the app on my iPhone. What is the process to achieve this?
So far have updated provisioning profile in my iOS Code.

What have you already tried?
At any rate, here's a blog post that may help you: http://blog.jaredsinclair.com/post/117350678170/jareds-code-signing-tips-apple-watch-edition

Since i have not an Apple Watch yet, But I have found that :
Pair Your iPhone & Apple Watch, setup your provisioning profiles for Watch-app & extention NOW....
Apps that include aplle-Watch-extention should automatically start installation on Watch when you start iPhone App(Parent App) installation.
Here is the Video Link that illustrate briefly
Hope it'll help you... :)

I went to the lab for watch. You just need two more provisioning profiles in order to test your applications on the watch. You don't really have to do anything on the watch. Once you install the hosted app, the watch app will be installed if you set up the provisioning profiles correctly.
You need one provisioning profile for the watch extension and another one for the watch app. Totally, you will have three app identifiers and three provisioning profiles in order to fully testing the hosted app and the watch app.

Related

Installing a development app with Apple Configurator

I need to install a prototype app on 50 iPads, for a real time test with 50 users. It is not on the AppStore. The app is developed using most recent XCode, Swift, and a valid ad-hoc provisioning profile and development certificate. I can not create an enterprise account (too expensive), and would like to use an ad-hoc provisioning profile.
I have been able to create an "archive" (.ipa file), with following setup : built using "Generic iOS device", compatible with all kinds of devices. This is an universal app.
People who prepare the iPads using Apple Configurator can install the app, but the icon disappears immediately. I have sent them my provisioning profiles, but they say it is not working. Maybe I did not send the correct one ? Shall I declare all the devices UDID on my Apple Dev Account - that is my idea, but a bit difficult - ?
Anybody has an idea ? Maybe this is simply not possible. Please help.
One way is to use TestFlight. In this case you shouldn't declare devices UDID.
Another way - install via .ipa. In this case you must declare all the devices UDID in your Apple Dev Account. Rebuild! your app only after added all devices. After this, upload your .ipa to https://www.diawi.com and share received link (for ex. by Skype), that users should to open on their devices and install app.

Install app in Apple Watch before submission for testing

I need to test the Apple Watch app. App is working fine in simulator. how can we install in device and check?
Pair Your iPhone & Apple Watch, setup your provisioning profiles for Watch-app & extention NOW....
Apps that include aplle-Watch-extention should automatically start installation on Watch when you start iPhone App (Parent App) installation.
Here is the Video Link that illustrate briefly
Second Link for more detail
Hope it'll help you... :)

How to let someone test run iOS app on device without revealing code?

I have created a Universal iOS app and tested it on both iOS Simulator and on my iPad. I have a developer friend who has an iPhone, and has agreed to test run it on his own device. I would like to send the app to him. I was wondering if there is any way to send it without revealing the entire code?
P.S. I have been a registered iOS dev for several years now but haven't yet released any apps. This will be my first one.
You should create an *.ipa file and send it to your friend and how to create it is give here.
http://bmpradeep.wordpress.com/2013/01/01/how-to-create-an-ipa-file-in-xcode-4-3-or-higher/
you can also check Testflight.
You should read apple's app distribution guide for beta testing. I have linked to it.
Apple Docs
If you want to test app on your friend side but don't show code to him then you need build app on your side and send *.ipa file to your friend. For it you need developer certificate with private key and provisioning profile with your friend's iPhone UDID. If your friend - is owner of developer account then provide to him your app Bundle Id and he will generate provisioning profile for you. The main idea that *.ipa file could be run on device but it doesn't contain source code.

Transfer iOS executable from Xcode

I have developed an app using Xcode. Now, i want to give the executable to a friend to test. However, my friend is outside United States and I cannot deploy as I do on my test device.
Is there a way to do it?
Based on user's suggestions, I did some research and got my answer. Just want to share with anyone who has the same question...
What I should be doing is to make the app available for Beta testing. Below are the steps to do so.
Register all test devices.
Create distribution certificate.
Create ad hoc provisioning profile.
Archive and validate your app.
Create iOS App Store Package.
Install app on all test devices.
Get crash reports from testers.
For more details, please search for 'Beta Testing Your iOS App' in Apple Developer Center.
To the best of my understanding, there is no other way except adding the UDID of your friends device into the provisioning profile(be it development/distribution) and using it - Archive the project - validate once and share it across.

How to upload provisioning profile to iPhone

I want my tester to test my iPhone app. I add his UDID in devices and add provisioning profile for him device. But how can I upload this profile to him iPhone? Thank a lot
If you want to do a good job of monitoring your testers and builds, I would consider using TestFlight. It will handle all of the provisioning for your apps. It will also give you instant feedback as to who has opened your notifications, install progress, what version they are running. They are free right now, and you simply cannot beat how easy it is to use. For developers, by developers.
He can just drag the profile file onto his device via iTunes. But afaik, the profile also installs itself (at least if you use OverTheAir distribution) from the embedded.mobilepovision file within your .ipa file when installing the app on the device. This might also be valid if you just drag it on iTunes...
You can send it to him, and have him drag it to his device via Xcode or iTunes. But you also have to provide him with your developer certificate that Apple gives you and your key. It could work, but you'll more likely end up with headaches since it takes developers hours trying to install the certificates themselves, never mind for other people. If possible, I would try to get it approved first, but don't launch it, and send your tester a promo code.

Resources