Add FlutterFramework SwiftPM dep - #295
Conversation
|
Thanks for your contribution @alejandro-all-win-software, does this also work for older flutter versions? Currently we allow |
|
Hey, @ngoc-quoc-huynh. I tried to run the project for Flutter version Alejandro-castillo@MiniSererLocal2 example % flutter --version
Flutter 3.38.10 • channel stable • https://github.com/flutter/flutter.git
Framework • revision c6f67dede3 (4 months ago) • 2026-02-10 11:05:04 -0800
Engine • hash 3c25ef829c74f0f39fbb8df093d9a6b9f941ea6b (revision cafcda5721) (3 months ago) • 2026-02-06 18:51:35.000Z
Tools • Dart 3.10.9 • DevTools 2.51.1
Alejandro-castillo@MiniSererLocal2 example % flutter pub get
Resolving dependencies...
The current Dart SDK version is 3.10.9.
Because cosee_lints 0.14.0 requires SDK version ^3.12.0 and no versions of cosee_lints match >0.14.0 <0.15.0, cosee_lints ^0.14.0 is forbidden.
So, because native_image_cropper_example depends on cosee_lints ^0.14.0, version solving failed.
You can try the following suggestion to make the pubspec resolve:
* Try using the Flutter SDK version: 3.44.1.
Failed to update packages.So I think that indeed, this need a Flutter version bump. |
|
My bad, I will lower the cosee_lints dependency, since we are not using any new features of it. We try to support a broad flutter range as possible. Gimme some minutes. |
|
I verified from another repo that it will still require a Flutter & Dart version bump. Alejandro-castillo@MiniSererLocal2 example % flutter --version
Flutter 3.38.10 • channel stable • https://github.com/flutter/flutter.git
Framework • revision c6f67dede3 (4 months ago) • 2026-02-10 11:05:04 -0800
Engine • hash 3c25ef829c74f0f39fbb8df093d9a6b9f941ea6b (revision cafcda5721) (3 months ago) • 2026-02-06 18:51:35.000Z
Tools • Dart 3.10.9 • DevTools 2.51.1
Alejandro-castillo@MiniSererLocal2 example % flutter run
Launching lib/main.dart on iPhone 16 Pro in debug mode...
Error: Unable to get Xcode project information:
2026-06-05 10:26:18.093 xcodebuild[53057:376639] Writing error result bundle to
/var/folders/nk/ymy1573n0sj_09kdrbknr8mh0000gw/T/ResultBundle_2026-05-06_10-26-0018.xcresult
xcodebuild: error: Could not resolve package dependencies:
the package at '/Users/Alejandro-castillo/Developer/flutter_vibration/vibration/ios/FlutterFramework' cannot be accessed (Error
Domain=NSCocoaErrorDomain Code=260 "The folder “FlutterFramework” doesn’t exist." UserInfo={NSUserStringVariant=( |
|
Yeah, I'm having problems downgrading everything. I guess I'll just update it. |
|
LGTM, thanks for your contribution! |
DESCRIPTION
FlutterFrameworkdependency is required to avoid a new warning.