'app crash on simulator Xcode 13.3 Symbol not found: _OBJC_CLASS_$_ACAccountStore

My app works perfectly fine on device but not on simulator since the xcode and Mac OS update.

All the frameworks added to project show in red color and when I try to run the app it crash with following error.

dyld[1869]: Symbol not found: OBJC_CLASS$_ACAccountStore Referenced from: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/MapKit.framework/MapKit Expected in: /Users/me/Library/Developer/Xcode/DerivedData/app-dsadygszxtqmitctiebdebgbzedo/Build/Products/Debug-iphonesimulator/Accounts.framework/Accounts



Solution 1:[1]

Make sure your framework name do not match with any of system framework. renaming framework helped me resolved this issue.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Farrah Batool