I recently updated my OS to Catalina, and updated Xcode to 11.2. Since doing so, when I try to run a release version of my app on my device, I\'m simply given the error:
In Xcode 12, I got an error window saying: Unable to install "AppName"
.
I clicked Details
and found that There was no space on my iPhone.
Struggled with this for a long time. What fixed it for me was deleting all the cache data generated by Xcode like Device Support, Archives, Derived data, etc...
Try to clean Provisioning Profiles
[About]
Xcode -> Window -> Devices and Simulators
-> Right click on your device -> Show Provisioning Profiles...
-> Select Provisioning Profile -> - Remove selected profiles
In my case the problem was occurred by empty framework references in pbxproj. After removing them the problem was fixed.
Use Automatically manage signing
Solve this issue.
Here is what works for me: