CocoaPods arm64 issue

我是研究僧i 提交于 2019-11-29 20:09:38
funroll
  1. Select the Pods project
  2. Change Build Active Architecture Only from Yes to No.

That worked for me.

Note: CocoaPods Troubleshooting Guide recommends matching the Debug setting in your Xcode project, rather than changing the Pod's Build Active Architecture Only. As long as they match it seems to fix the problem.

First, try updating cocoapods in your terminal: gem update cocoapods

If it doesn't work after that, go into your workspace, click on the Pod project, select all Pod targets and set Architectures to (armv7 armv7s arm64).

Still nothing? Try switching it all back to (armv7 armv7s).

I had similar issues on XCode 6.1 wherepod install would frequently re-introduce linking errors. Adding $(OTHER_LDFLAGS) to the my target's "Other Linker Flags" got me through this. Please see if this helps.

Just to chip in to the "possible solutions"-pool and because a lot of people with CocoaPods issues are finding this page from Google:

I tried pretty much all suggested solutions, but the thing that did it for me was: In the Pods project in your workspace, go to Build Settings -> Base-SDK. This should be stated in bold. Press backspace to set it to default and set it back to your preferences again (in my case Latest iOS(iOSx.x)).

This oddly solved all my invalid architecture errors. Might help others.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!