如何删除Xcode警告Apple Mach-O链接器警告'指针未在地址对齐 [英] How to remove the Xcode warning Apple Mach-O Linker Warning 'Pointer not aligned at address

查看:161
本文介绍了如何删除Xcode警告Apple Mach-O链接器警告'指针未在地址对齐的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

构建我的Xcode项目时遇到一个小问题,在更新pod后得到警告音。它看起来像这样

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个字节,并且假设可能会影响性能。
更新到Xcode 8.3公开发布后,我仍然看到此错误,因此Google可能需要使用不同的设置编译静态库以使其消失。

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.

这篇关于如何删除Xcode警告Apple Mach-O链接器警告'指针未在地址对齐的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