-
Notifications
You must be signed in to change notification settings - Fork 569
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Emgu prevents apps from running on iPhone 6/iOS 12 #911
Comments
The crash log contains two error lines:
None of them seems to help pinpoint what went wrong. We don't have a iPhone 6 in house and is not able to reproduce the issue. FYI, our iOS build set IPHONE_OS_DEPLOYMENT_TARGET=11.0 At this point we are not sure how to proceed without an error messages that pointing to the cause. |
I experimented a little bit and I can say that the problem is present in v4.8.1.5350 but absent from v4.8.0.5324. I also played around to see if Xamarin/Forms vs .Net/MAUI makes a difference and it doesn't, the problem is present in the latest version of both. I'm happy to just keep using v4.8.0. But if you think of something you'd like me to test on my old phones I would be happy to do so. |
The issue also happens on any iPad running iPadOS 11 or 12. Confirmed that the issue is also present in Emgu v4.9.0.5494 on Xamarin.iOS. |
iPadOS starts at version 13. Before iPadOS 13, iPad was running iOS 12. Are you with an iPad running iOS 12? iOS 12 has reached end of support by Apple on 23, Jan 2023. iPhone 6 is out of support by Apple, we will not be able to support iPhone 6 (end of support at 23 Jan 2023). We also don't have those devices in-house. If you have found a solution to back-support those out-of-support devices, please create a pull-request, we will review and merge. |
We have iPads running iOS 11 and iOS 12 that we can use to help troubleshoot the issue. Are there certain tests or logs that would be helpful in determining the issue?
|
XCode released after Jan 23, 2023 no longer gurantee to produce binary that is compatible with iOS 12 and older because the OS version is out-of-support. I suspect that in-order to have Emgu CV work on iOS 12 or older, you will need to download older version of XCode to build Emgu CV from source. Looking at XCode release dates, it looks like XCode 14.2 or older may be what you need: |
FYI, Emgu CV 4.8.0 release is compiled with Xcode 14.3.1, Emgu CV 4.8.1 release is compiled with Xcode 15.0 If supporting iOS 12 is a requirement, I would recommend using Emgu CV 4.8.0 instead of the 4.9.0 release. |
Describe the bug
Emgu built into any app causes the app to crash seconds after launching on iOS 12 (iPhone 6)
OS / Platform
iOS 12.5.7/iPhone 6
.Net version
.Net 8
CPU Architecture
A8 chip with 64-bit architecture
Emgu CV package used
Emgu.CV.runtime.maui.mini.ios v4.8.1.5350
To Reproduce
Take any app that runs, then install the package. No actual usage of the package is needed. The app will now crash moments after launching it.
Expected behavior
The app should stay open.
Screenshots
n/a - I'm attaching the device log output. The two error lines that stand out to me are:
and
Additional context
Emgu works great in my project app on my iPhone SE (2020) on iOS 17.2.1 (allows launching and usage), but the same app crashes immediately after launch on my iPhone 6. To make sure it isn't something about my app, a new empty MAUI app runs on my SE, and on my 6, but after installing Emgu it crashes on the iPhone 6 (but runs fine on the SE).
emguCrashLog.txt
The text was updated successfully, but these errors were encountered: