admin管理员组文章数量:1403217
My app is building just fine on my Windows machine, but trying to build the same code on Mac causes a ton of errors lately. The title does not quite grasp the problem, since the error log is a mile long and changes with every fix I am attempting. I have been trying to fix this for days now and went so far as to reset my whole Macbook to factory settings and start with a fresh install of XCode and Flutter.. to no avail.
So I reverted my code to a version from days ago when it was definitely still building, and tried to build that. Still without success (which tells me it might have to do smth with the latest Flutter version?)
The latest thing I did was this:
flutter run
Error: Something with Firebase_core being locked to 11.7. in podfile.lock while pubspec was pointing to 11.8 (or simliar)
So I deleted the podfile.lock and did
pod cache clean --all pod install
flutter run
then I got this error:
Pod installation complete! There are 22 dependencies from the Podfile and 45 total pods installed.
[!] CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the target `Runner` to `Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig` or include the `Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig` in your build configuration (`Flutter/Release.xcconfig`).
So I opened XCode, went to the Runner settings and set all Configurations to "none", then did "pod install" again, with success.
flutter run
now I get this (I am only posting about 20% of it because of character limits and repetition):
Launching lib/main.dart on iPhone 16 in debug mode...
Running pod install...
Running Xcode build...
Xcode build done. 1117.6s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
Writing result bundle at path:
/var/folders/8j/3dnm56y145j7j2jr_lgk0vdc0000gn/T/flutter_tools.v7jsSL/flutter_ios_build_temp_dirr4VQPW/temporary_xcresult_bundle
/Users/username/.pub-cache/hosted/pub.dev/flutter_tts-4.2.2/ios/Classes/SwiftFlutterTtsPlugin.swift:10:7: warning: stored property 'synthesizer' of 'Sendable'-conforming class 'SwiftFlutterTtsPlugin' has non-sendable type 'AVSpeechSynthesizer'; this is an error in the Swift 6 language mode
let synthesizer = AVSpeechSynthesizer()
^
AVFAudio.AVSpeechSynthesizer:2:12: note: class 'AVSpeechSynthesizer' does not conform to the 'Sendable' protocol
open class AVSpeechSynthesizer : NSObject {
^
/Users/username/.pub-cache/hosted/pub.dev/flutter_tts-4.2.2/ios/Classes/SwiftFlutterTtsPlugin.swift:10:7: warning: stored property 'synthesizer' of 'Sendable'-conforming class 'SwiftFlutterTtsPlugin' has non-sendable type 'AVSpeechSynthesizer'; this is an error in the Swift 6 language mode
let synthesizer = AVSpeechSynthesizer()
^
AVFAudio.AVSpeechSynthesizer:2:12: note: class 'AVSpeechSynthesizer' does not conform to the 'Sendable' protocol
open class AVSpeechSynthesizer : NSObject {
^
ld: warning: ignoring duplicate libraries: '-lc++'
ld: warning: ignoring duplicate libraries: '-lc++'
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/webview_flutter_wkwebview-umbrella.h"
^
/Users/username/StudioProjects/project/ios/Pods/Target Support Files/webview_flutter_wkwebview/webview_flutter_wkwebview-umbrella.h:17:1: warning: umbrella header for module 'webview_flutter_wkwebview' does not include header 'FWFHTTPCookieStoreHostApi.h'
^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/webview_flutter_wkwebview-umbrella.h"
^
/Users/username/StudioProjects/project/ios/Pods/Target Support Files/webview_flutter_wkwebview/webview_flutter_wkwebview-umbrella.h:17:1: warning: umbrella header for module 'webview_flutter_wkwebview' does not include header 'FWFWebsiteDataStoreHostApi.h'
^
ld: warning: ignoring duplicate libraries: '-lc++'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -cc1 -Wundef-prefix\=TARGET_OS_ -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -ferror-limit 19 -serialize-diagnostic-file /Users/username/Library/Developer/Xcode/DerivedData/Runner-abwawhjbntschpadkuacalirnvsi/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/purchases_flutter.build/Objects-normal/arm64/PurchasesFlutterPlugin.dia -Wdeprecated-objc-isa-usage -Werror\=deprecated-objc-isa-usage -Werror\=implicit-function-declaration -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Werror\=return-type -Wdocumentation -Wunreachable-code -Wno-implicit-atomic-properties -Werror\=deprecated-objc-isa-usage -Wno-objc-interface-ivars -Werror\=objc-root-class -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -Wno-implicit-fallthrough -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -Wunguarded-availability -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-c99-designator -Wno-final-dtor-non-final-class -Wno-extra-semi-stmt -Wno-misleading-indentation -Wno-quoted-include-in-framework-header -Wno-implicit-fallthrough -Wno-enum-enum-conversion -Wno-enum-float-conversion -Wno-elaborated-enum-base -Wno-reserved-identifier -Wno-gnu-folding-constant -fmodule-map-file\=/Users/username/StudioProjects/project/build/ios/Debug-iphonesimulator/purchases_flutter/purchases_flutter.framework/Modules/module.modulemap -fmodule-map-file\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/UIKit.framework/Modules/module.modulemap -fmodule-map-file\=/Users/username/Developer/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Modules/module.modulemap -fmodule-map-file\=/Users/username/StudioProjects/project/build/ios/Debug-iphonesimulator/RevenueCat/RevenueCat.framework/Modules/module.modulemap -fmodule-map-file\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/StoreKit.framework/Modules/module.modulemap -fmodule-map-file\=/Users/username/StudioProjects/project/build/ios/Debug-iphonesimulator/PurchasesHybridCommon/PurchasesHybridCommon.framework/Modules/module.modulemap -o /Users/username/Library/Developer/Xcode/DerivedData/Runner-abwawhjbntschpadkuacalirnvsi/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/purchases_flutter.build/Objects-normal/arm64/PurchasesFlutterPlugin.o -disable-free -emit-obj -x objective-c /Users/username/.pub-cache/hosted/pub.dev/purchases_flutter-8.6.1/ios/Classes/PurchasesFlutterPlugin.m -target-abi darwinpcs -target-cpu apple-m1 -target-feature +v8.5a -target-feature +aes -target-feature +crc -target-feature +dotprod -target-feature +fp-armv8 -target-feature +fp16fml -target-feature +lse -target-feature +ras -target-feature +rcpc -target-feature +rdm -target-feature +sha2 -target-feature +sha3 -target-feature +neon -target-feature +zcm -target-feature +zcz -target-feature +fullfp16 -triple arm64-apple-ios13.0.0-simulator -target-linker-version 1115.7.3 -target-sdk-version\=18.2 -fmodules-validate-system-headers -fno-modulemap-allow-subdirectory-search -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.2.sdk -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/16 -fmodule-format\=obj -fmodule-file\=Flutter\=/Users/username/Library/Developer/Xcode/DerivedData/Runner-abwawhjbntschpadkuacalirnvsi/Build/Intermediates.noindex/ExplicitPrecompiledModules/Flutter-7IYZXL3AZNPZN2K1ZU51MFQFI.pcm -fmodule-file\=PurchasesHybridCommon\=/Users/username/Library/Developer/Xcode/DerivedData/Runner-abwawhjbntschpadkuacalirnvsi/Build/Intermediates.noindex/ExplicitPrecompiledModules/PurchasesHybridCommon-N0F3HWQXGPQ7B3QJAZ5Z1YY6.pcm -fmodule-file\=RevenueCat\=/Users/username/Library/Developer/Xcode/DerivedData/Runner-abwawhjbntschpadkuacalirnvsi/Build/Intermediates.noindex/ExplicitPrecompiledModules/RevenueCat-AN3A5RO3WZKC5W5D99SKPHAER.pcm -fmodule-file\=StoreKit\=/Users/username/Library/Developer/Xcode/DerivedData/Runner-abwawhjbntschpadkuacalirnvsi/Build/Intermediates.noindex/ExplicitPrecompiledModules/StoreKit-2AAF1MNHCONP64B69OZGZ8XGE.pcm -fmodule-file\=UIKit\=/Users/username/Library/Developer/Xcode/DerivedData/Runner-abwawhjbntschpadkuacalirnvsi/Build/Intermediates.noindex/ExplicitPrecompiledModules/UIKit-2SC4I5C2NSBZSDRPWG9NECUV3.pcm -I /Users/username/Library/Developer/Xcode/DerivedData/Runner-abwawhjbntschpadkuacalirnvsi/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/purchases_flutter.build/purchases_flutter-own-target-headers.hmap -I /Users/username/Library/Developer/Xcode/DerivedData/Runner-abwawhjbntschpadkuacalirnvsi/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/purchases_flutter.build/purchases_flutter-all-non-framework-target-headers.hmap -I /Users/username/StudioProjects/project/build/ios/Debug-iphonesimulator/purchases_flutter/include -I /Users/username/Library/Developer/Xcode/DerivedData/Runner-abwawhjbntschpadkuacalirnvsi/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/purchases_flutter.build/DerivedSources-normal/arm64 -I /Users/username/Library/Developer/Xcode/DerivedData/Runner-abwawhjbntschpadkuacalirnvsi/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/purchases_flutter.build/DerivedSources/arm64 -I /Users/username/Library/Developer/Xcode/DerivedData/Runner-abwawhjbntschpadkuacalirnvsi/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/purchases_flutter.build/DerivedSources -F /Users/username/StudioProjects/project/build/ios/Debug-iphonesimulator/purchases_flutter -F /Users/username/Developer/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator -F /Users/username/StudioProjects/project/build/ios/Debug-iphonesimulator/PurchasesHybridCommon -F /Users/username/StudioProjects/project/build/ios/Debug-iphonesimulator/RevenueCat -iquote /Users/username/Library/Developer/Xcode/DerivedData/Runner-abwawhjbntschpadkuacalirnvsi/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/purchases_flutter.build/purchases_flutter-generated-files.hmap -iquote /Users/username/Library/Developer/Xcode/DerivedData/Runner-abwawhjbntschpadkuacalirnvsi/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/purchases_flutter.build/purchases_flutter-project-headers.hmap -isystem /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.2.sdk/usr/local/include -isystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/16/include -internal-externc-isystem /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.2.sdk/usr/include -internal-externc-isystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -ivfsstatcache /Users/username/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphonesimulator18.2-22C146-07b28473f605e47e75261259d3ef3b5a.sdkstatcache -ivfsoverlay /Users/username/Library/Developer/Xcode/DerivedData/Runner-abwawhjbntschpadkuacalirnvsi/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Pods-8699adb1dd336b26511df848a716bd42-VFS-iphonesimulator/all-product-headers.yaml -std\=gnu11 -fexceptions -fmodules -fmodule-name\=purchases_flutter -fno-implicit-modules -fobjc-exceptions -fmax-type-align\=16 -fpascal-strings -fvisibility-inlines-hidden-static-local-var -mdarwin-stkchk-strong-link -fno-odr-hash-protocols -pic-level 2 -fencode-extended-block-signature -stack-protector 1 -fobjc-runtime\=ios-13.0.0 -fobjc-arc -fobjc-runtime-has-weak -fobjc-weak -fgnuc-version\=4.2.1 -fblocks -ffp-contract\=on -fclang-abi-compat\=4.0 -fno-experimental-relative-c++-abi-vtables -fno-file-reproducible -clang-vendor-feature\=+disableNonDependentMemberExprInCurrentInstantiation -clang-vendor-feature\=+enableAggressiveVLAFolding -clang-vendor-feature\=+revert09abecef7bbf -clang-vendor-feature\=+thisNoAlignAttr -clang-vendor-feature\=+thisNoNullAttr -clang-vendor-feature\=+disableAtImportPrivateFrameworkInImplementationError -O0 -fdebug-compilation-dir\=/Users/username/StudioProjects/project/ios/Pods -fcoverage-compilation-dir\=/Users/username/StudioProjects/project/ios/Pods -fobjc-msgsend-selector-stubs -fregister-global-dtors-with-atexit -fno-strict-return -mrelax-all -dwarf-version\=4 -debugger-tuning\=lldb -disable-llvm-verifier -dwarf-ext-refs -mframe-pointer\=non-leaf -funwind-tables\=1 -clear-ast-before-backend -discard-value-names -main-file-name PurchasesFlutterPlugin.m -debug-info-kind\=standalone -fdiagnostics-hotness-threshold\=0 -fdiagnostics-misexpect-tolerance\=0 -D COCOAPODS\=1 -D DEBUG\=1 -D OBJC_OLD_DISPATCH_PROTOTYPES\=0 -D POD_CONFIGURATION_DEBUG\=1 -D __GCC_HAVE_DWARF2_CFI_ASM\=1 -include /Users/username/StudioProjects/project/ios/Pods/Target\ Support\ Files/purchases_flutter/purchases_flutter-prefix.pch -MT dependencies -dependency-file /Users/username/Library/Developer/Xcode/DerivedData/Runner-abwawhjbntschpadkuacalirnvsi/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/purchases_flutter.build/Objects-normal/arm64/PurchasesFlutterPlugin.d -skip-unused-modulemap-deps
/Users/username/.pub-cache/hosted/pub.dev/purchases_flutter-8.6.1/ios/Classes/PurchasesFlutterPlugin.m:262:43: warning: 'configureWithAPIKey:appUserID:purchasesAreCompletedBy:userDefaultsSuiteName:platformFlavor:platformFlavorVersion:storeKitVersion:dangerousSettings:shouldShowInAppMessagesAutomatically:verificationMode:' is deprecated: Use the full configure method instead [-Wdeprecated-declarations]
262 | RCPurchases *purchases = [RCPurchases configureWithAPIKey:apiKey
| ^
In module 'PurchasesHybridCommon' imported from /Users/username/.pub-cache/hosted/pub.dev/purchases_flutter-8.6.1/ios/Classes/PurchasesFlutterPlugin.m:5:
/Users/username/StudioProjects/project/build/ios/Debug-iphonesimulator/PurchasesHybridCommon/PurchasesHybridCommon.framework/Headers/PurchasesHybridCommon-Swift.h:524:654: note: 'configureWithAPIKey:appUserID:purchasesAreCompletedBy:userDefaultsSuiteName:platformFlavor:platformFlavorVersion:storeKitVersion:dangerousSettings:shouldShowInAppMessagesAutomatically:verificationMode:' has been explicitly marked deprecated here
524 | + (RCPurchases * _Nonnull)configureWithAPIKey:(NSString * _Nonnull)apiKey appUserID:(NSString * _Nullable)appUserID purchasesAreCompletedBy:(NSString * _Nullable)purchasesAreCompletedBy userDefaultsSuiteName:(NSString * _Nullable)userDefaultsSuiteName platformFlavor:(NSString * _Nullable)platformFlavor platformFlavorVersion:(NSString * _Nullable)platformFlavorVersion storeKitVersion:(NSString * _Nonnull)storeKitVersion dangerousSettings:(RCDangerousSettings * _Nullable)dangerousSettings shouldShowInAppMessagesAutomatically:(BOOL)shouldShowInAppMessagesAutomatically verificationMode:(NSString * _Nullable)verificationMode SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("Use the full configure method instead");
| ^
In module 'RevenueCat' imported from /Users/username/.pub-cache/hosted/pub.dev/purchases_flutter-8.6.1/ios/Classes/PurchasesFlutterPlugin.h:6:
/Users/username/StudioProjects/project/build/ios/Debug-iphonesimulator/RevenueCat/RevenueCat.framework/Headers/RevenueCat-Swift.h:220:51: note: expanded from macro 'SWIFT_DEPRECATED_MSG'
220 | # define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
| ^
/Users/username/.pub-cache/hosted/pub.dev/purchases_flutter-8.6.1/ios/Classes/PurchasesFlutterPlugin.m:366:28: warning: 'setDebugLogsEnabled:' is deprecated: Use setLogLevel instead [-Wdeprecated-declarations]
366 | [RCCommonFunctionality setDebugLogsEnabled:enabled];
| ^
In module 'PurchasesHybridCommon' imported from /Users/username/.pub-cache/hosted/pub.dev/purchases_flutter-8.6.1/ios/Classes/PurchasesFlutterPlugin.m:5:
/Users/username/StudioProjects/project/build/ios/Debug-iphonesimulator/PurchasesHybridCommon/PurchasesHybridCommon.framework/Headers/PurchasesHybridCommon-Swift.h:331:43: note: 'setDebugLogsEnabled:' has been explicitly marked deprecated here
331 | + (void)setDebugLogsEnabled:(BOOL)enabled SWIFT_DEPRECATED_MSG("Use setLogLevel instead");
| ^
In module 'RevenueCat' imported from /Users/username/.pub-cache/hosted/pub.dev/purchases_flutter-8.6.1/ios/Classes/PurchasesFlutterPlugin.h:6:
/Users/username/StudioProjects/project/build/ios/Debug-iphonesimulator/RevenueCat/RevenueCat.framework/Headers/RevenueCat-Swift.h:220:51: note: expanded from macro 'SWIFT_DEPRECATED_MSG'
220 | # define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
| ^
2 warnings generated.
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/GTMSessionFetcher-umbrella.h"
^
| ^
In module 'RevenueCat' imported from /Users/username/.pub-cache/hosted/pub.dev/purchases_flutter-8.6.1/ios/Classes/PurchasesFlutterPlugin.h:6:
/Users/username/StudioProjects/project/build/ios/Debug-iphonesimulator/RevenueCat/RevenueCat.framework/Headers/RevenueCat-Swift.h:4154:51: note: expanded from macro 'SWIFT_DEPRECATED_MSG'
4154 | # define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
| ^
/Users/username/.pub-cache/hosted/pub.dev/purchases_flutter-8.6.1/ios/Classes/PurchasesFlutterPlugin.m:366:28: warning: 'setDebugLogsEnabled:' is deprecated: Use setLogLevel instead [-Wdeprecated-declarations]
366 | [RCCommonFunctionality setDebugLogsEnabled:enabled];
| ^
/Users/username/StudioProjects/project/ios/Pods/FirebaseFirestoreInternal/Firestore/core/src/local/local_store:589:24: warning: implicit conversion loses integer precision: 'typename std::enable_if<!std::is_same<void, decltype(block())>::value, decltype(block())>::type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
589 | return persistence_->Run("Backfill Indexes", [&] {
| ~~~~~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
590 | return index_backfiller_->WriteIndexEntries(this);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
591 | });
| ~~
1 warning generated.
ld: warning: ignoring duplicate libraries: '-lc++'
/Users/username/StudioProjects/project/ios/Pods/FirebaseFirestoreInternal/Firestore/core/src/local/local_store:589:24: warning: implicit conversion loses integer precision: 'typename std::enable_if<!std::is_same<void, decltype(block())>::value, decltype(block())>::type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
589 | return persistence_->Run("Backfill Indexes", [&] {
| ~~~~~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
590 | return index_backfiller_->WriteIndexEntries(this);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
591 | });
| ~~
While building module 'firebase_auth':
In file included from <module-includes>:1:
/Users/username/StudioProjects/project/build/ios/Debug-iphonesimulator/firebase_auth/firebase_auth.framework/Headers/firebase_auth-umbrella.h:20:1: warning: umbrella header for module 'firebase_auth' does not include header 'PigeonParser.h' [-Wincomplete-umbrella]
/Users/username/StudioProjects/project/build/ios/Debug-iphonesimulator/firebase_auth/firebase_auth.framework/Headers/firebase_auth-umbrella.h:20:1: warning: umbrella header for module 'firebase_auth' does not include header 'FLTAuthStateChannelStreamHandler.h' [-Wincomplete-umbrella]
/Users/username/StudioProjects/project/build/ios/Debug-iphonesimulator/firebase_auth/firebase_auth.framework/Headers/firebase_auth-umbrella.h:20:1: warning: umbrella header for module 'firebase_auth' does not include header 'FLTIdTokenChannelStreamHandler.h' [-Wincomplete-umbrella]
/Users/username/StudioProjects/project/build/ios/Debug-iphonesimulator/firebase_auth/firebase_auth.framework/Headers/firebase_auth-umbrella.h:20:1: warning: umbrella header for module 'firebase_auth' does not include header 'FLTPhoneNumberVerificationStreamHandler.h' [-Wincomplete-umbrella]
4 warnings generated.
Unhandled exception:
Null check operator used on a null value
#0 Context.embedFlutterFrameworks (file:///Users/username/Developer/flutter/packages/flutter_tools/bin/xcode_backend.dart:220:68)
#1 Context.run (file:///Users/username/Developer/flutter/packages/flutter_tools/bin/xcode_backend.dart:58:9)
#2 main (file:///Users/username/Developer/flutter/packages/flutter_tools/bin/xcode_backend.dart:17:5)
#3 _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:313:33)
#4 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:194:12)
Command PhaseScriptExecution failed with a nonzero exit code
warning: Stale file '/Users/username/StudioProjects/project/build/ios/Debug-iphonesimulator/firebase_auth/firebase_auth.framework/Headers/FLTAuthStateChannelStreamHandler.h' is located outside of the allowed root paths.
warning: Stale file '/Users/username/StudioProjects/project/build/ios/Debug-iphonesimulator/firebase_auth/firebase_auth.framework/Headers/FLTIdTokenChannelStreamHandler.h' is located outside of the allowed root paths.
warning: Stale file '/Users/username/StudioProjects/project/build/ios/Debug-iphonesimulator/firebase_auth/firebase_auth.framework/Headers/FLTPhoneNumberVerificationStreamHandler.h' is located outside of the allowed root paths.
warning: Stale file '/Users/username/StudioProjects/project/build/ios/Debug-iphonesimulator/webview_flutter_wkwebview/webview_flutter_wkwebview.framework/Headers/FWFWebsiteDataStoreHostApi.h' is located outside of the allowed root paths.
warning: Stale file '/Users/username/StudioProjects/project/build/ios/Debug-iphonesimulator/webview_flutter_wkwebview/webview_flutter_wkwebview.framework/Headers/webview-umbrella.h' is located outside of the allowed root paths.
note: Removed stale file '/Users/username/Library/Developer/Xcode/DerivedData/Runner-abwawhjbntschpadkuacalirnvsi/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/gRPC-Core.build/Objects-normal/arm64/arena-7b5ee5fa6751acb1e0cbd2d76cc6f92c.o'
note: Removed stale file '/Users/username/Library/Developer/Xcode/DerivedData/Runner-abwawhjbntschpadkuacalirnvsi/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/gRPC-Core.build/Objects-normal/arm64/arena-7b5ee5fa6751acb1e0cbd2d76cc6f92c.o.scan'
note: Removed stale file '/Users/username/Library/Developer/Xcode/DerivedData/Runner-abwawhjbntschpadkuacalirnvsi/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/gRPC-Core.build/Objects-normal/arm64/cel.upb_minitable-141ec0787c22fc45732ca8bcc50ba5e6.o'
note: Removed stale file '/Users/username/Library/Developer/Xcode/DerivedData/Runner-abwawhjbntschpadkuacalirnvsi/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/gRPC-Core.build/Objects-normal/arm64/cel.upb_minitable-141ec0787c22fc45732ca8bcc50ba5e6.o.scan'
note: Removed stale file '/Users/username/Library/Developer/Xcode/DerivedData/Runner-abwawhjbntschpadkuacalirnvsi/Build/Intermediates.noindex/Pods.build/
/Users/username/StudioProjects/project/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 11.0, but the range of supported deployment target versions is 12.0 to 18.2.99. (in target 'wakelock_plus-wakelock_plus_privacy' from project 'Pods')
/Users/username/StudioProjects/project/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.2.99. (in target 'Try' from project 'Pods')
/Users/username/StudioProjects/project/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 11.0, but the range of supported deployment target versions is 12.0 to 18.2.99. (in target 'RecaptchaInterop' from project 'Pods')
/Users/username/StudioProjects/project/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 12.0 to 18.2.99. (in target 'gRPC-C++' from project 'Pods')
warning: Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'gRPC-C++' from project 'Pods')
/Users/username/StudioProjects/project/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.2.99. (in target 'abseil' from project 'Pods')
warning: Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'abseil' from project 'Pods')
note: Run script build phase 'Run Script' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'Runner' from project 'Runner')
note: Run script build phase 'Thin Binary' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'Runner' from project 'Runner')
Could not build the application for the simulator.
Error launching application on iPhone 16.
The last error talking about the deployment target is weird, too, since my deployment target is already set to 13.0 in the podfile and in XCode. So I don't know where he got that from.
I am at a complete loss as to how to proceed. These errors are so vast and all over the place that I don't know where to start. I am trying random fixes that I find on Stackoverflow, but whenever one error disappears, another just pops up. I don't know how to solve this strategically. What else can I even try? Downgrade Flutter? Go back to a repo version from months ago? I would even hire someone to do it for me at this point lol.
Any tips much appreciated!
本文标签: iosclass 39AVSpeechSynthesizer39 does not conform to the 39Sendable39 protocolStack Overflow
版权声明:本文标题:ios - class 'AVSpeechSynthesizer' does not conform to the 'Sendable' protocol - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744384121a2603652.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论