當(dāng)引入第三方的框架的時候 容易產(chǎn)生以下問題:
The file “XXX.app” couldn’t be opened because you don’t have permission to view it.
如圖:
QQ截圖
造成的原因:
info文件中的字段Executable file 與?build settings欄中的Packaging中的Product Name 不一致就會導(dǎo)致上述截圖的問題
解決辦法:
講info.plist的文件中的Executable.file中的文件修改為:$(PRODUCT_NAME)