Skip to content

Commit 7900ee7

Browse files
authored
fix(sample-app): xcode 14 build issues
1 parent 9da4dba commit 7900ee7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

examples/SampleApp/ios/Podfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,15 @@ target 'SampleApp' do
4747
:mac_catalyst_enabled => false
4848
)
4949
__apply_Xcode_12_5_M1_post_install_workaround(installer)
50+
# xcode 14 workaround https://github.com/CocoaPods/CocoaPods/issues/11402#issuecomment-1201464693
51+
installer.pods_project.targets.each do |target|
52+
target.build_configurations.each do |config|
53+
if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle"
54+
target.build_configurations.each do |config|
55+
config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
56+
end
57+
end
58+
end
59+
end
5060
end
5161
end

0 commit comments

Comments
 (0)