Error while installation iOS app on device - ios

I met a strange problem for iOS app, created in VS with Xamarin. When I created mobile provision in Apple developer account for testing app on real devices (AdHoc type, like Xamarin tutorial shows), I tried to install app to devices, added to provision. Installation was successful. After that I tried to install app to devices not added to provision. Installation was fault. But when I deleted all devices except 1 from provision and updated provision on my Mac nothing changed. I still can install app to devices, was in provision before.
Can anybody help with this problem?

Related

Xamarin iOS app not trusted on iPhone 13, OK on iPhone SE?

I'm working on a Xamarin iOS app.
I do not understand why, but using the same signing configuration (Automatic developer identity/Automatic provisioning profile), the app is deployed by VS and launches fine on my iPhone SE (2nd Gen) running iOS 16.1.1.
However it is deployed but is not trusted on my iPhone 13 running iOS 16.2.
Here is a screen capture that shows the infamous icon and app prefix with cloud and row pointing below.
If I try to run the app if tells me that it can't be verified (sorry this is in French):
I doubt that this problem comes from the app itself because it runs fine in the simulator and on one device with the same major OS version.
What is wrong here?
There are several ways to provision the iOS device,
Free provisioning for Xamarin.iOS apps through XCode. If you do not have a paid Apple developer account, you could use this way.
Manual provisioning for Xamarin.iOS. When generating a new provisioning file, remember to also include the device you want to deplay.
For more info, you could refer to Device provisioning for Xamarin.iOS.

"Xcode couldn't find any iOS App Developement provisioning profiles matching..". Can I fix this without a real mobile device?

After deploying a flutter app on google playstore I am trying to do the same on the apple appstore. Currently trying to configure everything in xcode but I get 2 error messages in xcode:
Failed to create provisioning profile. There are no devices registered in your account on the eveloper website
No profiles for 'bundle-id' were found
Error 2) shows up when I try to build the "build archive" with flutter run ipa
I have an apple developer account and trying this on a macbook pro. However I do not have a real apple iphone. I couldn't fix this with any solutions I tried so far and the only thing that seems to work is plugging in a real device
What else can I try except purchasing an iPhone?
You have to register atleast one device in developer account for creating the provisioning profile for publish the app on App Store. You do not actually own iPhone you can add the test device UUID or you can ask client for device UUID for testing or you can ask to your friend and colleague to prevent this error.

Why I cannot Verify custom enterprise apps on my iPad?

We distribute the test versions of our iOS apps through HockeyApp custom enterprise app store. Because of ASPN shenanigans our iOS developer refreshed some of our certificates. Since our two recent releases I cannot start the apps because they are from an "untrusted developer".
The procedure for this would be easy normally, you just have to navigate to Settings -> General -> Device Management > Enterprise App > ... and manually Trust them (I've been there before and I've done that in the past "Untrusted App Developer" message when installing enterprise iOS Application, https://support.apple.com/en-us/HT204460). But I get a nonsensical error suggesting that I'm not connected to the internet. Since I'm connected to wifi the verification obviously fails because of another reason, but I don't know why.
My iPad is a 3rd gen iPad with the latest possible iOS: 9.3.5.
Now I got to the point that I deleted all the apps belonging our enterprise developer organization. After that I first trusted the organization itself, which was successful. I installed again only the two problematic newest app releases so I can verify them. But I still get this nonsensical error. How can I overcome this?
Someone else from our company could successfully install our HockeyApp apps onto another iOS 9.3.5 iPad. That ruled out iOS 9 as a cause of this.
Then I removed my iPad from the registered devices in HockeyApp's management interface.
When I tried to add it back I had to install HockeyApp's profile (that contains a few certificates related to HockeyApp, and it's needed to be install first so that I could install actual HockeyApp distributed applications.
I received an error while trying to install HockeyApp's profile saying that my iPad is not activated 0_O
I struggled with that for a good while until I manually restarted the iPad and low and behold it started to go through the activation procedure.
After activation, bootup and login I also signed out with my iCloud account from the AppStore settings and signed back in (just to be safe).
Then I could install the HockeyApp profile and now when I install the actual apps we distribute through HockeyApp I don't have to Trust them manually any more.
I’m pretty sure that your apps where revoked, try putting them under a different developer, if you did not make the enterprise app please contact the developer of the app

iOS Xcode development builds, under which conditions the build deployed on device becomes invalid?

I have a number of iOS devices on which I can deploy development builds of my apps, signed using iOS team provisioning profile. The devices are added to the development program via Xcode. I deploy apps to these devices via a cable connected to my Mac.
I've observed that some devices can no longer run the app after some - the app just closes immediately upon tapping the icon. Updating the device to a new version of iOS seemed to have fixed the issue.
This makes me ask -
Under which conditions can a development build deployed on device stop working?
if I revoke/request a new iOS team provisioning profile?
if I remove the device from a list of development devices for the Apple developer program?
I want to make sure that I can potentially hand a development build on a device to a person like a sales representative and would not have to try to track down the device again if somehow the build stops working/refuses to start again.
If you deploy your app to devices "via a cable connected to my Mac." it can't be invalidated by revoking provision or working with devices tab. In fact, your app don't even know what are you doing with your provisioning profiles. I think that the problem that occurred was not related to this.

testflightapp and iOS 5.1

We are building an app that is deployed on a range of Customer iPads via AdHoc. Testflight works great with that, however our latest release refuses to install on iPads that have the latest version of iOS (5.1) installed - we previously deployed successfully to these iPads and their UDIDs are definitely in the mobile provisioning profile. Also the same build installs fine on an iPad that has an older version of iOS.
I already suggested to re-register the device as per the TestFlight FAQ article, but that didn't help. It seems to be a problem with iOS 5.1 - the user is asked to 'Contact the Developer' as the device does not have permissions.
Has something changed with iOS 5.1 re: the requirements for AdHoc deployment? We are building using the distribution profile, signing with the distribution certificate - and as I said, the app installs fine on iPads runnin older versions of iOS.
After installing iOS 5.1 I suddenly had similar problems with some of our testers.
Occasionally Mobile Safari's cache and cookies will become corrupted. Clearing them should resolve the issue.

Resources