修改pods的脚本文件(不推荐)
找到../Pods/Target Support Files/Pods-[Your Project Name]/Pods-[Your Project Name]-resources.sh文件,替换最后一句命令:
替换前
printf "%s\0" "{PLATFORM_NAME}" --minimum-deployment-target "{TARGET_DEVICE_ARGS} --compress-pngs --compile "{UNLOCALIZED_RESOURCES_FOLDER_PATH}"
替换后
printf "%s\0" "{PLATFORM_NAME}" --minimum-deployment-target "{TARGET_DEVICE_ARGS} --compress-pngs --compile "{UNLOCALIZED_RESOURCES_FOLDER_PATH}" --app-icon "{BUILD_DIR}/assetcatalog_generated_info.plist"
网友评论