From c7f8a8c290e68b9dd532f9f2dae47099e3fe1ea7 Mon Sep 17 00:00:00 2001 From: Fredrik Orderud Date: Wed, 22 Oct 2025 12:56:04 +0200 Subject: [PATCH] Remove iOS bitcode warning This reverts b33ded1bf3d4766d20c14ae259777fde4dea50bc. Done since the [Xcode 14 Release Notes](https://developer.apple.com/documentation/Xcode-Release-Notes/xcode-14-release-notes) states that bitcode is now deprecated and App Store no longer accepts bitcode submissions from Xcode 14. --- incbin.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/incbin.h b/incbin.h index be065ab..9e0489a 100644 --- a/incbin.h +++ b/incbin.h @@ -161,10 +161,6 @@ #endif #if defined(__APPLE__) -# include -# if defined(TARGET_OS_IPHONE) && !defined(INCBIN_SILENCE_BITCODE_WARNING) -# warning "incbin is incompatible with bitcode. Using the library will break upload to App Store if you have bitcode enabled. Add `#define INCBIN_SILENCE_BITCODE_WARNING` before including this header to silence this warning." -# endif /* The directives are different for Apple branded compilers */ # define INCBIN_SECTION INCBIN_OUTPUT_SECTION "\n" # define INCBIN_GLOBAL(NAME) ".globl " INCBIN_MANGLE INCBIN_STRINGIZE(INCBIN_PREFIX) #NAME "\n"