Xamarin iOS app crashing immediately after launching
Se
21
Reputation points
After updating XCode and Visual Studio 2019 to the latest versions, my Xamarin.Forms app shows the launch screen for about a tenth of a second, and then crashes when running on an iPhone (the simulator still works fine).
Looking at the device log, I am seeing this error when the crash happens:
Tag: kernel(AppleMobileFileIntegrity)
Message: Library Validation failed: Rejecting '/private/var/containers/Bundle/Application/.../MyAppiOS.app/libMyAppiOS.exe.dylib' (Team ID: none, platform: no) for process 'MyAppiOS(506)' (Team ID: ABC123XYZ, platform: no), reason: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed
Visual Studio Enterprise 16.10.3
Xamarin.iOS SDK 14.20.0.24
Any help would be appreciated. I haven't added any new third party libraries before this error began.
Sign in to answer