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

Can't run demos on iOS devices off-the-shelf and no guidance on how to fix it #5256

Closed
Hixie opened this issue Aug 5, 2016 · 5 comments
Closed
Labels
c: crash Stack traces logged to the console platform-ios iOS applications specifically platform-mac Building on or for macOS specifically tool Affects the "flutter" command-line tool. See also t: labels.

Comments

@Hixie
Copy link
Contributor

Hixie commented Aug 5, 2016

$ git clone https://github.com/flutter/flutter.git
Cloning into 'flutter'...
remote: Counting objects: 57650, done.
remote: Compressing objects: 100% (132/132), done.
remote: Total 57650 (delta 52), reused 0 (delta 0), pack-reused 57516
Receiving objects: 100% (57650/57650), 20.08 MiB | 4.29 MiB/s, done.
Resolving deltas: 100% (40760/40760), done.
Checking connectivity... done.
$ flutter doctor
Downloading Dart SDK 1.19.0-dev.0.0...

################################################################## 100.0%

Building flutter tool...
Downloading Material fonts... 0.5s
Downloading package sky_engine... 0.2s
Downloading package sky_services... 0.1s
Downloading engine artifacts android-arm... 4.3s
Downloading engine artifacts android-arm-profile... 3.2s
Downloading engine artifacts android-arm-release... 2.7s
Downloading engine artifacts android-x64... 2.3s
Downloading engine artifacts android-x86... 2.2s
Downloading engine artifacts ios... 1.9s
Downloading engine artifacts ios-profile... 1.8s
Downloading engine artifacts ios-release... 1.7s
Downloading darwin-x64 tools... 2.0s
Downloading android-arm-profile/darwin-x64 tools... 1.0s
Downloading android-arm-release/darwin-x64 tools... 0.4s

╔════════════════════════════════════════════════════════════════════════════╗
║ Welcome to Flutter! - https://flutter.io
║ ║
║ The Flutter tool anonymously reports feature usage statistics and basic ║
║ crash reports to Google in order to help Google contribute improvements to ║
║ Flutter over time. See Google's privacy policy: ║
https://www.google.com/intl/en/policies/privacy/
║ ║
║ Use "flutter config --no-analytics" to disable analytics reporting. ║
╚════════════════════════════════════════════════════════════════════════════╝

[✓] Flutter (on Mac OS, channel master)
• Flutter at /Users/ianh/dev/flutter
• Framework revision ea7d5bf (13 minutes ago), engine revision 24511c9

[✓] Android toolchain - develop for Android devices (Android SDK 23.0.2)
• Android SDK at /Users/ianh/Library/Android/sdk
• Platform android-23, build-tools 23.0.2
• Java(TM) SE Runtime Environment (build 1.7.0_80-b15)

[✓] iOS toolchain - develop for iOS devices (Xcode 7.2.1)
• XCode at /Applications/Xcode.app/Contents/Developer
• Xcode 7.2.1, Build version 7C1002

[✓] Atom - a lightweight development environment for Flutter
• flutter plugin version 0.2.1
• dartlang plugin version 0.6.8

$ cd flutter/examples/flutter_gallery
$ flutter run
Running 'pub get' in flutter_gallery... 16.5s
Running lib/main.dart on iPod touch...
2016-08-05 11:09:29.037 ios-deploy[7279:41527] [ !! ] Error 0xe8008015: ·ÃW}ˇˇ AMDeviceSecureInstallApplication(0, device, url, options, install_callback, 0)
Could not install ios/build/Release-iphoneos/Runner.app on bad2cf647626bc00d1864fb5202d98910167229a.
Error running application on iPod touch.
$

@Hixie Hixie added the platform-ios iOS applications specifically label Aug 5, 2016
@eseidelGoogle
Copy link
Contributor

There are lots of issues around provisioning which we don't handle well in our iOS tooling yet, I suspect you're hitting one of them. The workaround is to open up ios/Runner.xcodeproj in XCode and hit run and let it walk you through fixing things. We're going to need to have someone look at this holistically, including bringing parity between our available iOS and Android flutter commands. :/

@Hixie
Copy link
Contributor Author

Hixie commented Aug 5, 2016

At a minimum we should catch the error and point to a troubleshooting page on apple.com or just say to run "ios/Runner.xcodeproj" and try to get that to work first.

