Архив не включал DSYM для Hermes.framework с
uuids [b7abe37e-553e-3465-82ba-50ca. Убедитесь, что папка DSYM Archive
включает в себя файл карлика для Hermes.FrameWork с
ожидаемыми UUIDS. < /P>
< /blockquote>
Я проверяю в Интернете, но не найдено решение < /p>
ниже, но my podfile < /p>
ниже < /p>
ниже < /p>
ниже.# Transform this into a `node_require` generic function:
def node_require(script)
# Resolve script with node to allow for hoisting
require Pod::Executable.execute_command('node', ['-p',
"require.resolve(
'#{script}',
{paths: [process.argv[1]]},
)", __dir__]).strip
end
# Use it to require both react-native's and this package'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.puts "Configuring Pod with #{linkage}ally linked Frameworks".green
use_frameworks! :linkage => linkage.to_sym
end
target '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.instance.installation_root}/.."
)
#
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'
target 'UNFAppTests' do
inherit! :complete
end
bitcode_strip_path = `xcrun --find bitcode_strip`.chop!
def strip_bitcode_from_framework(bitcode_strip_path, framework_relative_path)
framework_path = File.join(Dir.pwd, framework_relative_path)
command = "#{bitcode_strip_path} #{framework_path} -r -o #{framework_path}"
puts "Stripping bitcode: #{command}"
system(command)
end
hermes_framework_path = "#{Pod::Config.instance.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.each do |framework_relative_path|
strip_bitcode_from_framework(bitcode_strip_path, framework_relative_path)
end
# framework_paths.each do |framework_relative_path|
# strip_bitcode_from_framework(bitcode_strip_path, framework_relative_path)
# end
post_install do |installer|
react_native_post_install(
installer,
config[:reactNativePath],
:mac_catalyst_enabled => false
)
installer.pods_project.targets.each do |target|
if target.name == 'hermes-engine'
target.build_configurations.each do |config|
config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64'
end
end
end
__apply_Xcode_12_5_M1_post_install_workaround(installer)
end
end
< /code>
Ниже приведена моя собственная версия React < /p>
"react": "18.2.0",
"react-native": "0.72.0",
Подробнее здесь: https://stackoverflow.com/questions/793 ... uuids-some