Where does Xamarin store your app keystore by default? - xamarin

I wrote an app about 3 years ago using Visual Studio 2015 and Xamarin. I generated my signing key and published my app to google play. I'm using Visual Studio 2019 and Xamarin and am trying to find the keystore that contains the key needed for me to publish a release build to the Google Play store, but can't find it.
Can anyone suggest some directories that I should check? Should I ask Google to reset my app keys?

You used the debug keystore to sign your App with? That is not a good thing. It will be here though: C:\Users\Cheesebaron\AppData\Local\Xamarin\Mono for Android replace Cheesebaron with your username.
If you created a KeyStore to sign Apps for Google Store using the Archive tool in Visual Studio it should be there and look something like this:
The Keystore folder will contain any keystores you have created with the Archive tool.
If you can't find your keystore, you would have to get your keys reset and create a new one, which you store a safe place.

Related

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

Visual Studio for Mac creates 2 .apk archives, one with -signed.apk

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.

How to create a binary from a monogame project

I'm making a simple Pong game on a Mac using Xamarin and Monogame, however I can`t find a way to export into a binary such as a .exe or a .app. Can it be done?
The answer is yes.
The procedure is pretty similar on both Android and iOS.
Android
Switch your project over to Release mode
If you are using any Google Play Services (maps and such), make sure to use your own keychain, which can be defined in the Project Options under Android Package Signing
Build the project
Right click and select Archive for Publishing
A new window will appear where you can sign and distribute your app
Upload to Google Play Store or any other relevant store
For iOS the steps are similar
Make sure you have created an App Name and provisioning profiles in the Apple developer center
Make sure Identifier of your app matches the registered one in the Info.plist of the app
Switch to AppStore or Ad-Hoc depending on the way you want to distribute your app
Build your project
Right click and select Show IPA on Build Server (Visual Studio) / in Xamarin.Studio on Mac you can select Archive for Publishing and get the IPA.
Upload the IPA to iTunesConnect or HockeyApp or whatever distribution method you are using
For more in depth documentation, please refer to Xamarin's official documentation for Android and for iOS.
Sorry for not quite understanding your question at the first time.
If you build the game on a Mac, I am not sure there is a way to export .app. However, I recommend you load your Xamarin project into Xamarin Studio or Visual Studio on Windows. Then you can get the iOS version and windows binary at the same time. However, for windows version you could only get .appx output, which is the winRT counterpart to the traditional desktop .exe.
Take Visual studio as an example,
If you want to export windows output, please follow steps below:
right click on your project's xamarin.Windows(UWP or Windows8.1) folder and select "store"
Select "No" for the prompt dialog about whether to upload to store
Follow the instructions till the end. Then get the .appx file under your project's AppPackages folder
And what's more, even if you just need to share with several people, HockeyApp is still a good option for you regarding the distribution trouble and version control trouble it can save for you. You can take a trial here.
Please let me know if this can help.

Xamarin iOS Code Signing Option in Visual Studio

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 ?

How to recover Android key file in Phonegap build?

So I stopped using Phonegap build and started signing my app in a different way (I'm building using Eclipse and stupidly made a new keystore file), so Google is not letting me upload my most recent APK because it was signed differently. How do I recover the key file from Phonegap build that I have been using, and if I can't do this, how do I replicate the key file exactly as it was?
Signing Your Applications
Android requires that all apps be digitally signed with a certificate before they can be installed. Android uses this certificate to identify the author of an app, and the certificate does not need to be signed by a certificate authority.... More...
http://developer.android.com/tools/publishing/app-signing.html#studio
In your eclipse follow this steps
Package Explorer > Your_project right click > Android Tools > Export Signed Application Package

Resources