Hi all,
Anyone know what is wrong with flutter/examples/catalog example?
(hello_world works)
Install and launch error catalog example:
Installing and launching...
You've implemented -[<UIApplicationDelegate> application:performFetchWithCompletionHandler:], but you still need to add "fetch" to the list of your supported UIBackgroundModes in your Info.plist.
You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.
The app on the phone shows:
flutter run -t lib/xxx.dart
All of it:
The machine was wiped. All the necessary tools were installed. flutter doctor does not complain.
In dir:
flutter/examples/catalog
johan$ flutter run
Launching lib/main.dart on johan's iPhone in debug mode...
Signing iOS app for device deployment using developer identity: "iPhone Developer: hook (S4WRTAAA)”
You've implemented -[<UIApplicationDelegate> application:performFetchWithCompletionHandler:], but you still need to add "fetch" to the list of your supported UIBackgroundModes in your Info.plist.
You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.
Sep 21 09:31:33 johans-iPhone com.apple.debugserver-@(#)PROGRAM:debugserver PROJECT:debugserver-340.3.124
[1220] <Warning>: Got a 'k' packet, killing the inferior process.
Sep 21 09:31:33 johans-iPhone com.apple.debugserver-@(#)PROGRAM:debugserver PROJECT:debugserver-340.3.124
[1220] <Warning>: Sending ptrace PT_KILL to terminate inferior process.
Sep 21 09:31:33 johans-iPhone com.apple.debugserver-@(#)PROGRAM:debugserver PROJECT:debugserver-340.3.124
[1220] <Warning>: 1 +0.000000 sec [04c4/0a0b]: error: ::ptrace (request = PT_THUPDATE, pid = 0x04c5, tid = 0x2907, signal = 0) err = Resource busy (0x00000010)
Sep 21 09:31:33 johans-iPhone com.apple.debugserver-@(#)PROGRAM:debugserver PROJECT:debugserver-340.3.124
[1220] <Warning>: 2 +0.000880 sec [04c4/0a0b]: error: ::task_info ( target_task = 0x1d0f, flavor = TASK_BASIC_INFO, task_info_out => 0x588cd8, task_info_outCnt => 8 ) err = (os/kern) invalid argument (0x00000004)
Starting Xcode build...
├─Assembling Flutter resources... 2.7s
└─Compiling, linking and signing... 25.5s
Xcode build done. 38.8s
Installing and launching...
You've implemented -[<UIApplicationDelegate> application:performFetchWithCompletionHandler:], but you still need to add "fetch" to the list of your supported UIBackgroundModes in your Info.plist.
You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.
17.3s
Syncing files to device johan's iPhone...
johans-MacBook-Pro:catalog johan$
flutter doctor -v
[✓] Flutter (Channel beta, v0.8.2, on Mac OS X 10.12.6 16G1510, locale en-US)
• Flutter version 0.8.2 at /Users/johan/flutter
• Framework revision 5ab9e70727 (2 weeks ago), 2018-09-07 12:33:05 -0700
• Engine revision 58a1894a1c
• Dart version 2.1.0-dev.3.1.flutter-760a9690c2
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.2)
• Android SDK at /Users/johan/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.2, Build version 9C40b
• ios-deploy 2.0.0
• CocoaPods version 1.5.3
[✓] Android Studio (version 3.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 28.0.1
• Dart plugin version 173.4700
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
[✓] Connected devices (1 available)
• johan's iPhone • 5cb..........6 • ios • iOS 9.3.5 //<-- I removed the real iPhone id
• No issues found!
--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.