iOS stays at splash screen when adding LibVLC.Forms and VideoLan.LibVLC.iOS libraries
Summary
Using LibVLC on Xamain.Forms project (with a shared library) causes the iOS app (on the simulator in debug mode) to stay at the splash screen, the debugger stops and never reaches the first line of the AppDelegate.FinishedLaunching method.
The Android version works fine.
This issue occurs only by adding the libraries, with no direct call to any LibVLC Code on the application. If I remove the LibVLC libraries, the project starts running correctly again.
Minimal project and steps to reproduce
- Create a xamarin project with a shared library instead of PCL/NetStandard.
- Add LibVLCSharp.Forms(version 3.0.1), and VideoLan.LibVLCSharp.iOS (version 3.1.5) packages
- Run the application
What is the current bug behavior?
When the iOS app launches on the simulator (on debug mode), it stays at the splash screen, the debugger stops and no stack trace is displayed in the application output.
What is the expected correct behavior?
iOS app should be able to startup correctly while using the LibVLC libraries.
Relevant logs and/or screenshots
Only logs available are those provided by the iOS simulator
Jun 8 14:13:22 admins-MacBook-Pro com.apple.CoreSimulator.SimDevice.8814787B-227A-46AA-AD1D-BB2E265014B3[7561] (com.apple.mobileslideshow.PhotosFileProvider[7681]): assertion failed: 18F132: launchd_sim + 63721 [4911879E-54AD-341A-9EEA-BD6E6DDD9DD6]: 0x16
Jun 8 14:13:49 admins-MacBook-Pro launchd_sim[7561]: BUG in libdispatch client: mach_recv, monitored resource vanished before the source cancel handler was invoked { 0x7fcb2e645900[source], ident: 259339 / 0x3f50b, handler: 0x1072932ca }
Jun 8 14:14:47 admins-MacBook-Pro FelixApp.iOS[7685]: objc[7685]: Class CLSUserDefaults is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/ClassKit.framework/ClassKit (0x11d793608) and /Users/admin/Library/Developer/CoreSimulator/Devices/8814787B-227A-46AA-AD1D-BB2E265014B3/data/Containers/Bundle/Application/DA504FD5-01D7-473D-8375-510C5EF5AFFE/FelixApp.iOS.app/FelixApp.iOS (0x10cd25318). One of the two will be used. Which one is undefined.
Jun 8 14:14:47 admins-MacBook-Pro FelixApp.iOS[7685]: objc[7685]: Class GTMLogger is implemented in both /Users/admin/Library/Developer/CoreSimulator/Devices/8814787B-227A-46AA-AD1D-BB2E265014B3/data/Containers/Bundle/Application/DA504FD5-01D7-473D-8375-510C5EF5AFFE/FelixApp.iOS.app/Frameworks/GoogleToolboxForMac.framework/GoogleToolboxForMac (0x11bba4d78) and /Users/admin/Library/Developer/CoreSimulator/Devices/8814787B-227A-46AA-AD1D-BB2E265014B3/data/Containers/Bundle/Application/DA504FD5-01D7-473D-8375-510C5EF5AFFE/FelixApp.iOS.app/FelixApp.iOS (0x10cd356f0). One of the two will be used. Which one is undefined.
Jun 8 14:14:47 admins-MacBook-Pro FelixApp.iOS[7685]: objc[7685]: Class GTMLogBasicFormatter is implemented in both /Users/admin/Library/Developer/CoreSimulator/Devices/8814787B-227A-46AA-AD1D-BB2E265014B3/data/Containers/Bundle/Application/DA504FD5-01D7-473D-8375-510C5EF5AFFE/FelixApp.iOS.app/Frameworks/GoogleToolboxForMac.framework/GoogleToolboxForMac (0x11bba4cd8) and /Users/admin/Library/Developer/CoreSimulator/Devices/8814787B-227A-46AA-AD1D-BB2E265014B3/data/Containers/Bundle/Application/DA504FD5-01D7-473D-8375-510C5EF5AFFE/FelixApp.iOS.app/FelixApp.iOS (0x10cd35650). One of the two will be used. Which one is undefined.
Jun 8 14:14:47 admins-MacBook-Pro FelixApp.iOS[7685]: objc[7685]: Class GTMLogStandardFormatter is implemented in both /Users/admin/Library/Developer/CoreSimulator/Devices/8814787B-227A-46AA-AD1D-BB2E265014B3/data/Containers/Bundle/Application/DA504FD5-01D7-473D-8375-510C5EF5AFFE/FelixApp.iOS.app/Frameworks/GoogleToolboxForMac.framework/GoogleToolboxForMac (0x11bba4c88) and /Users/admin/Library/Developer/CoreSimulator/Devices/8814787B-227A-46AA-AD1D-BB2E265014B3/data/Containers/Bundle/Application/DA504FD5-01D7-473D-8375-510C5EF5AFFE/FelixApp.iOS.app/FelixApp.iOS (0x10cd35600). One of the two will be used. Which one is undefined.
Jun 8 14:14:47 admins-MacBook-Pro FelixApp.iOS[7685]: objc[7685]: Class GTMLogLevelFilter is implemented in both /Users/admin/Library/Developer/CoreSimulator/Devices/8814787B-227A-46AA-AD1D-BB2E265014B3/data/Containers/Bundle/Application/DA504FD5-01D7-473D-8375-510C5EF5AFFE/FelixApp.iOS.app/Frameworks/GoogleToolboxForMac.framework/GoogleToolboxForMac (0x11bba4cb0) and /Users/admin/Library/Developer/CoreSimulator/Devices/8814787B-227A-46AA-AD1D-BB2E265014B3/data/Containers/Bundle/Application/DA504FD5-01D7-473D-8375-510C5EF5AFFE/FelixApp.iOS.app/FelixApp.iOS (0x10cd35628). One of the two will be used. Which one is undefined.
Jun 8 14:14:47 admins-MacBook-Pro FelixApp.iOS[7685]: objc[7685]: Class GTMLogNoFilter is implemented in both /Users/admin/Library/Developer/CoreSimulator/Devices/8814787B-227A-46AA-AD1D-BB2E265014B3/data/Containers/Bundle/Application/DA504FD5-01D7-473D-8375-510C5EF5AFFE/FelixApp.iOS.app/Frameworks/GoogleToolboxForMac.framework/GoogleToolboxForMac (0x11bba4d50) and /Users/admin/Library/Developer/CoreSimulator/Devices/8814787B-227A-46AA-AD1D-BB2E265014B3/data/Containers/Bundle/Application/DA504FD5-01D7-473D-8375-510C5EF5AFFE/FelixApp.iOS.app/FelixApp.iOS (0x10cd356c8). One of the two will be used. Which one is undefined.
Jun 8 14:14:47 admins-MacBook-Pro FelixApp.iOS[7685]: objc[7685]: Class GTMLogAllowedLevelFilter is implemented in both /Users/admin/Library/Developer/CoreSimulator/Devices/8814787B-227A-46AA-AD1D-BB2E265014B3/data/Containers/Bundle/Application/DA504FD5-01D7-473D-8375-510C5EF5AFFE/FelixApp.iOS.app/Frameworks/GoogleToolboxForMac.framework/GoogleToolboxForMac (0x11bba4e68) and /Users/admin/Library/Developer/CoreSimulator/Devices/8814787B-227A-46AA-AD1D-BB2E265014B3/data/Containers/Bundle/Application/DA504FD5-01D7-473D-8375-510C5EF5AFFE/FelixApp.iOS.app/FelixApp.iOS (0x10cd357e0). One of the two will be used. Which one is undefined.
Jun 8 14:14:47 admins-MacBook-Pro FelixApp.iOS[7685]: objc[7685]: Class GTMLogMininumLevelFilter is implemented in both /Users/admin/Library/Developer/CoreSimulator/Devices/8814787B-227A-46AA-AD1D-BB2E265014B3/data/Containers/Bundle/Application/DA504FD5-01D7-473D-8375-510C5EF5AFFE/FelixApp.iOS.app/Frameworks/GoogleToolboxForMac.framework/GoogleToolboxForMac (0x11bba4d28) and /Users/admin/Library/Developer/CoreSimulator/Devices/8814787B-227A-46AA-AD1D-BB2E265014B3/data/Containers/Bundle/Application/DA504FD5-01D7-473D-8375-510C5EF5AFFE/FelixApp.iOS.app/FelixApp.iOS (0x10cd356a0). One of the two will be used. Which one is undefined.
Jun 8 14:14:47 admins-MacBook-Pro FelixApp.iOS[7685]: objc[7685]: Class GTMLogMaximumLevelFilter is implemented in both /Users/admin/Library/Developer/CoreSimulator/Devices/8814787B-227A-46AA-AD1D-BB2E265014B3/data/Containers/Bundle/Application/DA504FD5-01D7-473D-8375-510C5EF5AFFE/FelixApp.iOS.app/Frameworks/GoogleToolboxForMac.framework/GoogleToolboxForMac (0x11bba4d00) and /Users/admin/Library/Developer/CoreSimulator/Devices/8814787B-227A-46AA-AD1D-BB2E265014B3/data/Containers/Bundle/Application/DA504FD5-01D7-473D-8375-510C5EF5AFFE/FelixApp.iOS.app/FelixApp.iOS (0x10cd35678). One of the two will be used. Which one is undefined.
Jun 8 14:14:47 admins-MacBook-Pro FelixApp.iOS[7685]: objc[7685]: Class GTMSessionFetcher is implemented in both /Users/admin/Library/Developer/CoreSimulator/Devices/8814787B-227A-46AA-AD1D-BB2E265014B3/data/Containers/Bundle/Application/DA504FD5-01D7-473D-8375-510C5EF5AFFE/FelixApp.iOS.app/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher (0x11d343dd0) and /Users/admin/Library/Developer/CoreSimulator/Devices/8814787B-227A-46AA-AD1D-BB2E265014B3/data/Containers/Bundle/Application/DA504FD5-01D7-473D-8375-510C5EF5AFFE/FelixApp.iOS.app/FelixApp.iOS (0x10cd37cc0). One of the two will be used. Which one is undefined.
Jun 8 14:14:47 admins-MacBook-Pro FelixApp.iOS[7685]: objc[7685]: Class GTMSessionCookieStorage is implemented in both /Users/admin/Library/Developer/CoreSimulator/Devices/8814787B-227A-46AA-AD1D-BB2E265014B3/data/Containers/Bundle/Application/DA504FD5-01D7-473D-8375-510C5EF5AFFE/FelixApp.iOS.app/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher (0x11d343df8) and /Users/admin/Library/Developer/CoreSimulator/Devices/8814787B-227A-46AA-AD1D-BB2E265014B3/data/Containers/Bundle/Application/DA504FD5-01D7-473D-8375-510C5EF5AFFE/FelixApp.iOS.app/FelixApp.iOS (0x10cd37ce8). One of the two will be used. Which one is undefined.
Jun 8 14:14:47 admins-MacBook-Pro FelixApp.iOS[7685]: objc[7685]: Class GTMSessionFetcherService is implemented in both /Users/admin/Library/Developer/CoreSimulator/Devices/8814787B-227A-46AA-AD1D-BB2E265014B3/data/Containers/Bundle/Application/DA504FD5-01D7-473D-8375-510C5EF5AFFE/FelixApp.iOS.app/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher (0x11d343e70) and /Users/admin/Library/Developer/CoreSimulator/Devices/8814787B-227A-46AA-AD1D-BB2E265014B3/data/Containers/Bundle/Application/DA504FD5-01D7-473D-8375-510C5EF5AFFE/FelixApp.iOS.app/FelixApp.iOS (0x10cd37d60). One of the two will be used. Which one is undefined.
Jun 8 14:14:47 admins-MacBook-Pro FelixApp.iOS[7685]: objc[7685]: Class GTMSessionFetcherSessionDelegateDispatcher is implemented in both /Users/admin/Library/Developer/CoreSimulator/Devices/8814787B-227A-46AA-AD1D-BB2E265014B3/data/Containers/Bundle/Application/DA504FD5-01D7-473D-8375-510C5EF5AFFE/FelixApp.iOS.app/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher (0x11d343e98) and /Users/admin/Library/Developer/CoreSimulator/Devices/8814787B-227A-46AA-AD1D-BB2E265014B3/data/Containers/Bundle/Application/DA504FD5-01D7-473D-8375-510C5EF5AFFE/FelixApp.iOS.app/FelixApp.iOS (0x10cd37d88). One of the two will be used. Which one is undefined.
Jun 8 14:14:47 admins-MacBook-Pro FelixApp.iOS[7685]: objc[7685]: Class GTMSessionUploadFetcher is implemented in both /Users/admin/Library/Developer/CoreSimulator/Devices/8814787B-227A-46AA-AD1D-BB2E265014B3/data/Containers/Bundle/Application/DA504FD5-01D7-473D-8375-510C5EF5AFFE/FelixApp.iOS.app/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher (0x11d343f10) and /Users/admin/Library/Developer/CoreSimulator/Devices/8814787B-227A-46AA-AD1D-BB2E265014B3/data/Containers/Bundle/Application/DA504FD5-01D7-473D-8375-510C5EF5AFFE/FelixApp.iOS.app/FelixApp.iOS (0x10cd37e00). One of the two will be used. Which one is undefined.
Jun 8 14:14:48 admins-MacBook-Pro com.apple.CoreSimulator.SimDevice.8814787B-227A-46AA-AD1D-BB2E265014B3[7561] (UIKitApplication:com.felixsmart.main[0x6ece][7583][7685]): Service exited due to SIGABRT
Environment
- OS: iOS
- Version 11
- Device: Any
- LibVLCSharpForms version and architecture 3.0.1
- VideoLan.LibVLCSharp.iOS version 3.1.5