Failure Reason: Could not inspec
2020-09-18 本文已影响0人
Ocean_e553
iOS运行app时出现Unable to install "", 详细信息显示: Failure Reason: Could not inspect the application package.

查找网上说出现这种错误的情况有这几种:
1、项目中存在resource文件夹
2、productname名称命名错误
3、info.plist文件配置错误
在排查完这些情况后, 仍然无法安装.
起因是添加百度地图sdk后出现的这种问题, 最后看到是因为百度地图拖入项目时被设置成了 Embed & sign 导致的.

改成 Do Not Embed 即可正常安装运行.