Post

Replies

Boosts

Views

Activity

Xamarin.Forms app crashes on startup when installed via Testflight
Hello fellow developers! I am developing a Xamarin.Forms App for android and iOS. It works fine in Debug and Release mode on Android Emulators, Android Devices, iOS Emulators. But there is a problem with iOS Devices. Directly deploying the Debug/Release Builds to a device works. But when I upload the app to the AppStore and install it via Testflight on my device, it crashes on startup. From the console I can see following errors: 1: "System.MissingMethodException: Default constructor not found for type App.Views.Login" 2: "Default constructor not found for type ColorPicker.iOS.Effects.ColorPickerTouchEffectiOS" The first one is related to my Login View, which has a default constructor and works fine in debug and release builds. The second one is related to a nugget package. My question is: Why are the default constructors available in Debug and Release but not when i download the app via Testflight? And how can I fix this? Linking behaviour is set to "Link all".
0
0
758
Sep ’22
App instantly crashes via Testflight
Hello fellow developers! I have created a Xamarin.Forms App for Android and iOS. It is running fine on Android, on iOS emulators and real devices in Debug and Release mode. But as soon as i deploy it to the app store and download it via Testflight, it crashes instantly when i try to open it. No crash logs, no relevant information in the console. At first i thought its crashing because of some entitlements missing. But I removed the relevant code from my app and i am still facing the same problem. I am using Visual Studio 2022 17.2.0 Using my MacMini 2021 (latest OS version) to build.
3
0
955
Sep ’22