@Hixie Hixie added this to the Flutter 1.0 milestone Aug 15, 2016
@Hixie Hixie added affects: dev experience c: crash Stack traces logged to the console tool Affects the "flutter" command-line tool. See also t: labels. platform-mac Building on or for macOS specifically labels Aug 15, 2016
@Hixie Hixie changed the title Can't run on iOS devices Can't run on iOS devices off-the-shelf and no guidance on how to fix it Aug 16, 2016
@Hixie Hixie changed the title Can't run on iOS devices off-the-shelf and no guidance on how to fix it Can't run demos on iOS devices off-the-shelf and no guidance on how to fix it Aug 16, 2016
@eseidelGoogle eseidelGoogle modified the milestones: 3: Make conferences happy, 5: Make Hixie proud Feb 3, 2017
@xster
Copy link
Member

xster commented Feb 8, 2017

Is this another permutation of #7879?

@eseidelGoogle
Copy link
Contributor

Yes, I think so.

aam added a commit to aam/flutter that referenced this issue May 17, 2018
Changes since last roll:
```
4374ccc Roll Dart to 43635d3372253262cbf51e55b2ccfceae4f94682. (flutter#5282)
8862465 [fuchsia] Update FIDL include paths. (flutter#5279)
a7b44d4 Only send a11y events if a11y is turned on (flutter#5281)
f218099 Roll src/third_party/skia/ 02faa2b99..94f585ed0 (8 commits) (flutter#5280)
30c649d [fuchsia] Teach engine how to set up an isolate from a list of kernel files. (flutter#5210)
c95d432 Roll src/third_party/skia/ 682c58da4..02faa2b99 (10 commits) (flutter#5277)
bbfe593 Enable flutter service protocol rpcs to run on UI isolate. (flutter#5263)
4dc0183 Roll src/third_party/skia/ 4c2a34e48..682c58da4 (1 commit) (flutter#5276)
ff884db Roll src/third_party/skia/ 5b8b472b3..4c2a34e48 (1 commit) (flutter#5274)
d6f0f2f Roll src/third_party/skia/ c8799aa92..5b8b472b3 (7 commits) (flutter#5273)
d1d5497 Drain any pending work on the IO thread before shutting down the platform view (flutter#5272)
e32e390 Roll Dart to a5c11d7d0329432ca37e35bb249b20f60aa0aa31. (flutter#5269)
db34bb6 Roll buildroot to 78cf6d88d1a8b6f8293649508f2c1db6ad385fb0 for newer GN for Windows. (flutter#5271)
645c15f Roll src/third_party/skia/ 6e9f34f0e..c8799aa92 (13 commits) (flutter#5270)
99b3262 Mark the linux group testonly (flutter#5268)
17a71f6 Build the flutter tester on Linux in the default group. (flutter#5267)
63fdebf Revert "Roll Dart to a5c11d7d0329432ca37e35bb249b20f60aa0aa31. (flutter#5259)" (flutter#5266)
755dbee Roll Dart to a5c11d7d0329432ca37e35bb249b20f60aa0aa31. (flutter#5259)
73a0014 Create an empty group that the Fuchsia bots use to determine the root_out_dir. (flutter#5265)
c7ab033 Support a model where the application creates a FlutterNativeView that is never destroyed (flutter#5256)
e463e80 Roll src/third_party/skia/ 81f60ecd9..6e9f34f0e (7 commits) (flutter#5264)
be6c517 Fix documentation mistake in painting.dart (flutter#5236)
fb303b9 Roll src/third_party/skia/ 6bbd386a0..81f60ecd9 (1 commit) (flutter#5262)
765b7d4 Roll src/third_party/skia/ 3b9effcb1..6bbd386a0 (2 commits) (flutter#5260)
c3c6c36 Create a session presentation backed Vsync waiter on Fuchsia. (flutter#5255)
f943345 Roll src/third_party/skia/ 8803ebb47..3b9effcb1 (8 commits) (flutter#5257)
f12b5a5 Roll src/third_party/skia/ 16ffdd4ed..8803ebb47 (8 commits) (flutter#5254)
cde5014 Roll src/third_party/skia/ 5140f9a8e..16ffdd4ed (4 commits) (flutter#5252)
4a5d8bc Roll src/third_party/skia/ b06a1eb4e..5140f9a8e (1 commit) (flutter#5251)
966ef68 Roll src/third_party/skia/ ec48812c5..b06a1eb4e (1 commit) (flutter#5250)
fb89534 Roll src/third_party/skia/ 96b0b46f2..ec48812c5 (1 commit) (flutter#5249)
5f57c59 Roll src/third_party/skia/ 3202ac4d2..96b0b46f2 (1 commit) (flutter#5248)
```
@github-actions
Copy link

github-actions bot commented Sep 5, 2021

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 Sep 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
c: crash Stack traces logged to the console platform-ios iOS applications specifically platform-mac Building on or for macOS specifically tool Affects the "flutter" command-line tool. See also t: labels.
Projects
None yet
Development

No branches or pull requests

3 participants