Xcode успешно строится, а затем бросает ошибку с указанием недостающих файловIOS

Программируем под IOS
Ответить
Anonymous
 Xcode успешно строится, а затем бросает ошибку с указанием недостающих файлов

Сообщение Anonymous »

re: ios приложение. />/pods/firebasecrashlytics/crashlytics/crashlytics/settings/models/firclsapplicationIdentifierModel.m:19:9 />/pods/posthog/vendor/libwebp/ph_sharpyuv_csp.h /pods/posthog/vendor/libwebp/ph_sharpyuv_csp.h: нет такого файла или каталога

и у меня нет идеи. Настройки/фазы/правила, но это продолжается неоднократно, и невозможно что -то разрабатывать с этим. /> Я все еще продолжаю сталкиваться с одной и той же ошибкой сборки, и это всегда после нескольких сборок, это происходит, ничто не отсутствует раньше, когда проект успешно строит.# Uncomment the next line to define a global platform for your project
platform :ios, '17.0'

def google_utilities
pod 'GoogleUtilities/AppDelegateSwizzler'
pod 'GoogleUtilities/Environment'
pod 'GoogleUtilities/ISASwizzler'
pod 'GoogleUtilities/Logger'
pod 'GoogleUtilities/MethodSwizzler'
pod 'GoogleUtilities/NSData+zlib'
pod 'GoogleUtilities/Network'
pod 'GoogleUtilities/Reachability'
pod 'GoogleUtilities/UserDefaults'
end

target 'SE' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!

# Pods for SE
pod 'Firebase/Core'
pod 'Firebase/Firestore'
pod 'Firebase/Auth'

google_utilities
end

target 'NSE' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!

# Pods for NSE
pod 'Firebase/Messaging'

google_utilities
end

target 'targetApp' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!

#Pods for targetApp
pod 'Firebase/Core'
pod 'Firebase/Crashlytics'
pod 'Firebase/Messaging'
pod 'Firebase/Firestore'
pod 'Firebase/Storage'
pod 'Firebase/Functions'
pod 'PromiseKit', '~> 6.0'
pod 'lottie-ios'
pod 'GooglePlaces'
pod 'JWTDecode', '~> 2.4'
pod 'PostHog'
pod 'Kingfisher', '~> 8.0'
pod 'PhoneNumberKit'

google_utilities

end

post_install do |installer|

installer.aggregate_targets.each do |target|
target.xcconfigs.each do |variant, xcconfig|
xcconfig_path = target.client_root + target.xcconfig_relative_path(variant)
IO.write(xcconfig_path, IO.read(xcconfig_path).gsub("DT_TOOLCHAIN_DIR", "TOOLCHAIN_DIR"))
end
end
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
if config.base_configuration_reference.is_a? Xcodeproj::Project::Object::PBXFileReference
xcconfig_path = config.base_configuration_reference.real_path
IO.write(xcconfig_path, IO.read(xcconfig_path).gsub("DT_TOOLCHAIN_DIR", "TOOLCHAIN_DIR"))
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '17.0'
end
end
end
installer.pods_project.targets.each do |target|
if target.name == 'BoringSSL-GRPC'
target.source_build_phase.files.each do |file|
if file.settings && file.settings['COMPILER_FLAGS']
flags = file.settings['COMPILER_FLAGS'].split
flags.reject! { |flag| flag == '-GCC_WARN_INHIBIT_ALL_WARNINGS' }
file.settings['COMPILER_FLAGS'] = flags.join(' ')
end
end
end
end
end
< /code>
А вот и мой единственный «запуск сценария» на этапах сборки: < /p>
"${PODS_ROOT}/FirebaseCrashlytics/upload-symbols" \
-gsp "${PROJECT_DIR}/targetApp/GoogleService-Info.plist" \
-p ios \
"${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}"


Подробнее здесь: https://stackoverflow.com/questions/795 ... sing-files
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «IOS»