@@ -106,7 +106,6 @@ class BoostConan(ConanFile):
106
106
"buildid" : "ANY" ,
107
107
"python_buildid" : "ANY" ,
108
108
"system_use_utf8" : [True , False ],
109
- "embed_bitcode" : [True , False ], # enables embedding bitcode for iOS
110
109
}
111
110
options .update ({f"without_{ _name } " : [True , False ] for _name in CONFIGURE_OPTIONS })
112
111
@@ -145,7 +144,6 @@ class BoostConan(ConanFile):
145
144
"buildid" : None ,
146
145
"python_buildid" : None ,
147
146
"system_use_utf8" : False ,
148
- "embed_bitcode" : True ,
149
147
}
150
148
default_options .update ({f"without_{ _name } " : False for _name in CONFIGURE_OPTIONS })
151
149
default_options .update ({f"without_{ _name } " : True for _name in ("graph_parallel" , "mpi" , "python" )})
@@ -291,11 +289,6 @@ def config_options(self):
291
289
self .options .without_json = True
292
290
self .options .without_nowide = True
293
291
294
- # bitcode is deprecated in Xcode 14, and the AppStore will not accept submissions from Xcode 14 with bitcode enabled
295
- # https://developer.apple.com/documentation/xcode-release-notes/xcode-14-release-notes
296
- if not is_apple_os (self ) or Version (self .settings .compiler .version ) >= 14.0 :
297
- del self .options .embed_bitcode
298
-
299
292
# iconv is off by default on Windows and Solaris
300
293
if self ._is_windows_platform or self .settings .os == "SunOS" :
301
294
self .options .i18n_backend_iconv = "off"
@@ -1116,7 +1109,7 @@ def add_defines(library):
1116
1109
if self .options .multithreading :
1117
1110
cxx_flags .append ("-DBOOST_SP_USE_SPINLOCK" )
1118
1111
1119
- if "embed_bitcode" in self .options and self . options . embed_bitcode :
1112
+ if self .conf . get ( "tools.apple:enable_bitcode" , check_type = bool ) :
1120
1113
cxx_flags .append ("-fembed-bitcode" )
1121
1114
1122
1115
if self ._with_iconv :
0 commit comments