Visual Studio for Mac, Xamarin iOS Publishing Failed popup - visual-studio

I am trying to publish a Xamarin iOS app from Visual Studio for Mac. (ver. 17.0.2). Xcode ver. 13.4.1 . I have the app set up correctly (I think) in App Store Connect. The app is just for iPhone and iPad.
I am getting the following results. It is a picture in VS for Mac so I cannot copy and paste the text into an xml file.
Can anyone tell me what the issue is with my Publish and how to fix it?

You can try to increase the CFBundleVersion(build number) in your Info.plist like below and try to publish again.
<key>CFBundleVersion</key>
<string>2.0</string>

The error looks like an authentication error.
Did you try the same credentials you are using to push your app in https://appleid.apple.com/ ?
If they are still valid, you might just need to sign out and back into XCode / Visual studio for Mac with you valid apple identifier.
(Edited - Added my comment to this answer as it had additional value)
If the credentials works, try uploading the same package using Apple's Transporter application (apps.apple.com/ca/app/transporter/id1450874784?mt=12). It accomplishes the same thing, however the error messages are clearer and more verbose. Hopefully this will help pinpoint the real issue

Related

ERROR ITMS-90475: Invalid bundle, with RAD Studio

I created an app with RAD Studio.
I'm trying to publish it to the App Store.
When I try to upload it with Transporter application I verify the package and I obtain following error:
ERROR ITMS-90475: Invalid bundle. Apps that support Multitasking on
iPad must provide the app’s launch screen using an Xcode storyboard,
or using UILaunchScreen if the app’s MinimumOSVersion is 14 or higher.
Verify that the UILaunchStoryboardName key is included in your
it.xxx.yyy bundle if you’re using a storyboard. For
details, see:
https://developer.apple.com/documentation/bundleresources/information_property_list/uilaunchstoryboardname
I found some solutions for this, but using Xcode or Xamarin. How can I deal with it in RAD Studio? I tried many ways but I just got parsing errors for the *.info.plist file.
I solved my problem creating my app from scratch directly with Xcode, without RAD Studio, as my app was very simple.

Unable to upload Xamarin.ios solution to TestFlight cause of following error:

We have an update scheduled for our iOS app which needs to be uploaded to TestFlight first. Hovever, just out of nowhere, the following error keeps preventing Visual Studio from uploading the solution to TestFlight:
This is a screenshot of the error
I am relatively new to this and have no clue where to look in VS. And I've already been searching everywhere online..
Some extra info:
Visual Studio for Mac (latest version)
macOS Big Sur (11.2.3 - latest)
I do believe this might have something to do with the implementation of Firebase into my app. But being a relative newbie, I'm also not entirely sure where to look..
I'd love to hear from anyone with a solution!!
I found the answer!
For some reason all I had to do was get rid of the old xCode version I had and download the latest from apple's website rather than the app store...

Xamarin Deployment issues to IPAd

I am keep getting Xamarin deployment issues to my IPAD. This is really starting to getting annoying. Xamarin really start to suck.
And the funny thing this used to work, here are some of the errors
Errors..Failed to obtain profile information from the build server. please check the connectivity with Mac built host.
No Valid IOS code signing keys found in keychain. You need to request a code signing cert from https://developer.apple.com
Do you develop with VS 2017 ?
It is a known issue and the solution is that upgrade vs to 2019 .
Ref :
Not able to add an apple account to the visual studio 2017
https://developercommunity.visualstudio.com/content/problem/884189/adding-appleid-in-vs-2017-professional-15918.html
https://github.com/MicrosoftDocs/xamarin-docs/issues/2377

Xamarin Forms iOS application always runs on simulator even if I choose a device

I ported my Xamarin Forms project from windows to Mac and I am trying to run it on a connected device which is added in the provisioning profile (provisioning profile and identity is setup accordingly in IOS Bundle Signing settings).
Whenever I try to run the App using Debug|iPhone > my Iphone:
It starts simulator runs on that instead of the device :
After stopping the build if I go back to Bundle Signing settings its changed back to simulator automatically:
I am using following setup:
Visual Studio 2017 Community on Mac 7.2 preview build 540.
XCode 8.3.3
Can anyone please help me with proper configuration to run the app on IPhone?
Many Thanks in advance :)
After hours of messing around I finally found the problem and solution.
In solution settings, iOS project (Debug-iPhone) configuration was mapped to (Debug|Simulator).
Simply changed it to Debug|iPhone and Its working fine now.

No valid iPhone code signing keys found in keychain error Xamarin even after deleted Entitlements.plist

I'm getting this error iPhone code signing keys found in keychain error Xamarin even after deleted Entitlements.plist when trying to build the HelloWorld_iPhone app using Xamarin Studios. I understand Its require while deploy on real device but I'm building and trying to run on a simulator and still causes this issue. Is this known issue?
Yeah it seems bug in Xamarin Studio It has work around that you must have AppleID just to login on XCode. Try following:
Create an Acount # Apple Dev (If you don't have)
Open XCode and Menu
Preferences > Accounts > Add AppleID (Just Created)
(source: apple.com)
Now go back to Xamarin Studio and try to build your application again on simulator.
Try to rebuild and issues gone!!
In my case, there was already apple id but I clicked on ManageCertificate
and then I added certificate by clicking on plus sign and its done.
Try to delete Entitlements.plist from iOS project and try to recompile project.

Resources