Tauri 应用提交到 Mac App Store 时遇到 CFBundleExecutable 错误 怎么解决?-灵析社区

金刚老六

tauri应用打包,提交到mac app store,提交的时候报CFBundleExecutable 不正确,可是我设置了和APP名字一样的,一直报错,plist 里面检查没有问题,有人遇到这个问题过吗 Asset validation failed (90259) Bad Bundle Executable. You must include a valid CFBundleExecutable key in your bundle's information property list file.

阅读量:184

点赞量:0

问AI
CFBundleExecutable 这个错误应该就是 plist中的 CFBundleExecutable没有声明, 我本来的项目中plist 中声明了,可为什么打包后没有声明,原因是 entitlement文件中有一个声明的值格式不对,多了一个空格,导致构建工具没有能合并两个文件,之前没有仔细看错误提示: «Failed to parse entitlements: AMFIUnserializeXML: syntax error near line 8» 这个错误最终原因是 entitlement 中声明的有错误,导致提示是CFBundleExecutable,修改 entitlement 之后,问题解决!