Can't run my app locally on Iphone device

Hi everyone,

I got an issue trying to test locally my app on my phone.

I download the both, both from github and FF, then i run:

flutter pub get

I got this error first:

```
Resolving dependencies...

Note: collection is pinned to version 1.18.0 by flutter_test from the flutter SDK.

See https://dart.dev/go/sdk-version-pinning for details.

Because every version of flutter_test from sdk depends on collection 1.18.0 and the_pool depends on collection 1.17.2, flutter_test from sdk is forbidden.

So, because the_pool depends on flutter_test from sdk, version solving failed.

You can try the following suggestion to make the pubspec resolve:

* Try upgrading your constraint on collection: flutter pub add collection:^1.18.0

https://github.com/dart-lang/sdk/wiki/Flutter-Pinned-Packages
```

So I tried flutter pub add collection which upgraded collection to 1.18.0 .

Then I tried flutter run --device-timeout 60 and got this:

```Could not build the precompiled application for the device.

Error (Xcode): ../../.pub-cache/hosted/pub.dev/cached_network_image-3.2.1/lib/src/image_provider/cached_network_image_provider.dart:76:54: Error: Type 'DecoderCallback' not found.```

My flutter doctor is all green.


3
3 replies