Skip to content

Commit

Permalink
[ios] Turn off signing resource bundles in Xcode 14 (expo#19095)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsapeta authored and Ddv0623 committed Sep 26, 2022
1 parent bdcd40d commit ab18654
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions ios/Podfile
Expand Up @@ -64,6 +64,13 @@ abstract_target 'Expo Go' do
# These actions are specified in `versioned-react-native/ABI*/postinstalls.rb` files.
run_versioned_postinstalls!(pod_name, target_installation_result)

# This is necessary for Xcode 14 that by default signs resource bundles when building for the device.
target_installation_result.resource_bundle_targets.each do |resource_bundle_target|
resource_bundle_target.build_configurations.each do |config|
config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
end
end

target_installation_result.native_target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'

Expand Down
2 changes: 1 addition & 1 deletion ios/Podfile.lock
Expand Up @@ -3493,6 +3493,6 @@ SPEC CHECKSUMS:
Yoga: 7ab6e3ee4ce47d7b789d1cb520163833e515f452
ZXingObjC: fdbb269f25dd2032da343e06f10224d62f537bdb

PODFILE CHECKSUM: 18885815e51de7c824f12bc4f17c9fa541e6d380
PODFILE CHECKSUM: fb67edc6caee3fe9ca9ccd657f8bf43867f15a0e

COCOAPODS: 1.11.2

0 comments on commit ab18654

Please sign in to comment.