Monday, October 3, 2022
HomeiOS Developmentios - Flutter: Error launching application on iPhone 13 Pro Max

ios – Flutter: Error launching application on iPhone 13 Pro Max

[ad_1]

I’m facing an error while running the project from the Github clone.
Xcode build done. 15.0s
Failed to build iOS app
Error output from Xcode build:

** BUILD FAILED **

Xcode’s output:

Writing result bundle at path:
/var/folders/z_/8q4q0wbd5hj0vz33vv34mhkh0000gn/T/flutter_tools.UFQkFt/flutter_ios_build_temp_dirDfPuPX/temporary_xcresult_bundle

../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:328:39: Error: Type 'RenderToggleable' not found.
class _RenderCircularCheckBox extends RenderToggleable {
                                      ^^^^^^^^^^^^^^^^
../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:292:27: Error: The return type of the method '_CircularCheckBoxRenderObjectWidget.createRenderObject' is '_RenderCircularCheckBox', which does not match the return type, 'RenderObject', of the overridden method, 'RenderObjectWidget.createRenderObject'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart').
 - 'RenderObject' is from 'package:flutter/src/rendering/object.dart' ('../development/flutter/packages/flutter/lib/src/rendering/object.dart').
Change to a subtype of 'RenderObject'.
  _RenderCircularCheckBox createRenderObject(BuildContext context) => _RenderCircularCheckBox(
                          ^
../development/flutter/packages/flutter/lib/src/widgets/framework.dart:1740:16: Context: This is the overridden method ('createRenderObject').
  RenderObject createRenderObject(BuildContext context);
               ^
../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:308:73: Error: The parameter 'renderObject' of the method '_CircularCheckBoxRenderObjectWidget.updateRenderObject' has type '_RenderCircularCheckBox', which does not match the corresponding type, 'RenderObject', in the overridden method, 'RenderObjectWidget.updateRenderObject'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart').
 - 'RenderObject' is from 'package:flutter/src/rendering/object.dart' ('../development/flutter/packages/flutter/lib/src/rendering/object.dart').
Change to a supertype of 'RenderObject', or, for a covariant parameter, a subtype.
  void updateRenderObject(BuildContext context, _RenderCircularCheckBox renderObject) {
                                                                        ^
../development/flutter/packages/flutter/lib/src/widgets/framework.dart:1752:8: Context: This is the overridden method ('updateRenderObject').
  void updateRenderObject(BuildContext context, covariant RenderObject renderObject) { }
       ^
../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:311:9: Error: The setter 'tristate' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'tristate'.
      ..tristate = tristate
        ^^^^^^^^
../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:312:9: Error: The setter 'activeColor' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'activeColor'.
      ..activeColor = activeColor
        ^^^^^^^^^^^
../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:314:9: Error: The setter 'inactiveColor' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'inactiveColor'.
      ..inactiveColor = inactiveColor
        ^^^^^^^^^^^^^
../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:315:9: Error: The setter 'focusColor' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'focusColor'.
      ..focusColor = focusColor
        ^^^^^^^^^^
../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:316:9: Error: The setter 'hoverColor' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'hoverColor'.
      ..hoverColor = hoverColor
        ^^^^^^^^^^
../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:317:9: Error: The setter 'onChanged' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'onChanged'.
      ..onChanged = onChanged
        ^^^^^^^^^
../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:318:9: Error: The setter 'additionalConstraints' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'additionalConstraints'.
      ..additionalConstraints = additionalConstraints
        ^^^^^^^^^^^^^^^^^^^^^
../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:319:9: Error: The setter 'vsync' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'vsync'.
      ..vsync = vsync
        ^^^^^
../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:320:9: Error: The setter 'hasFocus' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'hasFocus'.
      ..hasFocus = hasFocus
        ^^^^^^^^
../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:321:9: Error: The setter 'hovering' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'hovering'.
      ..hovering = hovering;
        ^^^^^^^^
../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:344:7: Error: No named parameter with the name 'value'.
      value: value,
      ^^^^^
../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:365:11: Error: Superclass has no setter named 'value'.
    super.value = newValue;
          ^^^^^
../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:362:21: Error: The getter 'value' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'value'.
    if (newValue == value)
                    ^^^^^
../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:364:17: Error: The getter 'value' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'value'.
    _oldValue = value;
                ^^^^^
../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:370:11: Error: Superclass has no method named 'describeSemanticsConfiguration'.
    super.describeSemanticsConfiguration(config);
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:371:24: Error: The getter 'value' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'value'.
    config.isChecked = value == true;
                       ^^^^^
../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:378:12: Error: The getter 'onChanged' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'onChanged'.
    return onChanged == null
           ^^^^^^^^^
../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:379:9: Error: The getter 'inactiveColor' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'inactiveColor'.
      ? inactiveColor
        ^^^^^^^^^^^^^
../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:381:9: Error: The getter 'activeColor' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'activeColor'.
      ? activeColor
        ^^^^^^^^^^^
../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:382:20: Error: The getter 'inactiveColor' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'inactiveColor'.
      : Color.lerp(inactiveColor, activeColor, t * 4.0));
                   ^^^^^^^^^^^^^
../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:382:35: Error: The getter 'activeColor' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'activeColor'.
      : Color.lerp(inactiveColor, activeColor, t * 4.0));
                                  ^^^^^^^^^^^
../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:439:5: Error: The method 'paintRadialReaction' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart').
Try correcting the name to the name of an existing method, or defining a method named 'paintRadialReaction'.
    paintRadialReaction(canvas, offset, size.center(Offset.zero));
    ^^^^^^^^^^^^^^^^^^^
../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:439:41: Error: The getter 'size' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'size'.
    paintRadialReaction(canvas, offset, size.center(Offset.zero));
                                        ^^^^
../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:442:37: Error: The getter 'size' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'size'.
    final Offset origin = offset + (size / 2.0 - const Size.square(_kEdgeSize) / 2.0 as Offset);
                                    ^^^^
../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:443:36: Error: The getter 'position' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'position'.
    final AnimationStatus status = position.status;
                                   ^^^^^^^^
../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:445:9: Error: The getter 'position' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'position'.
      ? position.value
        ^^^^^^^^
../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:446:15: Error: The getter 'position' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'position'.
      : 1.0 - position.value;
              ^^^^^^^^
../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:447:37: Error: The getter 'size' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'size'.
    final Offset center = (offset & size).center;
                                    ^^^^
../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:450:31: Error: The getter 'value' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'value'.
    if (_oldValue == false || value == false) {
                              ^^^^^
../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:451:24: Error: The getter 'value' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'value'.
      final double t = value == false ? 1.0 - tNormalized : tNormalized;
                       ^^^^^
../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:460:34: Error: The getter 'value' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'value'.
        if (_oldValue == null || value == null)
                                 ^^^^^
../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart:478:13: Error: The getter 'value' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.2/lib/circular_check_box.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'value'.
        if (value == true)
            ^^^^^
../development/flutter/.pub-cache/hosted/pub.dartlang.org/platform-2.2.1/lib/src/interface/local_platform.dart:45:41: Error: Member not found: 'packageRoot'.
  String get packageRoot => io.Platform.packageRoot;
                                        ^^^^^^^^^^^
Failed to package /Users/kashifasghar/vpn.
Command PhaseScriptExecution failed with a nonzero exit code
note: Using new build system
note: Planning
note: Build preparation complete
note: Building targets in parallel

Result bundle written to path:
    /var/folders/z_/8q4q0wbd5hj0vz33vv34mhkh0000gn/T/flutter_tools.UFQkFt/flutter_ios_build_temp_dirDfPuPX/temporary_xcresult_bundle

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

[ad_2]

Source link

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments