So it looks like what happened is I made multiple entitlements files for the different build schemes (for prod, dev, and staging) and each one was correct for the corresponding scheme but it looks like it confused Xcode for some reason. So I deleted all the custom entitlements files, reset the Build Setting for Code Signing Entitlements, created a new custom dev entitlement file, and manually updated the Build Setting for Code Signing Entitlements and now its working.
Topic:
Code Signing
SubTopic:
Entitlements
Tags: