Я борелся с этим в течение недели, но я не могу обойти это. I have a MacBook 2017, so Xcode 15.2 is the most recent I can use.
I tried everything:
[*]reinstalling pods
[*]reconfiguring firebase
[*]downgraded firebasesdk
increased ios Target < /li>
и все остальные вещи, которые были актуальны из аналогичных запросов.
# Uncomment this line to define a global platform for your project
platform :ios, '15.0'
#$FirebaseSDKVersion = '10.22.0'
pod 'Firebase/Analytics', :modular_headers => true
pod 'Firebase/Crashlytics', :modular_headers => true
pod 'Firebase/Messaging', :modular_headers => true
pod 'GoogleMaps', :modular_headers => true
pod 'GoogleUtilities', :modular_headers => true
pod 'FirebaseCore', :modular_headers => true
pod 'FirebaseCoreExtension', :modular_headers => true
pod 'FirebaseInstallations', :modular_headers => true
pod 'GoogleDataTransport', :modular_headers => true
pod 'nanopb', :modular_headers => true
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
project 'Runner', {
'Debug' => :debug,
'Profile' => :release,
'Release' => :release,
}
def flutter_root
generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
unless File.exist?(generated_xcode_build_settings_path)
raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
end
File.foreach(generated_xcode_build_settings_path) do |line|
matches = line.match(/FLUTTER_ROOT\=(.*)/)
return matches[1].strip if matches
end
raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
end
require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
flutter_ios_podfile_setup
target 'Runner' do
use_frameworks!
use_modular_headers!
#pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '10.22.0'
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
target 'RunnerTests' do
inherit! :search_paths
end
end
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
end
#installer.pods_project.build_configuration_list.build_configurations.each do |configuration|
# configuration.build_settings['CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES'] = 'YES'
#end
end
< /code>
Ошибки: < /p>
Swift Compiler Error (Xcode): Expressions are not allowed at the top level /FirebaseDataEncoder.swift:2613:0
Swift Compiler Error (Xcode): Consecutive statements on a line must be separated by ';'FirebaseDataEncoder.swift:2613:19
Swift Compiler Error (Xcode): Consecutive declarations on a line must be separated by ';'
/FirebaseDataEncoder.swift:288:63
Swift Compiler Error (Xcode): Expected declaration
FirebaseDataEncoder/FirebaseDataEncoder.swift:288:64
Swift Compiler Error (Xcode): Cannot find type 'sending' in scope
/FirebaseDataEncoder.swift:288:56
Swift Compiler Error (Xcode): Cannot find 'nonisolated' in scope
/FirebaseDataEncoder.swift:2613:0
Swift Compiler Error (Xcode): Cannot find 'unsafe' in scope
/FirebaseDataEncoder.swift:2613:12
Uncategorized (Xcode): Command SwiftEmitModule failed with a nonzero exit code
Я борелся с этим в течение недели, но я не могу обойти это. I have a MacBook 2017, so Xcode 15.2 is the most recent I can use. I tried everything:
[*]reinstalling pods [*]reconfiguring firebase [*]downgraded firebasesdk increased ios Target < /li> и все остальные вещи, которые были актуальны из аналогичных запросов.[code]# Uncomment this line to define a global platform for your project platform :ios, '15.0' #$FirebaseSDKVersion = '10.22.0'
pod 'Firebase/Analytics', :modular_headers => true pod 'Firebase/Crashlytics', :modular_headers => true pod 'Firebase/Messaging', :modular_headers => true pod 'GoogleMaps', :modular_headers => true pod 'GoogleUtilities', :modular_headers => true pod 'FirebaseCore', :modular_headers => true pod 'FirebaseCoreExtension', :modular_headers => true pod 'FirebaseInstallations', :modular_headers => true pod 'GoogleDataTransport', :modular_headers => true pod 'nanopb', :modular_headers => true
def flutter_root generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__) unless File.exist?(generated_xcode_build_settings_path) raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first" end
File.foreach(generated_xcode_build_settings_path) do |line| matches = line.match(/FLUTTER_ROOT\=(.*)/) return matches[1].strip if matches end raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get" end
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) target 'RunnerTests' do inherit! :search_paths end end
post_install do |installer| installer.pods_project.targets.each do |target| flutter_additional_ios_build_settings(target) end #installer.pods_project.build_configuration_list.build_configurations.each do |configuration| # configuration.build_settings['CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES'] = 'YES' #end end < /code> Ошибки: < /p> Swift Compiler Error (Xcode): Expressions are not allowed at the top level /FirebaseDataEncoder.swift:2613:0
Swift Compiler Error (Xcode): Consecutive statements on a line must be separated by ';'FirebaseDataEncoder.swift:2613:19
Swift Compiler Error (Xcode): Consecutive declarations on a line must be separated by ';' /FirebaseDataEncoder.swift:288:63
Swift Compiler Error (Xcode): Expected declaration FirebaseDataEncoder/FirebaseDataEncoder.swift:288:64
Swift Compiler Error (Xcode): Cannot find type 'sending' in scope /FirebaseDataEncoder.swift:288:56
Swift Compiler Error (Xcode): Cannot find 'nonisolated' in scope /FirebaseDataEncoder.swift:2613:0
Swift Compiler Error (Xcode): Cannot find 'unsafe' in scope /FirebaseDataEncoder.swift:2613:12
Uncategorized (Xcode): Command SwiftEmitModule failed with a nonzero exit code [/code] Любой совет, пожалуйста?
Запуск/пользователи/Gabrielgarayh/Documents/Documentos - MacBook Pro/Carpeta Sin Título/Flutter_Application_1/lib/main.dart на iPhone SE (3 -е поколение) в режиме отладки ...
xcode 10,1s
не удалось создать приложение iOS (xcode): Target...
Я работаю над проектом, где мне нужно преобразовать PDF в изображение (для использования в качестве миниатюры). Я использую .NET 8.0 с C# на macOS, и я попробовал несколько библиотек, включая:
Ghostscript
pdfiumviewer (pdfiumrenderer)
pdftoimage...
Я записал пример сценария с помощью пакета Python-A2A и нанести следующую ошибку. Я не уверен, связана ли проблема с конкретной версией пакета.
A2ACalcClient initialized for URL:
Sending calculation request: add(a=5, b=3)
Unexpected response type...
xcode 18.5s
не удалось создать приложение iOS
Вывод ошибок из сборки Xcode:
↳
** Строительная сбоя **
xcode />/var/folders/4r/xqdvxv8555n08dgf320fwsqc0000gn/t/flutter_tools.wnetib/flutter_ios_build_temp_dirajfzvo/temporary_xcresult_bundle
/*...