Xcode真机调试问题之-运行弹框问题

在我用真机调试的时候很可能会出现以下的这些运行弹框问题:

弹框一

The executable was signed with invalid entitlements.
The entitlements specified in your application’s Code Signing Entitlements file are invalid, not permitted, or do not match those specified in your provisioning profile. (0xE8008016).

截图:

Xcode真机调试问题之-运行弹框问题_第1张图片
Snip20170505_71.png
Xcode真机调试问题之-运行弹框问题_第2张图片
Snip20170807_12.png

解决办法:
1、选择EditScheme

Xcode真机调试问题之-运行弹框问题_第3张图片
Snip20170505_72.png

2、选择Run->info->Build Configuration选择Debug就可以了

Xcode真机调试问题之-运行弹框问题_第4张图片
Snip20170505_74.png

弹框二

Unsupported device model
“iPad” is of a model that is not supported by this version of Xcode. Please use a different device.

截图:

Xcode真机调试问题之-运行弹框问题_第5张图片
Snip20170807_2.png

解决办法:
重启xcode就好...

你可能感兴趣的:(Xcode真机调试问题之-运行弹框问题)