I manually deleted my app from the iPhone and now I get this error message when trying to run it again from Xcode.
I cleaned the build folder, restarted the device, Xcod
Problem occured on XCode 11
TL;DR:
Try changing Embed
option in General=>Section Frameworks, Libraries.. to Do Not Embed
(although it sounds strange)
In my General=>Section Frameworks, Libraries.. list are Security.framework
and the CocoaPods Pods_projectname.framework
amongst others. Default setting of these two was Do Not Embed
. Sounded strange to me, so I changed it without need alternating to Embed & Sign
or Embed Without Signing
. With both options the error occured!