~/Desktop/flutter_smart_course/ [master] flutter run
Running "flutter pub get" in flutter_smart_course... 2,593ms
Launching lib/main.dart on iPhone 13 in debug mode...
Upgrading project.pbxproj
Project base configurations detected, removing.
Upgrading contents.xcworkspacedata
Updating minimum iOS deployment target from 8.0 to 9.0.
Upgrading project.pbxproj
Upgrading AppFrameworkInfo.plist
Updating project for Xcode compatibility.
Upgrading project.pbxproj
Upgrading Runner.xcscheme
Running Xcode build...
Xcode build done. 11.8s
Failed to build iOS app
Error output from Xcode build:
↳
objc[79824]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libamsupport.dylib
(0x21e473130) and
/Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice
(0x10684c2c8). One of the two will be used. Which one is undefined.
objc[79824]: Class AMSupportURLSession is implemented in both /usr/lib/libamsupport.dylib (0x21e473180) and
/Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice
(0x10684c318). One of the two will be used. Which one is undefined.
** BUILD FAILED **
Xcode's output:
↳
lib/src/theme/theme.dart:14:26: Error: No named parameter with the name 'display1'.
textTheme: TextTheme(display1: TextStyle(color: LightColor.black)),
^^^^^^^^
/opt/homebrew/Caskroom/flutter/2.8.1/flutter/packages/flutter/lib/src/material/text_theme.dart:81:9:
Context: Found this candidate, but the arguments don't match.
const TextTheme({
^^^^^^^^^
Failed to package /Users/thisas/Desktop/flutter_smart_course.
Command PhaseScriptExecution failed with a nonzero exit code
note: Using new build system
note: Planning
note: Build preparation complete
note: Building targets in dependency order
Could not build the application for the simulator.
Error launching application on iPhone 13.
Not sure whats wrong but it's not building.