IOS Ipa build failed
Anyone tell me whats the issue this and aslo im using the FVM in my project
Command: shorebird release ios
2025-03-24T10:03:18.324817 No checksum provided for patch, skipping file corruption validation
2025-03-24T10:03:18.678369 No checksum provided for aot-tools.dill, skipping file corruption validation
2025-03-24T10:03:18.686908 [HTTP] GET https://api.shorebird.dev/api/v1/apps
2025-03-24T10:03:18.768462 [?7l[2K
[92m⠙[0m Fetching apps... [90m(86ms)[0m
2025-03-24T10:03:18.844454 [?7l[2K
[92m⠹[0m Fetching apps... [90m(0.2s)[0m
2025-03-24T10:03:18.924874 [?7l[2K
[92m⠸[0m Fetching apps... [90m(0.2s)[0m
2025-03-24T10:03:19.005532 [?7l[2K
[92m⠼[0m Fetching apps... [90m(0.3s)[0m
2025-03-24T10:03:19.085487 [?7l[2K
[92m⠴[0m Fetching apps... [90m(0.4s)[0m
2025-03-24T10:03:19.165643 [?7l[2K
[92m⠦[0m Fetching apps... [90m(0.5s)[0m
2025-03-24T10:03:19.242694 [?7h[2K
[92m✓[0m Fetching apps [90m(0.6s)[0m
2025-03-24T10:03:19.245275 No checksum provided for patch, skipping file corruption validation
2025-03-24T10:03:19.561267 No checksum provided for aot-tools.dill, skipping file corruption validation
2025-03-24T10:03:19.562240 [Process.run] git for-each-ref --contains 3f9cefb45389b72ff073ddf305fe0939f822143b --format %(refname:short) refs/remotes/origin/flutter_release/* (in /Users/mohamedrifay/.shorebird/bin/cache/flutter/3f9cefb45389b72ff073ddf305fe0939f822143b)
2025-03-24T10:03:20.211488 Exited with code 0
2025-03-24T10:03:20.211662
stdout:
origin/flutter_release/3.29.2
2025-03-24T10:03:20.212805 Building iOS app with Flutter 3.29.2 (3f9cefb453)
2025-03-24T10:03:20.219060 [Process.start] /Users/mohamedrifay/.shorebird/bin/cache/flutter/3f9cefb45389b72ff073ddf305fe0939f822143b/bin/flutter build ipa --release
2025-03-24T10:04:45.993672 [Process.runSync] which flutter
2025-03-24T10:04:46.000574 Exited with code 0
2025-03-24T10:04:46.000709
stdout:
/Users/mohamedrifay/development/flutter/bin/flutter
2025-03-24T10:04:46.000800 [Process.run] flutter --no-version-check pub get --offline
2025-03-24T10:04:47.251384 Exited with code 1
2025-03-24T10:04:47.251640
stdout:
Resolving dependencies...
2025-03-24T10:04:47.251932
stderr:
The current Dart SDK version is 3.6.0.
Because americana requires SDK version ^3.7.0, version solving failed.
Failed to update packages.
2025-03-24T10:04:47.253212 [33m[1m[WARN] Build was successful, but `flutter pub get` failed to run after the build completed. You may see unexpected behavior in VS Code.
Either run `flutter pub get` manually, or follow the steps in ]8;;https://docs.shorebird.dev/troubleshooting#i-installed-shorebird-and-now-i-cant-run-my-app-in-vs-code\https://docs.shorebird.dev/troubleshooting#i-installed-shorebird-and-now-i-cant-run-my-app-in-vs-code]8;;\.
[22m[0m
2025-03-24T10:04:47.253548 [91mFailed to build IPA.
Command: flutter build ipa --release
Reason: Exited with code 1.[0m
2025-03-24T10:04:47.254835
If you aren't sure why this command failed, re-run with the [96m--verbose[0m flag to see more information.
You can also ]8;;https://github.com/shorebirdtech/shorebird/issues/new/choose\file an issue]8;;\ if you think this is a bug. Please include the following log file in your report:
/Users/mohamedrifay/Library/Application Support/shorebird/logs/1742790798255_shorebird.log
2025-03-24T10:04:47.255062 [Process.run] git symbolic-ref HEAD (in /Users/mohamedrifay/.shorebird/bin/cache)
2025-03-24T10:04:47.266086 Exited with code 0
2025-03-24T10:04:47.266223
stdout:
refs/heads/stable
2025-03-24T10:04:47.266371 [Process.run] git rev-parse --verify HEAD (in /Users/mohamedrifay/.shorebird/bin/cache)
2025-03-24T10:04:47.274641 Exited with code 0
2025-03-24T10:04:47.274760
stdout:
4aba4c7fc44a7e39996f7a31fdf140bfed09bd6e
2025-03-24T10:04:47.274879 [Process.run] git remote prune origin (in /Users/mohamedrifay/.shorebird/bin/cache)
2025-03-24T10:04:48.011423 Exited with code 0
2025-03-24T10:04:48.011857 [Process.run] git fetch --tags (in /Users/mohamedrifay/.shorebird/bin/cache)
2025-03-24T10:04:48.664849 Exited with code 0
2025-03-24T10:04:48.665091 [Process.run] git rev-parse --verify @{upstream} (in /Users/mohamedrifay/.shorebird/bin/cache)
2025-03-24T10:04:48.672153 Exited with code 0
2025-03-24T10:04:48.672251
stdout:
4aba4c7fc44a7e39996f7a31fdf140bfed09bd6e
Running Xcode build...
└─Compiling, linking and signing... 6.1s
Xcode archive done. 78.6s
Failed to build iOS app
Error output from Xcode build:
↳
** ARCHIVE FAILED **
Xcode's output:
↳
Writing result bundle at path:
/var/folders/xc/2y5fm0956rd6n19h257w3cdw0000gn/T/flutter_tools.n3N6a9/flutter_ios_build_temp_dirsDl89Y/temporary_xcresult_bundle
ld: warning: ignoring duplicate libraries: '-lc++'
ld: warning: object file
(/Users/mohamedrifay/Library/Developer/Xcode/DerivedData/Runner-azhunylyjpfiocdbcajldjpkiiec/Build/Intermediates.noindex/ArchiveIntermediates/Runner/Buil
dProductsPath/Release-iphoneos/firebase_core/firebase_core.framework/firebase_core[4](firebase_core-dummy.o)) was built for newer 'iOS' version (13.0)
than being linked (12.0)
ld: warning: object file
(/Users/mohamedrifay/Library/Developer/Xcode/DerivedData/Runner-azhunylyjpfiocdbcajldjpkiiec/Build/Intermediates.noindex/ArchiveIntermediates/Runner/Buil
dProductsPath/Release-iphoneos/firebase_core/firebase_core.framework/firebase_core[5](FLTFirebaseCorePlugin.o)) was built for newer 'iOS' version (13.0)
than being linked (12.0)
ld: warning: object file
(/Users/mohamedrifay/Library/Developer/Xcode/DerivedData/Runner-azhunylyjpfiocdbcajldjpkiiec/Build/Intermediates.noindex/ArchiveIntermediates/Runner/Buil
dProductsPath/Release-iphoneos/firebase_core/firebase_core.framework/firebase_core[6](FLTFirebasePlugin.o)) was built for newer 'iOS' version (13.0) than
being linked (12.0)
ld: warning: object file
(/Users/mohamedrifay/Library/Developer/Xcode/DerivedData/Runner-azhunylyjpfiocdbcajldjpkiiec/Build/Intermediates.noindex/ArchiveIntermediates/Runner/Buil
dProductsPath/Release-iphoneos/firebase_core/firebase_core.framework/firebase_core[7](FLTFirebasePluginRegistry.o)) was built for newer 'iOS' version
(13.0) than being linked (12.0)
ld: warning: object file
(/Users/mohamedrifay/Library/Developer/Xcode/DerivedData/Runner-azhunylyjpfiocdbcajldjpkiiec/Build/Intermediates.noindex/ArchiveIntermediates/Runner/Buil
dProductsPath/Release-iphoneos/firebase_core/firebase_core.framework/firebase_core[8](messages.g.o)) was built for newer 'iOS' version (13.0) than being
linked (12.0)
ld: warning: object file
(/Users/mohamedrifay/Library/Developer/Xcode/DerivedData/Runner-azhunylyjpfiocdbcajldjpkiiec/Build/Intermediates.noindex/ArchiveIntermediates/Runner/Buil
dProductsPath/Release-iphoneos/firebase_crashlytics/firebase_crashlytics.framework/firebase_crashlytics[3](firebase_crashlytics-dummy.o)) was built for
newer 'iOS' version (13.0) than being linked (12.0)
ld: warning: object file
(/Users/mohamedrifay/Library/Developer/Xcode/DerivedData/Runner-azhunylyjpfiocdbcajldjpkiiec/Build/Intermediates.noindex/ArchiveIntermediates/Runner/Buil
dProductsPath/Release-iphoneos/firebase_crashlytics/firebase_crashlytics.framework/firebase_crashlytics[4](FLTFirebaseCrashlyticsPlugin.o)) was built for
newer 'iOS' version (13.0) than being linked (12.0)
ld: warning: object file
(/Users/mohamedrifay/Library/Developer/Xcode/DerivedData/Runner-azhunylyjpfiocdbcajldjpkiiec/Build/Intermediates.noindex/ArchiveIntermediates/Runner/Buil
dProductsPath/Release-iphoneos/Pods_Runner.framework/Pods_Runner[3](Pods-Runner-dummy.o)) was built for newer 'iOS' version (14.0) than being linked
(12.0)
Can't load Kernel binary: Invalid kernel binary format version.
FINE: Pub 3.6.0
ERR : flutterfire_cli as globally activated doesn't support Dart 3.6.0.
|
| try:
| `dart pub global activate flutterfire_cli` to reactivate.
FINE: Exception type: DataException
FINE: package:pub/src/utils.dart 575:36 dataError
| package:pub/src/global_packages.dart 418:9 GlobalPackages.find.<fn>
| dart:_compact_hash _LinkedHashMapMixin.forEach
| package:pub/src/global_packages.dart 409:29 GlobalPackages.find
| package:pub/src/command/global_run.dart 76:44 GlobalRunCommand.runProtected
| package:pub/src/command.dart 197:21 PubCommand.run.<fn>
| dart:async new Future.sync
| package:pub/src/utils.dart 138:12 captureErrors.wrappedCallback
| package:stack_trace Chain.capture
| package:pub/src/utils.dart 155:11 captureErrors
| package:pub/src/command.dart 196:13 PubCommand.run
| package:args/command_runner.dart 212:27 CommandRunner.runCommand
| package:dartdev/dartdev.dart 240:30 DartdevRunner.runCommand
| package:args/command_runner.dart 122:25 CommandRunner.run.<fn>
| dart:async new Future.sync
| package:args/command_runner.dart 122:14 CommandRunner.run
| package:dartdev/dartdev.dart 47:29 runDartdev
| /Volumes/Work/s/w/ir/x/w/sdk/pkg/dartdev/bin/dartdev.dart 13:11 main
| ===== asynchronous gap ===========================
| dart:async Future.catchError
| package:pub/src/utils.dart 140:10 captureErrors.wrappedCallback
| package:stack_trace Chain.capture
| package:pub/src/utils.dart 155:11 captureErrors
| package:pub/src/command.dart 196:13 PubCommand.run
| package:args/command_runner.dart 212:27 CommandRunner.runCommand
| package:dartdev/dartdev.dart 240:30 DartdevRunner.runCommand
| package:args/command_runner.dart 122:25 CommandRunner.run.<fn>
| dart:async new Future.sync
| package:args/command_runner.dart 122:14 CommandRunner.run
| package:dartdev/dartdev.dart 47:29 runDartdev
| /Volumes/Work/s/w/ir/x/w/sdk/pkg/dartdev/bin/dartdev.dart 13:11 main
---- Log transcript ----
FINE: Pub 3.6.0
ERR : flutterfire_cli as globally activated doesn't support Dart 3.6.0.
|
| try:
| `dart pub global activate flutterfire_cli` to reactivate.
FINE: Exception type: DataException
FINE: package:pub/src/utils.dart 575:36 dataError
| package:pub/src/global_packages.dart 418:9 GlobalPackages.find.<fn>
| dart:_compact_hash _LinkedHashMapMixin.forEach
| package:pub/src/global_packages.dart 409:29 GlobalPackages.find
| package:pub/src/command/global_run.dart 76:44 GlobalRunCommand.runProtected
| package:pub/src/command.dart 197:21 PubCommand.run.<fn>
| dart:async new Future.sync
| package:pub/src/utils.dart 138:12 captureErrors.wrappedCallback
| package:stack_trace Chain.capture
| package:pub/src/utils.dart 155:11 captureErrors
| package:pub/src/command.dart 196:13 PubCommand.run
| package:args/command_runner.dart 212:27 CommandRunner.runCommand
| package:dartdev/dartdev.dart 240:30 DartdevRunner.runCommand
| package:args/command_runner.dart 122:25 CommandRunner.run.<fn>
| dart:async new Future.sync
| package:args/command_runner.dart 122:14 CommandRunner.run
| package:dartdev/dartdev.dart 47:29 runDartdev
| /Volumes/Work/s/w/ir/x/w/sdk/pkg/dartdev/bin/dartdev.dart 13:11 main
| ===== asynchronous gap ===========================
| dart:async Future.catchError
| package:pub/src/utils.dart 140:10 captureErrors.wrappedCallback
| package:stack_trace Chain.capture
| package:pub/src/utils.dart 155:11 captureErrors
| package:pub/src/command.dart 196:13 PubCommand.run
| package:args/command_runner.dart 212:27 CommandRunner.runCommand
| package:dartdev/dartdev.dart 240:30 DartdevRunner.runCommand
| package:args/command_runner.dart 122:25 CommandRunner.run.<fn>
| dart:async new Future.sync
| package:args/command_runner.dart 122:14 CommandRunner.run
| package:dartdev/dartdev.dart 47:29 runDartdev
| /Volumes/Work/s/w/ir/x/w/sdk/pkg/dartdev/bin/dartdev.dart 13:11 main
---- End log transcript ----
IO : Writing 14519 characters to text file /Users/mohamedrifay/.pub-cache/log/pub_log.txt.
MSG : Logs written to /Users/mohamedrifay/.pub-cache/log/pub_log.txt.
Command PhaseScriptExecution failed with a nonzero exit code
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'Pods-Runner' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'Runner' from project 'Runner')
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')
warning: Run script build phase 'FlutterFire: "flutterfire upload-crashlytics-symbols"' 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 'Runner' from project 'Runner')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target
'url_launcher_ios-url_launcher_ios_privacy' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'url_launcher_ios' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target
'shared_preferences_foundation-shared_preferences_foundation_privacy' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'shared_preferences_foundation' from
project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target
'path_provider_foundation-path_provider_foundation_privacy' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'path_provider_foundation' from project
'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target
'package_info_plus-package_info_plus_privacy' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'package_info_plus' from project
'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'nanopb-nanopb_Privacy' from project
'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'nanopb' from project 'Pods')
/Users/mohamedrifay/Desktop/Nectar_Project/new_nectar_assets/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is
set to 11.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'flutter_timezone-flutter_timezone_privacy' from
project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target
'flutter_timezone-flutter_timezone_privacy' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'flutter_timezone' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'firebase_crashlytics' from project
'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'firebase_core' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target
'device_info_plus-device_info_plus_privacy' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'device_info_plus' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target
'connectivity_plus-connectivity_plus_privacy' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'connectivity_plus' from project
'Pods')
/Users/mohamedrifay/Desktop/Nectar_Project/new_nectar_assets/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is
set to 9.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'PromisesSwift-Promises_Privacy' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'PromisesSwift-Promises_Privacy' from
project 'Pods')
/Users/mohamedrifay/Desktop/Nectar_Project/new_nectar_assets/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is
set to 9.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'PromisesSwift' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'PromisesSwift' from project 'Pods')
/Users/mohamedrifay/Desktop/Nectar_Project/new_nectar_assets/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is
set to 9.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'PromisesObjC-FBLPromises_Privacy' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'PromisesObjC-FBLPromises_Privacy' from
project 'Pods')
/Users/mohamedrifay/Desktop/Nectar_Project/new_nectar_assets/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is
set to 9.0, but the range of supported deployment target versions is 12.0 to 18.0.99. (in target 'PromisesObjC' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'PromisesObjC' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target
'GoogleUtilities-GoogleUtilities_Privacy' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'GoogleUtilities' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target
'GoogleDataTransport-GoogleDataTransport_Privacy' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'GoogleDataTransport' from project
'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'FirebaseSessions' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'FirebaseRemoteConfigInterop' from
project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target
'FirebaseInstallations-FirebaseInstallations_Privacy' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'FirebaseInstallations' from project
'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target
'FirebaseCrashlytics-FirebaseCrashlytics_Privacy' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'FirebaseCrashlytics' from project
'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target
'FirebaseCoreInternal-FirebaseCoreInternal_Privacy' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'FirebaseCoreInternal' from project
'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target
'FirebaseCoreExtension-FirebaseCoreExtension_Privacy' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'FirebaseCoreExtension' from project
'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'FirebaseCore-FirebaseCore_Privacy'
from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'FirebaseCore' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'Flutter' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'Firebase' from project 'Pods')
Encountered error while archiving for device.
[WARN] Build was successful, but `flutter pub get` failed to run after the build completed. You may see unexpected behavior in VS Code.
Either run `flutter pub get` manually, or follow the steps in https://docs.shorebird.dev/troubleshooting#i-installed-shorebird-and-now-i-cant-run-my-app-in-vs-code.
Failed to build IPA.
Command: flutter build ipa --release
Reason: Exited with code 1.
If you aren't sure why this command failed, re-run with the --verbose flag to see more information.
You can also file an issue if you think this is a bug. Please include the following log file in your report:
/Users/mohamedrifay/Library/Application Support/shorebird/logs/1742791336126_shorebird.log
There are a lot of errors in that log. I'd start with the top:
2025-03-24T10:04:47.251932
stderr:
The current Dart SDK version is 3.6.0.
Because americana requires SDK version ^3.7.0, version solving failed.
Failed to update packages.
Seems like package:americana needs a newer Dart to work, so your pub update is just failling (and somehow the script is continuing after that failure?)
ld: warning: ignoring duplicate libraries: '-lc++'
is only a warning, but somehow the linker is being passed -lc++ twice, not sure why. Probably some plugin config?
ld: warning: object file
(/Users/mohamedrifay/Library/Developer/Xcode/DerivedData/Runner-azhunylyjpfiocdbcajldjpkiiec/Build/Intermediates.noindex/ArchiveIntermediates/Runner/Buil
dProductsPath/Release-iphoneos/firebase_core/firebase_core.framework/firebase_core[4](firebase_core-dummy.o)) was built for newer 'iOS' version (13.0)
than being linked (12.0)
Means that firebase_core was built with a newer XCode / iOS target than you're building with, which could cause problems.
Can't load Kernel binary: Invalid kernel binary format version.
I'm not sure what is printing that, but it's failing to load some dart script.
I'm not sure what script you're running. But I'd strongly encourage you to make the script fail on the first error, rather than continuing after errors. It's hard to know if the 5th error isn't caused by the 1st error for example. :)
If you're using a shell script you might consider using set -e to cause it to fail after the first error:
https://stackoverflow.com/questions/9952177/whats-the-meaning-of-the-parameter-e-for-bash-shell-command-line