You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've found that when I include a test target with KZBootstrap, The test target fails to compile, because many of the XCTest classes (like XCAbstractTest) are using #import instead of the module import (@). These are warnings from the compiler, but with "Treat Warnings As Errors" turned on, they stop the compilation. I can't figure out which warning flag I'd need to disable.
I notice that when I remove -Weverything from the test target's warning flags setting, the warnings disappear. I can even use -Wall and -Wextra, and everything builds nicely. Does anyone know if there is a specific warning flag I could turn off to stop the compiler from worrying about this? I've looked for it, but I can't figure out which one it might be. Where might I look?
OR; have I messed something up in the Podfile? I've seen this in two separate projects when trying to get KZBootstrap set up, but it could be something in MY configuration that's causing problems.
The text was updated successfully, but these errors were encountered:
I've found that when I include a test target with KZBootstrap, The test target fails to compile, because many of the XCTest classes (like XCAbstractTest) are using #import instead of the module import (@). These are warnings from the compiler, but with "Treat Warnings As Errors" turned on, they stop the compilation. I can't figure out which warning flag I'd need to disable.
I notice that when I remove -Weverything from the test target's warning flags setting, the warnings disappear. I can even use -Wall and -Wextra, and everything builds nicely. Does anyone know if there is a specific warning flag I could turn off to stop the compiler from worrying about this? I've looked for it, but I can't figure out which one it might be. Where might I look?
OR; have I messed something up in the Podfile? I've seen this in two separate projects when trying to get KZBootstrap set up, but it could be something in MY configuration that's causing problems.
Reply to this email directly or view it on GitHub: #17
I've found that when I include a test target with KZBootstrap, The test target fails to compile, because many of the XCTest classes (like XCAbstractTest) are using #import instead of the module import (@). These are warnings from the compiler, but with "Treat Warnings As Errors" turned on, they stop the compilation. I can't figure out which warning flag I'd need to disable.
I notice that when I remove
-Weverything
from the test target's warning flags setting, the warnings disappear. I can even use-Wall
and-Wextra
, and everything builds nicely. Does anyone know if there is a specific warning flag I could turn off to stop the compiler from worrying about this? I've looked for it, but I can't figure out which one it might be. Where might I look?OR; have I messed something up in the Podfile? I've seen this in two separate projects when trying to get KZBootstrap set up, but it could be something in MY configuration that's causing problems.
The text was updated successfully, but these errors were encountered: