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

Alexander Huang picture Alexander Huang · Feb 16, 2017 · Viewed 15k times · Source

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

enter image description here

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

Answer

tzm41 picture tzm41 · Mar 27, 2017

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.