i’m going through situation when importing archive file from xcode to apple app retailer in react native venture
The archive didn’t embody a dSYM for the hermes.framework with the
UUIDs [B7ABE37E-553E-3465-82BA-50EFAA0CB16C]. Be sure that the
archive’s dSYM folder features a DWARF file for hermes.framework with
the anticipated UUIDs.
i test on web however no answer discovered
beneath is my podfile
# Remodel this right into a `node_require` generic operate:
def node_require(script)
# Resolve script with node to permit for hoisting
require Pod::Executable.execute_command('node', ['-p',
"require.resolve(
'#{script}',
{paths: [process.argv[1]]},
)", __dir__]).strip
finish
# Use it to require each react-native's and this bundle's scripts:
node_require('react-native/scripts/react_native_pods.rb')
node_require('react-native-permissions/scripts/setup.rb')
platform :ios, '13.4'
prepare_react_native_project!
flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled
linkage = ENV['USE_FRAMEWORKS']
if linkage != nil
Pod::UI.places "Configuring Pod with #{linkage}ally linked Frameworks".inexperienced
use_frameworks! :linkage => linkage.to_sym
finish
goal 'UNFApp' do
config = use_native_modules!
flags = get_default_flags()
flags[:hermes_enabled] = true
use_react_native!(
:path => config[:reactNativePath],
:fabric_enabled => flags[:fabric_enabled],
:flipper_configuration => flipper_config,
:app_path => "#{Pod::Config.occasion.installation_root}/.."
)
# ⬇️ Add the permissions you want
setup_permissions([
'LocationWhenInUse', # Location access when the app is in use
'LocationAlways',
])
pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons'
pod 'RNReanimated', :path => '../node_modules/react-native-reanimated'
pod 'GoogleUtilities', :modular_headers => true
pod 'react-native-maps', :path => '../node_modules/react-native-maps'
pod 'react-native-google-maps', :path => '../node_modules/react-native-maps'
goal 'UNFAppTests' do
inherit! :full
finish
bitcode_strip_path = `xcrun --find bitcode_strip`.chop!
def strip_bitcode_from_framework(bitcode_strip_path, framework_relative_path)
framework_path = File.be part of(Dir.pwd, framework_relative_path)
command = "#{bitcode_strip_path} #{framework_path} -r -o #{framework_path}"
places "Stripping bitcode: #{command}"
system(command)
finish
hermes_framework_path = "#{Pod::Config.occasion.installation_root}/Pods/hermes-engine/destroot/Library/Frameworks"
framework_paths = [
"#{hermes_framework_path}/universal/hermes.xcframework/ios-arm64/hermes.framework/hermes",
"#{hermes_framework_path}/universal/hermes.xcframework/ios-arm64_x86_64-maccatalyst/hermes.framework/hermes"
]
bitcode_strip_path = `xcrun --find bitcode_strip`.chop!
framework_paths.every do |framework_relative_path|
strip_bitcode_from_framework(bitcode_strip_path, framework_relative_path)
finish
# framework_paths.every do |framework_relative_path|
# strip_bitcode_from_framework(bitcode_strip_path, framework_relative_path)
# finish
post_install do |installer|
react_native_post_install(
installer,
config[:reactNativePath],
:mac_catalyst_enabled => false
)
installer.pods_project.targets.every do |goal|
if goal.title == 'hermes-engine'
goal.build_configurations.every do |config|
config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64'
finish
finish
finish
__apply_Xcode_12_5_M1_post_install_workaround(installer)
finish
finish
beneath are my react native model
"react": "18.2.0",
"react-native": "0.72.0",