美文网首页
真机运行app后,无法安装:app installation f

真机运行app后,无法安装:app installation f

作者: 咚咚嗒大人 | 来源:发表于2020-06-29 19:39 被阅读0次

app installation failed , Could not inspect the application package
xcode11以下报错显示:


image.png

原因:把静态framework 拖到了 embed framework 或者Frameworks,Libraries,and Embezzlesdded Content 里面。
解决办法就是:从中删除。。。

如何查看是静态库还是动态库?
1、cd到对应的framework中

dongxuejiao@DXJMBP Framework % cd QHVCInteractiveKit.framework

2、执行:file xxx(当前的库,没有后缀)

dongxuejiao@DXJMBP QHVCInteractiveKit.framework % file QHVCInteractiveKit          

因为该库是静态库显示为:


image.png

重复上面操作如果是动态库则显示为:


image.png

删除下面的静态库:

image.png
将其中的静态库删除,编译后对应的库会报错,还需要将该库重新拖到项目中才行
image.png

相关文章

网友评论

      本文标题:真机运行app后,无法安装:app installation f

      本文链接:https://www.haomeiwen.com/subject/huyafktx.html