App Crash on launch Symbol not found: _MADimFlashingLightsEnabled
- Dominant language
- C#
- Stars
- 2.9k
- Forks
- 576
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 123
Description
Xamarin.Forms app built with XCode 16.3.1 crashes on launch with Symbol not found: _MADimFlashingLightsEnabled on iOS 16.3.1
It works on iOS 16.4.
MADimFlashingLightsEnabled was introduced in iOS 16.4, however we don't intentially use it, (code hasn't changed since 16.4 was released) so for some reason with XCode 14.3.1 Xamarin is linking/building with it which breaks any iPhone with iOS < 16.4
### Steps to Reproduce
1. Using XCode iOS 14.3.1
2. Deploy an Xamarin.Forms app to a iphone running iOS 16.3.1
3. Wait for app to launch
### Expected Behavior
App launches
### Actual Behavior
App crashes with:
However now my app crashes on load with:
dyld[6081]: Symbol not found: _MADimFlashingLightsEnabled
Referenced from: <3618959C-1FD7-3EE2-B212-5C808F8A0388> /private/var/containers/Bundle/Application/0ED9F91A-F22C-4331-B01C-47EC82FB34A5/Pttox.Forms.iOS.app/Pttox.Forms.iOS
Expected in: /System/Library/Frameworks/MediaAccessibility.framework/MediaAccessibility
### Environment
Version information
```
Visual Studio Professional 2022 for Mac
Version 17.6.3 (build 421)
Installation UUID: d5de5b9a-043f-4c0d-af02-c7e680311947
Runtime
.NET 7.0.3 (64-bit)
Architecture: Arm64
Microsoft.macOS.Sdk 13.1.1007; git-rev-head:8afca776a0a96613dfb7200e0917bb57f9ed5583; git-branch:release/7.0.1xx-xcode14.2
Roslyn (Language Service)
4.6.0-3.23180.6+99e956e42697a6dd886d1e12478ea2b27cceacfa
NuGet
Version: 6.4.0.117
.NET SDK (Arm64)
SDK: /usr/local/share/dotnet/sdk/7.0.400/Sdks
SDK Versions:
7.0.400
7.0.307
6.0.413
6.0.408
6.0.100
MSBuild SDKs: /Applications/Visual Studio.app/Contents/MonoBundle/MSBuild/Current/bin/Sdks
.NET Runtime (Arm64)
Runtime: /usr/local/share/dotnet/dotnet
Runtime Versions:
7.0.10
6.0.21
6.0.16
6.0.0
Xamarin.Profiler
Version: 1.8.0.49
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler
Updater
Version: 11
Xamarin.Android
Version: 13.2.1.2 (Visual Studio Professional)
Commit: xamarin-android/d17-5/a8a26c7
Android SDK: /Users/hughesd/Library/Developer/Xamarin/android-sdk-macosx
Supported Android versions:
13.0 (API level 33)
SDK Command-line Tools Version: 7.0
SDK Platform Tools Version: 34.0.3
SDK Build Tools Version: 32.0.0
Build Information:
Mono: d9a6e87
Java.Interop: xamarin/java.interop/d17-5@149d70fe
SQLite: xamarin/sqlite/3.40.1@68c69d8
Xamarin.Android Tools: xamarin/xamarin-android-tools/d17-5@ca1552d
Microsoft Build of OpenJDK
Java SDK: /Library/Java/JavaVirtualMachines/microsoft-11.jdk
11.0.16.1
Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL
Eclipse Temurin JDK
Java SDK: /Library/Java/JavaVirtualMachines/temurin-8.jdk
1.8.0.302
Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL
Android SDK Manager
Version: 17.6.0.50
Hash: a715dca
Branch: HEAD
Build date: 2023-08-02 19:06:47 UTC
Android Device Manager
Version: 0.0.0.1309
Hash: 06e3e77
Branch: HEAD
Build date: 2023-08-02 19:06:47 UTC
Xamarin Designer
Version: 17.6.3.9
Hash: 2648399ae8
Branch: remotes/origin/d17-6
Build date: 2023-08-02 19:06:42 UTC
Apple Developer Tools
Xcode: 14.3.1 21815
Build: 14E300c
Xamarin.Mac
Not Installed
Xamarin.iOS
Version: 16.4.0.6 Visual Studio Professional
Hash: 97731c92c
Branch: xcode14.3
Build date: 2023-04-11 22:38:36-0400
Build Information
Release ID: 1706030421
Git revision: c90350679f1b9295edc584519320b13d06489853
Build date: 2023-08-02 19:05:00+00
Build branch: release-17.6
Build lane: release-17.6
Operating System
Mac OS X 13.5.0
Darwin 22.6.0 Darwin Kernel Version 22.6.0
Wed Jul 5 22:21:53 PDT 2023
root:xnu-8796.141.3~6/RELEASE_ARM64_T6020 arm64
```
### Build Logs
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.