I've had the similar issues.....
One solution to it is that you need to resign the app using Entitlements.plist on mac.....try this on your terminal ...

codesign -f -dvvv -s "iPhone Distribution:...