My Xamarin iOS App crashes after 24 hours - xamarin

Im a high school student and I've been building this iOS app in Xamarin. I use Xcode as the visual editor and Xamarin C# for all the code. My app crashes after 24 hours. It builds and runs fine but after a day, it won't open at all on my iPhone 5s. It's odd because I have the indie subscription for iOS. I don't however have the Android subscription. It shouldn't matter because I am not even using Android. I do have some Xamarin.Forms projects that are in my Xamarin Dashboard, but I am not using Forms, or even Android, in the app I'm having issues with. Thank you for reading and all comments are appreciated!

Related

Xamarin.Forms Android app crashing on splash screen of Android 12

I am currently testing my app with VS 2019. Works fine with android devices lower than android 12 but crashes on devices => android 12.I updated android target framework to Android 12. Application that is being deployed on Android 12 crashes on the splash screen without throwing any errors, exception or activating any debugger in App.xaml.cs, SplashActivity.cs or any other file that supposed to be called. I tried all the possible changes in android manifest, mainActivity and splashActivity but it didn't work. Versions 6.4.0 of MVVMCross.Forms and 4.8.0.1821 of Xamarin.forms are both used in my application. I uploaded the app to the Play Store for internal testing, and while it functions on all devices, Android 12 devices experience splashing crashes.
I'm using VS 2019, Android SDK 31 and Android JDK 11.
I am getting a similar crash in of one my other app as well. Can you please guide me ? I checked but I did not find anything on this.

Xamarin.Android to Xamarin.Ios

About 6 months ago, I started to build an application using xamarin. To be honest, I have not given attention to xamarin.forms. Now that I have completed my android application using xamarin.android.
Now I want to make an Ios application for the same product. What are my options to convert my this android application to IOS so that I use the minimum amount of time and effort?
Please explain what are my options now?

Visual Studio App Center Build for iOS

I know that all iOS apps must be built on a Mac before they can be submitted to the App store but I've noticed that Visual Studio App center provides build services - even for iOS.
Can this be used for beta testing purposes or do I still need a Mac to do the build even for beta testing purposes?
BTW, the app is an enterprise Xamarin Forms app for internal use.
Yes, you also need Mac for Beta testing.
But I use https://www.macincloud.com for testing rather then buying Expensive hardware.
It has built in Support for Xamarin and it very cheap.
iOS not like Android you also ned Apple Developer Lic. for distribute your app.
you can purchase your Lic. as your Requirement from hear : https://developer.apple.com/support/compare-memberships/
(if you just want to check how look your app in Device you can use Xamarin Live )

xamarin studio android emulator starting take infinite time

I am using xamarin studio community edition on my macbook pro. when I try to run any sample project on android emulator it takes infinite time.
Can you please suggest. FYI It was working previosuly . Please check screen shot Android emulator error
I would highly suggest using the Xamarin Android Player instead of Google's default emulator manager.
The Xamarin Android Player is much faster and more reliable in my opinion although I have also heard that choosing different Google Play emulator images can make a big difference. Installing HAXM can also speed up the default Intel Google Play emulator images.
Download the Xamarin Android Player from here.
*Edit: Thanks to #SushiHangover for pointing out the fact that Xamarin deprecated the Xamarin Android Player. SushiHangover suggests using the Genymotion Android emulator which I have heard good things about but have not tried yet.

Xamarin Cross Platform disable IOS

I'm new to Xamarin.
My goal is to develop an app for both Android and Windows phone platforms, without IOS. I dont have any mac to test.
Under the properties solution, I already tried to remove IOS from the targets platform, but doesn't allow me. It's mentioned that its
Thats the solution i tried withou sucess:
Remove ios, windows8, and wp8 from Xamarin Forms PCL - nuget 3.0 opt-into error?
Please help.
It doesn't really matter! It doesn't mean you are actually stuck with iOS in any way.
The only thing it means is that the set you have selected is also compatible with the libraries in Xamarin.iOS. So it means that you could create an iOS project without too much trouble if you would want to in the future.
If you do not create an iOS project, you won't get an iOS app.

Resources