I built an iOS app with a companion Apple Watch app and recently submitted it to the App Store. This morning, it was rejected for failing to install. Here are the steps to reproduce:
Install the app on iPhone
Launch the companion app
Toggle the "Show App on Apple Watch" switch
The app attempts to install on the Apple Watch
Error message is displayed on Apple Watch and app in not installed.
Toggle switch in the companion app is set to "off"
Obviously, I don't have an Apple Watch to test this with, but it works fine in the simulator (and installs fine on the Apple Watch simulator). Perhaps it has something to do with how I'm signing before submission? Has anyone run into this same issue?
Here is the error message reported on the Apple Watch (given to me by Apple's Review Team):
App Verification Failed
Have you ever opened the project in Xcode 6.3? If so, it likely set your deployment target to iOS 8.3, which will cause this error.
The problem is that if you opened your project in Xcode 6.3 at some point, it updates your deployment target to iOS 8.3. This however isn't reflected in the project's UI, you have to right click your project file and show contents, then open up your project.pbxroj and search for deployment target and change it to 8.2
I had exactly the same error.
Went to the Apple developer portal website and to the devices section.
Then I had to go through the 'device reset' procedure.
The reason being that I had entered a new developer programme year. It seems that it had refused to provision the device until I went through that reset - not that it told me!
Once I had done this, I popped into the Window->Devices (from xCode) and I would see the watch.
From that point on it worked fine.
(I checked back in the device list on the developer Portal and there it was).
Also, if it does not turn on automatically, that Window->Devices shows the UDID that you can use to manually add your device.
Hope that might be of some help :)
Related
I have created a macOS application from an already existing iOS application. I checked the checkbox to enable macOS support and it added the sandbox entitlement just like the documentation said.
In the developer's page I also see that macOS support is enabled.
My iOS app appears in iTunes Connect and passes reviews. So far everything seems to be great.
My Catalyst app isn't so lucky. No builds show up under Activity.
How do I get my build to show up in iTunes Connect? Do I have to submit the macOS app differently than my regular iOS/iPad app in Xcode Organizer? I am happy to provide any other information to help solve this.
You have to make a separate archive for the macOS version and then upload that separate archive from the Organizer. To create the archive, make sure you select My Mac as the destination. The Organizer will show your iOS app and your Mac apps separately.
This is covered in part in the WWDC 2019 #235 session.
I can install the watch app on my iPhone using Xcode fine. But, I get the following error when I (or my beta testers) try to install the watch app using TestFlight.
I found this message on the console. The provisioning profiles are handled by Xcode automatically.
Previous build of this app had no problem with the Watch app installation via TestFlight, but now even previous builds in TestFlight refuse to install the watch app.
The problem was with TestFlight and Apple has fixed the problem. I can confirm that the watch app installs using TestFlight now. I did not change anything on my side.
I am working on a watch app. The watch Version is 3.1.3. and the iPhone version is 10.2(14c92). This app works properly on both simulator's (Mobile/ Watch).
Now I try to test the app on the real device but the problem is I am not able to install the watch app manually or automatically. I have checked the multiple links of installing the app manually or automatically and I'm sure I do same as suggested by tutorials.
The problem is when I choose my app from My watch Apps List and turn on the switch to show the app on watch, it shows the installing status for few seconds and then the switch turned off automatically. And this happens multiple time.Please suggest me what can I do to install the watch app.Thanks in advance.
After efforts of lots of hours I resolved the issue. Actually I forgot to add the UDID of watch in the provisioning profile. Just add the UDID in both provisioning profiles for watchkit extension and for watchkit app, it resolve the issue.
I am using Xcode 7.1. I have successfully managed to run/debug my app from Xcode 7.1 into an iOS 9 device. However that only works while the device is online. If it is offline I get an "Untrusted Developer" error message when I try to run the app. This is a problem since my app has some offline behavior that I need to test.
How can I test my app while the device is offline?
I have already trusted the profile in Settings > General > Profile.
I am not sure if I also need to verify the app. I tapped on Verify App several times. But nothing happens. The app stays in unverified state.
PS. I have not enrolled for any iOS Developer program.
You should be able to use you applications offline. In XCode 7 check your Preferences>Accounts and make sure that you are logged into you apple ID in XCode and your iOS Device.
You may need to verify the app while online the first time before running offline.
Previously, I've been able to push my apps to my iPad from Xcode 4.2. I was building with Phonegap. The process is: register my App ID with the dev center, create a provision profile, and download it into my Xcode. Then from the drop down beside the play button in Xcode, I will see iPad as an option.
Now I'm building an iPhone app with Objective-C for the first time. I repeated the process above, but I don't see my iPad listed beside the play button. What is wrong?
Some ideas: i don't think my iPad has iOS 5. i think it still might be running iOS 4.x. Is that a possible reason?
If possible,
Update everything to the latest version (Mac, Xcode, iPad, etc.)
Provision a Device
If you are a team administrator, or if your team administrator has already configured the necessary credentials for you and your device, you can use the devices organizer to automatically download and apply the provisioning profile.
Alleviate the need to go to the iOS Provisioning Portal every time you want to add a device to your provisioning profile by using automatic provisioning.
To provision a device automatically for development . . .
Open the devices organizer.
Plug in your device.
Select the device, and click Use for Development.
Developing apps requires a provisioned device. The provisioning process sets up the required certificates and configuration data that Xcode needs to install your apps on your device.
Xcode 4 User Guide
It’s OK to support only the newest version of the OS.
Matt Gemmell - Latest Version