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

IosXcodeCocoapodsWarnings

Ios Problem Overview


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?

Ios Solutions


Solution 1 - Ios

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.

Solution 2 - Ios

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.

Solution 3 - Ios

This has been fixed in Firebase 3.16.0 (Firebase Core 3.6 + Firebase Analytics 3.8.0)

Solution 4 - Ios

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!

Solution 5 - Ios

These problems are addressed, and likely fixed, with release 3.16.0.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionAlexander HuangView Question on Stackoverflow
Solution 1 - Iostzm41View Answer on Stackoverflow
Solution 2 - IoskballView Answer on Stackoverflow
Solution 3 - IosadbitxView Answer on Stackoverflow
Solution 4 - IosDidoView Answer on Stackoverflow
Solution 5 - IosJonnyView Answer on Stackoverflow