[ad_1]
I have been working for a couple of weeks on a Flutter app which I run on Android and iOS. It labored effectively till some days in the past I upgraded the flutter model and a few bundle dependencies, and it immediately stopped constructing for iOS.
There have been a number of points I’ve managed to unravel, however I can work out this one. Now, every time I attempt to construct the iOS app I get:
ld: framework not discovered package_info_plus
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I’ve tried cleansing the challenge with flutter clear and constructing once more after performing a pub get, nevertheless it would not remedy the difficulty. I do not rely instantly on package_info_plus, however there’s considered one of my packages which does.
I’ve additionally tried including package_info_plus to my pub spec, however then I get the identical error once more with the bundle path_provider, which I am already utilizing.
I’ve search and take a look at each resolution, however nothing works. May someone assist me?
In case it helps, right here you might have the output of flutter physician -v:
[✓] Flutter (Channel steady, 2.5.3, on macOS 12.0.1 21A559 darwin-arm, locale en-ES)
• Flutter model 2.5.3 at /Customers/javierd/Android/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 18116933e7 (7 weeks in the past), 2021-10-15 10:46:35 -0700
• Engine revision d3ea636dc5
• Dart model 2.14.4
[✓] Android toolchain - develop for Android gadgets (Android SDK model 31.0.0)
• Android SDK at /Customers/javierd/Library/Android/sdk
• Platform android-31, build-tools 31.0.0
• Java binary at: /Customers/javierd/Downloads/Android
Studio.app/Contents/jre/Contents/House/bin/java
• Java model OpenJDK Runtime Setting (construct 11.0.10+0-b96-7249189)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS
• Xcode at /Functions/Xcode.app/Contents/Developer
• Xcode 13.1, Construct model 13A1030d
• CocoaPods model 1.11.2
[✓] Chrome - develop for the online
• Chrome at /Functions/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (model 2020.3)
• Android Studio at /Customers/javierd/Downloads/Android Studio.app/Contents
• Flutter plugin will be put in from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin will be put in from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java model OpenJDK Runtime Setting (construct 11.0.10+0-b96-7249189)
[✓] Related machine (3 accessible)
• iPhone 13 (cell) • 8957D248-FB8E-4114-A3C1-E5DCF64FD39E • ios •
com.apple.CoreSimulator.SimRuntime.iOS-15-0 (simulator)
• macOS (desktop) • macos • darwin-arm64 • macOS 12.0.1
21A559 darwin-arm
• Chrome (internet) • chrome • web-javascript • Google Chrome
96.0.4664.55
• No points discovered!
And my pubspec.yaml:
title: app title
description: App description
model: 2.0.0+12
setting:
sdk: '>=2.12.0 <3.0.0'
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
shared_preferences: ^2.0.7
supplier: ^6.0.0
http: ^0.13.3
device_info: ^2.0.2
progress_state_button: ^1.0.3
uuid: ^3.0.4
universal_platform: ^1.0.0+1
drift: ^1.0.0
sqlcipher_flutter_libs: ^0.5.0
path_provider: ^2.0.3
path: ^1.8.0
flutter_local_notifications: ^9.1.4
flutter_native_timezone: ^2.0.0
progress_dialog: ^1.2.4
url_launcher: ^6.0.10
flutter_slidable: ^1.1.0
tuple: ^2.0.0
get_it: ^7.2.0
local_auth: ^1.1.7
date_util: ^0.1.4
date_picker_timeline: ^1.2.3
intl: ^0.17.0
file_picker_cross: ^4.4.2
share_extend: ^2.0.0
flutter_svg: ^0.22.0
dev_dependencies:
flutter_test:
sdk: flutter
drift_dev: ^1.0.0
build_runner: ^2.0.4
flutter:
uses-material-design: true
Thanks so much prematurely!
[ad_2]
