Skip to content

Troubleshooting

Alix Humbert edited this page Nov 12, 2022 · 3 revisions

Error: building for iOS Simulator, but linking in object file built for iOS

Solution: Exclude arm64 architecture for iOS simulators targets on both Release and Debug (See PR #943 https://github.com/sap-labs-france/ev-mobile/pull/943)

Error: [MTLDebugDevice notifyExternalReferencesNonZeroOnDealloc:]:2951: failed assertion `The following Metal object is being destroyed while still required to be alive by the command buffer

Solution: Go to Product -> Scheme -> Edit Scheme. In the diagnostic tab, disable API validation under 'Metal' section https://developer.apple.com/forums/thread/699119