iOS问题 The file “XXX.app”could‘t be opened because you don't have permission to view it 处理

倒入第三方框架后,容易出现下图情况:



iOS问题 The file “XXX.app”could‘t be opened because you don't have permission to view it 处理_第1张图片

原因是info.plist中的Executable file 中的字段与 build settings 中Packing下的Product Name不一致导致的

info.plist:

iOS问题 The file “XXX.app”could‘t be opened because you don't have permission to view it 处理_第2张图片

build settings:

iOS问题 The file “XXX.app”could‘t be opened because you don't have permission to view it 处理_第3张图片

解决方案是:将info.plist中的executable file 中的$(EXECUTABLE_NAME)改为$(PRODUCT_NAME)即可

你可能感兴趣的:(iOS问题 The file “XXX.app”could‘t be opened because you don't have permission to view it 处理)