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
Related
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
I am using macbook pro. I have xcode installed on my computer. My goal is to develop applications for iOS. For this, I want to develop an application with xamarin framework in visual studio for mac instead of xcode. when i test my app with similator i have no problem. but when I want to test it on my iOS device, I get the warning that the provisioning profile is missing.
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.Shared.targets(3,3): Error: Could not find any available provisioning profiles for iosdnm.iOS on iOS.
(iosdnm.iOS)
I created a developer account belonging to the account I use mac. but since I haven't paid the 100 usd he asked me for this account yet, I get the warning that my account is being controlled. My last post may be redundant.
This is exactly what I want to do. I just want to develop an application in visual studio for mac with my apple ID and use it on my ios device. How can I get rid of my above mentioned error?
When I create a release archive of a Xamarin Android app in the latest release of Visual Studio for Mac (8.1.3 build 19), I end up with two .apk's, with filenames like:
com.whatevs.android.apk
com.whatevs.android-signed.apk
Why does it do this? What can I change in my project setup to prevent it? If it can't be prevented, then which one is the appropriate file to upload to Google Play?
This actually used to be a problem a year ago or so, but went away, and now it's back...
The major differences are the debug flag and the signing keys, I guess. You can read more about signing here and manually signing here.
This happen when you build the app and create an archive for publishing with a physical device selected in Visual Studio for Mac as target device.
Select an emulator, Build all and Archive for publishing.
Visual Studio is the recommended tool (superseding Xamarin Studio) on both Windows and Mac. However, the VSTS page Build your Xamarin app says to use "Xamarin". Presumably that means Xamarin Studio, even though the the "Install Xamarin" link on the page points to Visual Studio. That ambiguity and the March 6 date on the page indicate that it was overlooked during the rollout of Visual Studio 7 for Mac, leaving us to wonder what is the right approach for setting up an agent.
What is the best way to create an iOS build agent these days? Do you install Visual Studio for Mac or Xamarin Studio?
Sounds like a bit of confusion here in the terminology. The IDE is now Visual Studio for Mac, but the underlying framework is still Xamarin. That is to say, Xamarin.iOS/Xamarin.Android/Xamarin Forms are "integrated" into Visual Studio for Mac; they are the tools that will compile and package your mobile app. This is what the VSTS build task page is saying when it asks you to "Install Xamarin".
As for setting up a VSTS build agent, here's a checklist that will hopefully get you going:
Download and install Visual Studio for Mac on a computer running OS X/macOS. Confirm that Visual Studio for Mac can indeed build and sign the IPA's.
If necessary, install all the certificates and provisioning profiles, and confirm that the IPA is correctly signed.
Create a build project in VSTS.
Install the VSTS build agent for OS X/macOS and connect/register the build agent to the VSTS project. Please be aware that the Xamarin license task/utility is deprecated and no longer needed. If that does appear as a step in your VSTS build project, delete it.
Go back to VSTS, and configure the VSTS project to build the Xamarin.iOS project via the OSX/macOS build agent. Once the build agent is connected to the VSTS project.
I'll admit, there is a lot of moving parts and things to do here. I hope this high level overview is enough to point you in the right direction.
Per starain's advice, I tried installing VS for Mac. It started up, but failed with an 'Unable to parse condition "!(Exists($(SharedVersionOutputDirectory)))"' error. I've encountered several bugs in the Xamarin tool chain, so this may have nothing to do with VS vs. XS, but just be part of the current duct-tape-and-bailing-twine experience. OTOH, there's still a top-level Xamarin page saying VS Mac is still preview, so who knows how baked it really is?
So even though the Mac build agent does find and run the VS Mac build tooling, I gave up and used my Windows build agent instead, and had MSBuild on Windows connect to the Mac for the iOS build.
in xCode we have an option that let's us set Code Signing Identity to 'Don't Code Sign', but i couldn't find that option in xamarin ios, both in visual studio and Xamarin Studio.
i think that option is not available in Xamarin.is there any workaround so we can let that happen while building ios projects. i want to test my app on a jail broken device.
and with out any developer account i can't generate ipa files. i tried many ways but couldn't find any solution.
is there anyway to solve this issue without buying developer id from Apple ?