Skip to content

Commit 3fd82e9

Browse files
committed
chore: add xcode 14 workaround to whatsapp
1 parent 2a76ac7 commit 3fd82e9

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

projects/WhatsAppClone/ios/Podfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,15 @@ target 'WhatsAppCloneReactNative' do
3939
:mac_catalyst_enabled => false
4040
)
4141
__apply_Xcode_12_5_M1_post_install_workaround(installer)
42+
# xcode 14 workaround https://github.com/CocoaPods/CocoaPods/issues/11402#issuecomment-1201464693
43+
installer.pods_project.targets.each do |target|
44+
target.build_configurations.each do |config|
45+
if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle"
46+
target.build_configurations.each do |config|
47+
config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
48+
end
49+
end
50+
end
51+
end
4252
end
4353
end

0 commit comments

Comments
 (0)