Xcode Build Fail - example app
Opened this issue · 1 comments
Aristidios commented
Using the Example app the Xcode Build fails :
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
: Error: The argument type 'PointerEvent' can't be assigned to the parameter type 'PointerDownEvent'.
../…/src/hsv_picker.dart:731
- 'PointerEvent' is from 'package:flutter/src/gestures/events.dart' ('../../../FlutterSDK/flutter/packages/flutter/lib/src/gestures/events.dart').
package:flutter/…/gestures/events.dart:1
- 'PointerDownEvent' is from 'package:flutter/src/gestures/events.dart' ('../../../FlutterSDK/flutter/packages/flutter/lib/src/gestures/events.dart').
package:flutter/…/gestures/events.dart:1
super.addAllowedPointer(event);
^
: Error: The getter 'body2' isn't defined for the class 'TextTheme'.
../…/lib/smart_tabbar.dart:701
- 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../../FlutterSDK/flutter/packages/flutter/lib/src/material/text_theme.dart').
package:flutter/…/material/text_theme.dart:1
Try correcting the name to the name of an existing getter, or defining a getter or field named 'body2'.
themeData.primaryTextTheme.body2)
^^^^^
: Error: The getter 'body2' isn't defined for the class 'TextTheme'.
../…/lib/smart_tabbar.dart:706
- 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../../FlutterSDK/flutter/packages/flutter/lib/src/material/text_theme.dart').
package:flutter/…/material/text_theme.dart:1
Try correcting the name to the name of an existing getter, or defining a getter or field named 'body2'.
themeData.primaryTextTheme.body2)
^^^^^
: Error: The getter 'body2' isn't defined for the class 'TextTheme'.
../…/lib/smart_tabbar.dart:714
- 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../../FlutterSDK/flutter/packages/flutter/lib/src/material/text_theme.dart').
package:flutter/…/material/text_theme.dart:1
Try correcting the name to the name of an existing getter, or defining a getter or field named 'body2'.
themeData.primaryTextTheme.body2.color;
^^^^^
Failed to package /Users/Bob/ImageEditorPro-master 2/example.
Command PhaseScriptExecution failed with a nonzero exit code
note: Using new build system
note: Planning
note: Build preparation complete
note: Building targets in parallel
Could not build the precompiled application for the device.
Error launching application on Coucou .
Exited (sigterm)
jackeychina commented
I have resolved it. You can download it from here - https://drive.google.com/file/d/1DV1OsriI0su3Is13j65NpOpabRlOhDTZ/view?usp=sharing
Now it will work with flutter 2.5
Enjoy :)