jamesblasco / zflutter

Flat, round, designer-friendly pseudo-3D engine for Flutter

Home Page:https://z.flutter.gallery

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example Compilation Errors

marcel-bluestone opened this issue · comments

Hello,

I tried to compile the examples and ended with the following errors:

Launching lib/main.dart on iPhone 12 Pro Max in debug mode...
Running Xcode build...
Xcode build done.                                           10,5s
Failed to build iOS app
Error output from Xcode build:
↳
    objc[27834]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libauthinstall.dylib (0x1edb3ec10) and /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x11cdb82b8). One of the two will be used. Which one is undefined.
    objc[27834]: Class AMSupportURLSession is implemented in both /usr/lib/libauthinstall.dylib (0x1edb3ec60) and /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x11cdb8308). One of the two will be used. Which one is undefined.
    ** BUILD FAILED **


Xcode's output:
↳
    ../../../../.pub-cache/hosted/pub.dartlang.org/modal_bottom_sheet-0.1.5/lib/src/material_with_modal_page_route.dart:21:16: Error: Getter not found: 'opaque'.
            assert(opaque),
                   ^^^^^^
    ../../../../.pub-cache/hosted/pub.dartlang.org/modal_bottom_sheet-0.1.5/lib/src/bottom_sheets/cupertino_bottom_sheet.dart:278:46: Error: No named parameter with the name 'shadowThemeOnly'.
        final isCupertinoApp = Theme.of(context, shadowThemeOnly: true) == null;
                                                 ^^^^^^^^^^^^^^^
    ../../../../Downloads/flutter/packages/flutter/lib/src/material/theme.dart:106:20: Context: Found this candidate, but the arguments don't match.
      static ThemeData of(BuildContext context) {
                       ^^
    ../../../../.pub-cache/hosted/pub.dartlang.org/modal_bottom_sheet-0.1.5/lib/src/bottom_sheets/material_bottom_sheet.dart:38:32: Error: No named parameter with the name 'shadowThemeOnly'.
          theme: Theme.of(context, shadowThemeOnly: true),
                                   ^^^^^^^^^^^^^^^
    ../../../../Downloads/flutter/packages/flutter/lib/src/material/theme.dart:106:20: Context: Found this candidate, but the arguments don't match.
      static ThemeData of(BuildContext context) {
                       ^^

    Command PhaseScriptExecution failed with a nonzero exit code
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Analyzing workspace
    note: Constructing build description
    note: Build preparation complete
    /Users/marcel/AndroidStudioProjects/zflutter/examples/iphone_promo/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.5.99. (in target 'path_provider' from project 'Pods')
    /Users/marcel/AndroidStudioProjects/zflutter/examples/iphone_promo/ios/Runner.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.5.99. (in target 'Runner' from project 'Runner')
    /Users/marcel/AndroidStudioProjects/zflutter/examples/iphone_promo/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.5.99. (in target 'audioplayers' from project 'Pods')
    /Users/marcel/AndroidStudioProjects/zflutter/examples/iphone_promo/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.5.99. (in target 'Flutter' from project 'Pods')
    /Users/marcel/AndroidStudioProjects/zflutter/examples/iphone_promo/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.5.99. (in target 'Pods-Runner' from project 'Pods')

Could not build the application for the simulator.
Error launching application on iPhone 12 Pro Max.

In addition I do get an error in the IDE in dice.dart : _Undefined class 'PhysicsAnimation'.

flutter version: Flutter 2.2.3 • channel stable •
Thanks for any hint on how to get this running.