本文共 518 字,大约阅读时间需要 1 分钟。
今天新建了一个Today Extension的target.后来需求改了.不需要Today Extension了,就把manage scheme和extension文件删除了.然后报错
Code Sign error: Automatic provisioning profile selection unavailable: A bundle identifier is required for automatic provisioning profile selection. Either enter a bundle identifier in the Info.plist, or select a provisioning profile to use in the build settings.
因为我没有删除项目配置的target.把项目的target删除就ok啦.但是运行一下.Today Extension还在.这时候只要卸载应用,clean一下项目就好了.
*注意: 扩展target显示错误时候
1. clean一下项目.
2. 卸载应用.
3. 重新运行
** 如果还是不行就手机重启,(*^__^*)……
转载地址:http://gsnpi.baihongyu.com/