-
Type: Task
-
Resolution: Fixed
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
Goals
Trying to launch my iOS app that uses Realm. It launches fine using the iOS simulator and on Android devices, but on an iOS device it crashes immediately.
Expected Results
App launches without error.
Actual Results
App crashes immediately. The following is output in Visual Studio:
Launched application 'com.jackvine.ComicWrap' on 'Jack???s iPad' with pid 901 Xamarin.Hosting: Process '901' exited. Application 'com.jackvine.ComicWrap' terminated. dyld: Library not loaded: @rpath/realm-wrappers.framework/realm-wrappers Referenced from: /private/var/containers/Bundle/Application/0D9BDF2D-966D-49D5-9540-7885916AEE27/ComicWrap.iOS.app/ComicWrap.iOS Reason: no suitable image found. Did find: /private/var/containers/Bundle/Application/0D9BDF2D-966D-49D5-9540-7885916AEE27/ComicWrap.iOS.app/Frameworks/realm-wrappers.framework/realm-wrappers: code signature invalid for '/private/var/containers/Bundle/Application/0D9BDF2D-966D-49D5-9540-7885916AEE27/ComicWrap.iOS.app/Frameworks/realm-wrappers.framework/realm-wrappers' /private/var/containers/Bundle/Application/0D9BDF2D-966D-49D5-9540-7885916AEE27/ComicWrap.iOS.app/Frameworks/realm-wrappers.framework/realm-wrappers: stat() failed with errno=1
Steps to Reproduce
- Create new Xamarin.Forms app with Xamarin.Essentials v1.5.0 & Xamarin.Forms v4.5.0.356
- Install latest realm packages for all projects (v4.3.0)
- Build and run on iOS device (must be on a real device, crash does not happen on simulator)
- Observe app crashing immediately
Code Sample
This happens with a blank project, but for reference my project repo is here.
Version of Realm and Tooling
- Client SDK Version: v4.3.0
- Client OS & Version: iOS 13.3.1
- Xamarin.Forms Version: v4.5.0.356
- Xamarin.Essentials Version: v1.5.0