问题
In my current Swift project, I have a 3rd party static library, added through the Build Phases > "Link Binary With Libraries" section.
After updating to xcode 8.3, this library started throwing some linker warnings (e.g.: pointer not aligned at address 0x00000 from libraryFile.a)
As pointed out by other answers (https://stackoverflow.com/a/8580123/2754958 and https://stackoverflow.com/a/6921972/2754958), the compiler warnings could be ignored by adding a flag to the library code.
However, in my case, the libraries are static, and the warning are from the linker. Is there a way to disable linker warning from static 3rd party libraries on xcode?
来源:https://stackoverflow.com/questions/43261876/how-to-disable-linker-warnings-from-static-libraries-on-xcode