Skip to content

Commit 85eaf11

Browse files
authored
ci: fix build (#143)
1 parent 9f1e8cc commit 85eaf11

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

ci/ios/Podfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,18 @@ target 'ci' do
5656
:mac_catalyst_enabled => false
5757
)
5858
__apply_Xcode_12_5_M1_post_install_workaround(installer)
59+
60+
installer.pods_project.build_configurations.each do |config|
61+
installer.pods_project.targets.each do |target|
62+
if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle"
63+
config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
64+
end
65+
end
66+
67+
# Set the preprocessing macro for the whole Pods project
68+
existing_flags = config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)']
69+
existing_flags << '_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION'
70+
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] = existing_flags
71+
end
5972
end
6073
end

0 commit comments

Comments
 (0)