apple Store构筑上架报错:Invalid Bundle - One or more dynamic libraries that are referenced by your app are not present in the dylib search path.

最近用RN上架遇到一个bug,能够成功上传,但是版本构筑出不来。
通过查看邮件,提示:
Invalid Bundle - One or more dynamic libraries that are referenced by your app are not present in the dylib search path.

一开始我是直接去检查权限问题,把所有的权限都加上了,但是没有效果。
好吧,坑才刚开始。

apple Store构筑上架报错:Invalid Bundle - One or more dynamic libraries that are referenced by your app are not present in the dylib search path._第1张图片
FB66D4F2-692C-4226-A934-8CD6CEE56759.png

后来提示这个:ITC.apps.preReleaseBuild.errors.invalidBinary

一直反复把每个第三方插件排查。。。终于。。。在第17次找到原因。历时2天。。。差点崩溃。。。。
好了,来讲一下方法,可能并不是每个人都适用。

方法

找copy files的步骤是:点击target,然后找build phases选项,最上边那个+号就是了

apple Store构筑上架报错:Invalid Bundle - One or more dynamic libraries that are referenced by your app are not present in the dylib search path._第2张图片
QQ20170424-153755.png

就是把动态framework添加一个自定义路径进去就行了。方法很简单,但是遇到bug的时候确实很抓狂。。。哎

你可能感兴趣的:(apple Store构筑上架报错:Invalid Bundle - One or more dynamic libraries that are referenced by your app are not present in the dylib search path.)