简体   繁体   中英

How to remove the Xcode warning Apple Mach-O Linker Warning 'Pointer not aligned at address

I have a slight issue when build my Xcode project, get tones of warning after update pod. It looks like this

在此处输入图片说明

Already search the whole site here but still no luck. it doesn't affect the project but it is quite annoying. Anyone could help?

It probably means their binary file has non-aligned pointer when they compile their code. In those cases the alignment basically defaults to 1 byte and hypothetically might impact performance. After updating to Xcode 8.3 public release I am still seeing this error, so Google might need to compile their static library with different settings to make it go away.

Got this response from firebase support:

This is a known issue with Xcode 8.3 beta, so it might be a beta thing and Xcode being extra verbose. It works well though with 8.2.1 so I recommend temporarily use it to avoid the warnings or ignore the warnings on 8.3 beta if it does not affect your app.

在Firebase 3.16.0(Firebase Core 3.6 + Firebase Analytics 3.8.0)中已修复此问题。

guys, it is all fixed now. Tested it all myself on two projects. You got to go to the correct directory of your project so that your pod spec file is visible to your command line commands, run

pod update

and see it all fixed and working properly!

这些问题已在3.16.0版中解决,并且可能已修复。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM