Skip to content

Commit

Permalink
rebuild test ios app folder
Browse files Browse the repository at this point in the history
  • Loading branch information
stevensJourney committed Jan 23, 2025
1 parent 8226d1e commit d90b869
Show file tree
Hide file tree
Showing 16 changed files with 374 additions and 410 deletions.
15 changes: 4 additions & 11 deletions tests/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@ podfile_properties = JSON.parse(File.read(File.join(__dir__, 'Podfile.properties
ENV['RCT_NEW_ARCH_ENABLED'] = podfile_properties['newArchEnabled'] == 'true' ? '1' : '0'
ENV['EX_DEV_CLIENT_NETWORK_INSPECTOR'] = podfile_properties['EX_DEV_CLIENT_NETWORK_INSPECTOR']

platform :ios, podfile_properties['ios.deploymentTarget'] || '16.0'
platform :ios, podfile_properties['ios.deploymentTarget'] || '15.1'
install! 'cocoapods',
:deterministic_uuids => false

prepare_react_native_project!
use_modular_headers!

target 'tests' do
use_expo_modules!
Expand Down Expand Up @@ -42,13 +41,15 @@ target 'tests' do
:hermes_enabled => podfile_properties['expo.jsEngine'] == nil || podfile_properties['expo.jsEngine'] == 'hermes',
# An absolute path to your application root.
:app_path => "#{Pod::Config.instance.installation_root}/..",
:privacy_file_aggregation_enabled => podfile_properties['apple.privacyManifestAggregationEnabled'] != 'false',
)

post_install do |installer|
react_native_post_install(
installer,
config[:reactNativePath],
:mac_catalyst_enabled => false
:mac_catalyst_enabled => false,
:ccache_enabled => podfile_properties['apple.ccacheEnabled'] == 'true',
)

# This is necessary for Xcode 14, because it signs resource bundles by default
Expand All @@ -62,12 +63,4 @@ target 'tests' do
end
end
end

post_integrate do |installer|
begin
expo_patch_react_imports!(installer)
rescue => e
Pod::UI.warn e
end
end
end
Loading

0 comments on commit d90b869

Please sign in to comment.