#XCFramework

1 messages · Page 1 of 1 (latest)

true birch
#

Xcode archive done. 10.1s
Failed to build iOS app
Error (Xcode): There is no XCFramework found at '/Users/builder/development/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework'.

Encountered error while archiving for device.
Failed to build IPA.
Command: flutter build ipa --release --build-name=3.0.0 --build-number=1
Reason: Exited with code 1.

💡 Fix Recommendations

• Check that running flutter build with the same command-line arguments
completes successfully by running the following command:

flutter build ipa --release --build-name=3.0.0 --build-number=1

If the above command fails, then this is likely not a Shorebird issue and
the underlying flutter build failure must be resolved for Shorebird to
build a release.

• If flutter build completes successfully, please ensure that you are
providing the desired flutter version to the release command via
the --flutter-version option. If you do not specify a --flutter-version
Shorebird will default to the latest stable version of Flutter.
We strongly encourage always specifying an explicit Flutter version:

shorebird release <platform> --flutter-version=3.29.0

Issue persist when using codemagic.yaml and Workflow Editor as well

split basalt
#

My first thought is that Flutter 3.29.0 is quite old.

#

But it looks like you've tried with newer Flutter versions too.

#

Error (Xcode): There is no XCFramework found at '/Users/builder/development/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework'. that seems like the wrong path.

#

I'd expect that path to reach into a specific version of flutter.

true birch
#

Thank you @split basalt for your response, actually the reason was flutter path was hardcoded in my xcode project