Skip to content

Instantly share code, notes, and snippets.

@michaelbartnett
Created February 25, 2020 10:12
Show Gist options
  • Save michaelbartnett/e4d3fbb1842bd4e9536708d8f55e61d8 to your computer and use it in GitHub Desktop.
Save michaelbartnett/e4d3fbb1842bd4e9536708d8f55e61d8 to your computer and use it in GitHub Desktop.
list of xcode warnings it complained about bc premake5's xcode generator is out of date
xcodeprojectopts {
-- MACOSX_DEPLOYMENT_TARGET="10.6",
-- -- ALWAYS_SEARCH_USER_PATHS = "YES",
-- ONLY_ACTIVE_ARCH = "YES",
-- ENABLE_TESTABILITY = "YES",
-- CLANG_WARN_INFINITE_RECURSION = "YES",
-- CLANG_WARN_UNREACHABLE_CODE = "YES",
-- GCC_WARN_UNUSED_FUNCTION = "YES",
-- GCC_WARN_UNINITIALIZED_AUTOS = "YES",
-- CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = "YES",
-- CLANG_WARN__DUPLICATE_METHOD_MATCH = "YES",
-- CLANG_WARN_EMPTY_BODY = "YES",
-- ENABLE_STRICT_OBJC_MSGSEND = "YES",
-- CLANG_WARN_BOOL_CONVERSION = "YES",
-- CLANG_WARN_CONSTANT_CONVERSION = "YES",
-- GCC_WARN_64_TO_32_BIT_CONVERSION = "YES",
-- CLANG_WARN_ENUM_CONVERSION = "YES",
-- CLANG_WARN_INT_CONVERSION = "YES",
-- CLANG_WARN_NON_LITERAL_NULL_CONVERSION = "YES",
-- CLANG_WARN_OBJC_LITERAL_CONVERSION = "YES",
-- GCC_NO_COMMON_BLOCKS = "YES",
-- CLANG_WARN_RANGE_LOOP_ANALYSIS = "YES",
-- CLANG_WARN_STRICT_PROTOTYPES = "YES",
-- CLANG_WARN_COMMA = "YES",
-- CLANG_WARN_SUSPICIOUS_MOVE = "YES",
-- GCC_WARN_UNDECLARED_SELECTOR = "YES",
CLANG_ENABLE_OBJC_WEAK = "YES",
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = "YES",
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = "YES",
MACOSX_DEPLOYMENT_TARGET="10.13",
CLANG_CXX_LIBRARY = "libc++",
}
xcodetargetopts {
CODE_SIGN_IDENTITY = "-",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment