Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run app on iPod touch #2897

Closed
sethladd opened this issue Mar 25, 2016 · 7 comments
Closed

Unable to run app on iPod touch #2897

sethladd opened this issue Mar 25, 2016 · 7 comments
Assignees
Labels
platform-ios iOS applications specifically

Comments

@sethladd
Copy link
Contributor

The default starter app, with head of master (as of 10:37am March 25th)

import 'package:flutter/material.dart';

void main() {
  runApp(new MaterialApp(title: 'Flutter Demo', routes: <String, WidgetBuilder>{
    '/': (BuildContext context) => new FlutterDemo()
  }));
}

class FlutterDemo extends StatefulWidget {
  @override
  _FlutterDemoState createState() => new _FlutterDemoState();
}

class _FlutterDemoState extends State<FlutterDemo> {
  int _counter = 0;

  void _incrementCounter() {
    setState(() {
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    return new Scaffold(
        appBar: new AppBar(title: new Text('My Application')),
        body: new Center(child: new Text(
            'Button tapped $_counter time${ _counter == 1 ? '' : 's' }.')),
        floatingActionButton: new FloatingActionButton(
            onPressed: _incrementCounter,
            tooltip: 'Increment',
            child: new Icon(icon: Icons.add)));
  }
}

StopConfigure
flutter run --checked --debug-port=16253 --start-paused --device-id 2175d44c48c2ba9a5bbad10262cf8e7f04aab8e7 • flutter logs
cool_app/ • checked mode • debug
Building flutter tool...
Running lib/main.dart on iPod touch...
** BUILD FAILED **


The following build commands failed:
    PhaseScriptExecution Generate\ Precompiled\ Snapshot build/FlutterApplication.build/Release-iphoneos/FlutterApplication.build/Script-9E07CFCD1BE98FCD00BCD8DE.sh
(1 failure)

Build settings from command line:
    ARCHS = arm64
    SDKROOT = iphoneos9.2

=== BUILD TARGET FlutterApplication OF PROJECT FlutterApplication WITH CONFIGURATION Release ===

Check dependencies

PhaseScriptExecution Run\ FLX\ Packager\ +\ Optional\ Script\ Snapshotter build/FlutterApplication.build/Release-iphoneos/FlutterApplication.build/Script-9E07CFF21BEAB2E800BCD8DE.sh
    cd /Users/sethladd/flutter/cool_app/ios/.generated
    /bin/sh -c /Users/sethladd/flutter/cool_app/ios/.generated/build/FlutterApplication.build/Release-iphoneos/FlutterApplication.build/Script-9E07CFF21BEAB2E800BCD8DE.sh
Project /Users/sethladd/flutter/cool_app successfully packaged...

PhaseScriptExecution Generate\ Precompiled\ Snapshot build/FlutterApplication.build/Release-iphoneos/FlutterApplication.build/Script-9E07CFCD1BE98FCD00BCD8DE.sh
    cd /Users/sethladd/flutter/cool_app/ios/.generated
    /bin/sh -c /Users/sethladd/flutter/cool_app/ios/.generated/build/FlutterApplication.build/Release-iphoneos/FlutterApplication.build/Script-9E07CFCD1BE98FCD00BCD8DE.sh
Error: 'dart:typed_data-patch/typed_data.dart': error: line 1005 pos 3: native function 'TypedData_Uint8Array_new' (1 arguments) cannot be found
  static _Uint8Array _new(int length) native "TypedData_Uint8Array_new";
  ^Snapshotter failed for /Users/sethladd/flutter/cool_app ...
Command /bin/sh failed with exit code 255


Could not build the precompiled application for the device.
Error running application on iPod touch.

Version:

~/flutter/cool_app $ flutter --version
Flutter on channel master (from git@github.com:flutter/flutter.git)
Framework revision 03830d5 (22 minutes ago); engine revision b7419de
@sethladd sethladd added platform-ios iOS applications specifically ⚠ bug labels Mar 25, 2016
@sethladd
Copy link
Contributor Author

cc @chinmaygarde

@sethladd
Copy link
Contributor Author

FWIW I can run on the Simulator

@chinmaygarde chinmaygarde self-assigned this Mar 25, 2016
@chinmaygarde
Copy link
Member

We need an engine roll. I am going to do one now.

@Hixie Hixie added this to the Flutter 1.0 milestone Apr 1, 2016
@chinmaygarde
Copy link
Member

Fixed in latest engine.

@sethladd
Copy link
Contributor Author

sethladd commented Apr 8, 2016

Thanks!

On Fri, Apr 8, 2016, 12:54 PM Chinmay Garde notifications@github.com
wrote:

Closed #2897 #2897.


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#2897 (comment)

@renanyoy
Copy link

renanyoy commented Nov 28, 2019

on xiaomi mi8 when trying to hide system navigation bar with

SystemChrome.setEnabledSystemUIOverlays([SystemUiOverlay.top]);    // only top visible

it works but at first touch on the screen I get this error

Creating a virtual display of size: [1080, 2118] may result in problems(https://github.com/flutter/flutter/issues/2897).It is larger than the device screen size: [1080, 2029].

and the system navigation bar appears and the app is resized

@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
platform-ios iOS applications specifically
Projects
None yet
Development

No branches or pull requests

4 participants