После обновления до Xcode 15 я получаю следующую ошибку в моем реагирующем приложении при попытке его сборки.
clang: error: SDK does not contain 'libarclite' at the path '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a'; try increasing the minimum deployment target
Минимальная цель развертывания — 13.0
это мой подфайл
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
$RNMapboxMapsImpl = 'mapbox'
platform :ios, '13.0'
target 'MyProject' do
config = use_native_modules!
use_react_native!(
:path => config[:reactNativePath],
# to enable hermes on iOS, change `false` to `true` and then install pods
:hermes_enabled => false
)
# ADDED BY ME
def __apply_Xcode_14_3_RC_post_install_workaround(installer)
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
current_target = config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
# minimum_target = 13.0
# if current_target.to_f < minimum_target.to_f
# config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = minimum_target
# end
end
end
end
# ADDED Y ME TO FINSH HE ISSUE
pod 'Google-Mobile-Ads-SDK' ,"9.14.0"
pod 'GoogleMobileAdsMediationFacebook','6.11.0.0'
permissions_path = '../node_modules/react-native-permissions/ios'
pod 'RNIap', :path => '../node_modules/react-native-iap'
# permissions
pod 'Permission-AppTrackingTransparency', :path => "#{permissions_path}/AppTrackingTransparency"
pod 'Permission-LocationWhenInUse', :path => "#{permissions_path}/LocationWhenInUse"
pod 'Permission-Contacts', :path => "#{permissions_path}/Contacts"
pod 'Permission-LocationAccuracy', :path => "#{permissions_path}/LocationAccuracy"
pod 'Permission-LocationAlways', :path => "#{permissions_path}/LocationAlways"
pod 'react-native-contacts', :path => '../node_modules/react-native-contacts'
pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons'
pod 'RNExitApp', :path => '../node_modules/react-native-exit-app'
target 'NumberLocatorTests' do
inherit! :complete
# Pods for testing
end
# Enables Flipper.
#
# Note that if you have use_frameworks! enabled, Flipper will not work and
# you should disable the next line.
#use_flipper!()
pre_install do |installer|
$RNMBGL.pre_install(installer)
end
post_install do |installer|
react_native_post_install(installer)
$RNMBGL.post_install(installer)
__apply_Xcode_12_5_M1_post_install_workaround(installer)
__apply_Xcode_14_3_RC_post_install_workaround(installer)
end
end
Вот мой файл package.json
"react": "17.0.2",
"react-native": "0.66.1",
Подробнее здесь: https://stackoverflow.com/questions/771 ... t-the-path
Clang: ошибка: SDK не содержит «libarclite» по пути ⇐ IOS
Программируем под IOS
-
Anonymous
1716720562
Anonymous
После обновления до Xcode 15 я получаю следующую ошибку в моем реагирующем приложении при попытке его сборки.
clang: error: SDK does not contain 'libarclite' at the path '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a'; try increasing the minimum deployment target
Минимальная цель развертывания — 13.0
это мой подфайл
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
$RNMapboxMapsImpl = 'mapbox'
platform :ios, '13.0'
target 'MyProject' do
config = use_native_modules!
use_react_native!(
:path => config[:reactNativePath],
# to enable hermes on iOS, change `false` to `true` and then install pods
:hermes_enabled => false
)
# ADDED BY ME
def __apply_Xcode_14_3_RC_post_install_workaround(installer)
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
current_target = config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
# minimum_target = 13.0
# if current_target.to_f < minimum_target.to_f
# config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = minimum_target
# end
end
end
end
# ADDED Y ME TO FINSH HE ISSUE
pod 'Google-Mobile-Ads-SDK' ,"9.14.0"
pod 'GoogleMobileAdsMediationFacebook','6.11.0.0'
permissions_path = '../node_modules/react-native-permissions/ios'
pod 'RNIap', :path => '../node_modules/react-native-iap'
# permissions
pod 'Permission-AppTrackingTransparency', :path => "#{permissions_path}/AppTrackingTransparency"
pod 'Permission-LocationWhenInUse', :path => "#{permissions_path}/LocationWhenInUse"
pod 'Permission-Contacts', :path => "#{permissions_path}/Contacts"
pod 'Permission-LocationAccuracy', :path => "#{permissions_path}/LocationAccuracy"
pod 'Permission-LocationAlways', :path => "#{permissions_path}/LocationAlways"
pod 'react-native-contacts', :path => '../node_modules/react-native-contacts'
pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons'
pod 'RNExitApp', :path => '../node_modules/react-native-exit-app'
target 'NumberLocatorTests' do
inherit! :complete
# Pods for testing
end
# Enables Flipper.
#
# Note that if you have use_frameworks! enabled, Flipper will not work and
# you should disable the next line.
#use_flipper!()
pre_install do |installer|
$RNMBGL.pre_install(installer)
end
post_install do |installer|
react_native_post_install(installer)
$RNMBGL.post_install(installer)
__apply_Xcode_12_5_M1_post_install_workaround(installer)
__apply_Xcode_14_3_RC_post_install_workaround(installer)
end
end
Вот мой файл package.json
"react": "17.0.2",
"react-native": "0.66.1",
Подробнее здесь: [url]https://stackoverflow.com/questions/77139617/clang-error-sdk-does-not-contain-libarclite-at-the-path[/url]
Ответить
1 сообщение
• Страница 1 из 1
Перейти
- Кемерово-IT
- ↳ Javascript
- ↳ C#
- ↳ JAVA
- ↳ Elasticsearch aggregation
- ↳ Python
- ↳ Php
- ↳ Android
- ↳ Html
- ↳ Jquery
- ↳ C++
- ↳ IOS
- ↳ CSS
- ↳ Excel
- ↳ Linux
- ↳ Apache
- ↳ MySql
- Детский мир
- Для души
- ↳ Музыкальные инструменты даром
- ↳ Печатная продукция даром
- Внешняя красота и здоровье
- ↳ Одежда и обувь для взрослых даром
- ↳ Товары для здоровья
- ↳ Физкультура и спорт
- Техника - даром!
- ↳ Автомобилистам
- ↳ Компьютерная техника
- ↳ Плиты: газовые и электрические
- ↳ Холодильники
- ↳ Стиральные машины
- ↳ Телевизоры
- ↳ Телефоны, смартфоны, плашеты
- ↳ Швейные машинки
- ↳ Прочая электроника и техника
- ↳ Фототехника
- Ремонт и интерьер
- ↳ Стройматериалы, инструмент
- ↳ Мебель и предметы интерьера даром
- ↳ Cантехника
- Другие темы
- ↳ Разное даром
- ↳ Давай меняться!
- ↳ Отдам\возьму за копеечку
- ↳ Работа и подработка в Кемерове
- ↳ Давай с тобой поговорим...
Мобильная версия