Skip to content

Commit

Permalink
build: workaround for xcode 14
Browse files Browse the repository at this point in the history
  • Loading branch information
Bibazavr committed Sep 15, 2022
1 parent c9cba5d commit ff9f77b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 25,886 deletions.
10 changes: 10 additions & 0 deletions ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,15 @@ target 'MobyDick' do
post_install do |installer|
react_native_post_install(installer)
__apply_Xcode_12_5_M1_post_install_workaround(installer)

# https://github.com/CocoaPods/CocoaPods/issues/11402#issuecomment-1201464693
installer.pods_project.targets.each do |target|
if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle"
target.build_configurations.each do |config|
config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
end
end
end

end
end
2 changes: 1 addition & 1 deletion ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -924,6 +924,6 @@ SPEC CHECKSUMS:
Yoga: 6671cf077f614314c22fd09ddf87d7abeee64e96
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a

PODFILE CHECKSUM: 9f2f0c8dadb26efbf7a547345a1a54daca08b803
PODFILE CHECKSUM: 5d714ecf5c0263082aff4d66b034279ebbeeae8c

COCOAPODS: 1.11.3
Loading

0 comments on commit ff9f77b

Please sign in to comment.