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

ぐ巨炮叔叔 提交于 2019-11-26 17:34:38

问题


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?


回答1:


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.




回答2:


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.




回答3:


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




回答4:


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!




回答5:


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



来源:https://stackoverflow.com/questions/42268117/how-to-remove-the-xcode-warning-apple-mach-o-linker-warning-pointer-not-aligned

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