Apple Mach-O-Linker Error CocoaPods

我怕爱的太早我们不能终老 提交于 2019-11-29 06:19:33

This error usually occurs either when you don't have the correct frameworks (might be missing one) or when you don't have the right thing in linker flags.

Go to the main page for the app (on the navigation thing on the left click on your apps name or the top section) -> Build Settings and under Linker Flags, make sure there is nothing in your Other Linker Flags. I had this same error when I had -ObjC in my other Linker Flags.

You might also want to try adding -lPods to your Other Linker Flags or adding the CoreGraphics framework if you don't already have it.

Good luck

Open workspace file, not project file. Cocoapods automatically creates a xcworkspace file on the same directory as xcproject file.

marcelosalloum

Xcode started displaying this message and I tried pretty much everything to solve it. What finally did the trick for me was deleting all content from ~/Library/Developer/Xcode/DerivedData/

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