Comment on Enum cases with associated values cannot be marked potentially unavailable try increasing the deployment target to iOS 13...it helped me :/ App & System Services Core OS Aug ’21