iOS the linked framework is missing one or more architectures

269 阅读1分钟

the linked framework is missing one or more architectures required by this target x86_64。

此时你肯定是在debug环境的x86_64下运行,修改工程对应target的Build Setting当中的Build Active Architecture Only的debug为YES,如果有多处需要修改的话就把所有地方都改掉,工程的target,pod及私有库等等。

原因大概率是因为debug为NO的话会多编译一个i386,项目中对应pod的库不支持i386。

发现改完还不行的话删一下DriveData,你懂的。