Chris Bracken
c5567a5fd2
Fix race condition locating observatory port on iOS ( #6090 )
...
Ensure that we're monitoring logs before we launch the app on the
device. This prevents the case where we start monitoring after the ports
have already been logged.
Also update the regex to use an optional capture group.
2016-09-26 17:12:20 -07:00
Chris Bracken
a45e4e923c
Support Xcode variable substitution in Info.plist
...
As of Xcode 7, Apple recommends setting CFBundleIdentifier to
$(PRODUCT_BUNDLE_IDENTIFIER).
2016-09-26 15:04:07 -07:00
Chris Bracken
fea4a91ab6
Flutter run support for iOS 10 ( #6028 )
...
With iOS 10, the syslog format changed from:
Sep 23 16:04:17 cbracken-iPhone Runner[6188] <Info>: .*
to:
Sep 23 16:04:17 cbracken-iPhone Runner(libsystem_asl.dylib)[6188] <Info>: .*
This updates the observatory port scraping to handle either case.
2016-09-23 16:59:03 -07:00
Dan Rubel
573eaf0b71
diagnost XCode signing errors and offer suggestions ( #5913 )
...
Fixes https://github.com/flutter/flutter/issues/5775
2016-09-16 17:59:43 -04:00
Dan Rubel
bad957d457
remove unused methods ( #5837 )
...
cleanup https://github.com/flutter/flutter/issues/5789
2016-09-13 12:01:04 -04:00
Chris Bracken
a69c11f349
Replace hardcoded iOS build dir with config-driven lookup ( #5732 )
...
Related: b5f763b45e
2016-09-02 17:01:11 -07:00
Dan Rubel
023b7de11f
show device list in flutter doctor output ( #5697 )
...
* show device list in flutter doctor output
fixes https://github.com/flutter/flutter/issues/5625
2016-09-01 17:55:16 -04:00
Chris Bracken
b5f763b45e
Support a configurable build directory ( #5601 )
...
This change adds a top-level getBuildDirectory func and funcs for
android, aot, asset, ios build products.
Developers may now add a "build-dir" mapping to their
~/.flutter_settings (JSON format) config file. Output directory is
relative to the main flutter application directory.
This change also changes the default build directory for iOS builds to a
subdirectory of the configured build directory, 'build/ios' by default.
2016-08-25 16:38:19 -07:00
Chinmay Garde
1852fdcca8
Fix escaping of spaces when passing launch arguments to the iOS device. ( #5574 )
...
`Process.start` seems to be escaping as needed.
2016-08-24 12:57:29 -07:00
John McCutchan
cab7c8d7b3
Rename Observatory to VMService ( #5349 )
2016-08-11 13:14:13 -07:00
John McCutchan
728e2a5689
Add FlutterView and ViewManager and hook them into the ResidentRunner. ( #5345 )
...
- [x] Refactor view support into separate classes.
- [x] Make the hot runner grab the main view and call runFromSource on it.
- [x] Remove Device.needsDevFS (because it is always true).
2016-08-11 12:56:47 -07:00
Devon Carew
14483586e0
make flutter run work with a pre-built apk ( #5307 )
...
* make flutter run work with a pre-built apk
* refactor to remove the buildDir param
2016-08-09 14:38:13 -07:00
Yegor
a0aa0edfc5
--trace-startup: non-zero exit code when fails; enable in iOS runtime ( #5309 )
2016-08-09 14:12:15 -07:00
John McCutchan
a8198122b8
Enable hot mode for iOS devices ( #5308 )
2016-08-09 13:02:15 -07:00
John McCutchan
487f28fdc6
Speedup devFS writing and improve status information ( #5287 )
2016-08-08 12:42:31 -07:00
John McCutchan
0de691621b
Add --hot mode for flutter run
2016-07-20 14:38:25 -07:00
Yegor
8893e32821
print gen_snapshot exit code; fix a missing type annotation ( #4976 )
2016-07-19 21:07:58 -07:00
Ryan Macnak
932059b901
Also forward Observatory port for iOS in profile mode. ( #4952 )
2016-07-19 12:46:17 -07:00
Ryan Macnak
e42be3c363
Print local url for Observatory on iOS. ( #4948 )
2016-07-18 12:54:08 -07:00
Yegor
5f7b89990e
add more logging from ios simulator in verbose mode ( #4928 )
2016-07-15 10:52:30 -07:00
Collin Jackson
6073a7e991
Fall back to the default xcodeproj if a workspace cannot be found (e.g. for example apps)
2016-07-12 17:34:08 -07:00
Collin Jackson
fdc2a2ba77
When using flutter run, build the workspace instead of the project
2016-07-12 14:04:02 -07:00
Adam Barth
8d56fae557
Finish integrating HelloServices model on iOS ( #4820 )
...
This patch changes the default `flutter create` command to generate a
HelloServices-style app on iOS. As a consequence, the Atom integration now
fully works with HelloServices.
2016-07-06 13:13:28 -07:00
Devon Carew
ec752d813d
send ext.flutter.debugDumpApp; ext.flutter.reassemble ( #4810 )
...
* send ext.flutter.debugDumpApp; ext.flutter.reassemble
* expose debugDumpRenderTree
2016-07-04 11:21:56 -07:00
Todd Volkert
f410ca80b7
Include target in revision string, since it affects the xcode config ( #4795 )
2016-06-30 11:33:36 -07:00
pq
543f705adb
Cleanup empty statements.
...
The new `empty_statements` lint (in the next DEV roll), flags these empty statements. Harmless, except the one in `basic.dart` that fixes a real-life bug. :)
2016-06-28 13:42:22 -07:00
Devon Carew
6cdfd86ad1
send the reload source command for ios simulators ( #4731 )
...
* send the reload source command for ios simulators
* review changes
* rewrite w/ a completer
2016-06-24 10:26:43 -07:00
Ian Hickson
0d21e69b1d
Fix flutter upgrade and flutter build ios ( #4564 )
...
* Fix `flutter upgrade`
* Fix builds on iOS
2016-06-14 18:16:55 -07:00
Phil Quitslund
0f1132f93a
Merge pull request #4559 from pq/missing_returns
...
Add missing returns.
2016-06-14 15:41:49 -07:00
pq
7a95548746
Add missing returns.
...
As of `1.18.0-dev-0`, these cases will get flagged. In the meantime, the
2016-06-14 12:13:56 -07:00
Chinmay Garde
9782d97faa
Enable launching applications on the iOS device with observatory and diagnostics server connected. ( #4424 )
2016-06-14 11:47:51 -07:00
Devon Carew
b6c3ae37f6
send supportsRestart flag when starting an app ( #4513 )
...
* send supportsRestart flag when starting an app
* remove unused imports
* review comments
2016-06-13 13:16:20 -07:00
Todd Volkert
2099d3789c
Pull iOS build templates from flutter tools vs engine artifacts ( #4526 )
2016-06-13 12:30:08 -07:00
Adam Barth
440aa5ee2f
Add -t support to flutter run on iOS ( #4439 )
2016-06-07 16:41:53 -07:00
Chinmay Garde
68ba5bfd7c
Suppress verbose output from ios-deploy when not in verbose mode. ( #4423 )
2016-06-07 12:02:08 -07:00
Adam Barth
8f03ebe56b
Teach FlutterPlugin.groovy about AOT builds ( #4389 )
...
The `flutter.buildMode` property now controls whether to build in debug,
profiling, or release.
2016-06-06 12:56:04 -07:00
Chinmay Garde
8756a094a9
Add a FLUTTER_MODE variable to the generated Xcconfig and fix snapshot generation on all targets. ( #4362 )
...
Get rid of the DART_EXPERIMENTAL_INTERPRETER_FLAG.
2016-06-03 13:55:57 -07:00
Devon Carew
7ae584bc02
handle 'last message repeated' from ios simulator ( #4300 )
2016-06-03 12:54:27 -07:00
Adam Barth
612a097d1f
Add --target support to flutter build ios ( #4318 )
...
Fixes #4298
2016-06-02 08:57:13 -07:00
Adam Barth
c26fcfdfaa
Update xcodebuild for Generated.xcconfig ( #4268 )
...
This patch updates how we generate xcconfig files to match what
xcode_backend.sh expects.
2016-06-01 12:32:45 -07:00
Devon Carew
7c47837c27
show build progress; print app sizes ( #4263 )
...
* show build progress; print app sizes
* add todo
* review comments
* remove unused import
2016-05-29 15:07:41 -07:00
Todd Volkert
51d4ab3324
Fix install for iOS simulator, and add ability to uninstall ( #4223 )
2016-05-27 11:05:10 -07:00
Devon Carew
ec7517766c
Flutter run restart ( #4105 )
...
* working on making a faster flutter run restart
* clean up todos; fire events on isolate changes
* use the Flutter.FrameworkInitialization event
* review comments
2016-05-26 15:26:14 -07:00
Todd Volkert
239a717dcc
Revert "Pass the local engine config through Xcode ( #4190 )"
...
This reverts commit 8f69cccc18
.
2016-05-26 11:03:08 -07:00
Todd Volkert
92ee807a3c
Plumb --local-engine flag through to LOCAL_ENGINE in Local.xcconfig
...
Fixes #4186
2016-05-25 18:37:36 -07:00
Adam Barth
8f69cccc18
Pass the local engine config through Xcode ( #4190 )
...
This passes the information through Xcode to the `flutter build aot` call via
the environment so that it picks up the right artifacts.
Fixes #4186
2016-05-25 14:33:22 -07:00
Todd Volkert
cc8c78adf4
iOS tools cleanup ( #4161 )
...
* iOS tools cleanup
1) Fix `flutter install` on both device and simulator to refer to the actual
bundle and not just the .generated folder
2) Fix `flutter run` on device to actually run vs just installing
Still TODO:
1) Discovered that isAppInstalled on iOS simulator always reports true,
meaning it'll never actually try to install the app.
Fixes #3947
Fixes #1823
2016-05-24 16:25:40 -07:00
Chinmay Garde
66fee3a622
Wire up ios-profile and ios-release. Switching between debug, profile and release starts the build process from scratch. ( #4063 )
2016-05-23 12:58:42 -07:00
Ian Hickson
94636bd206
Cleanup based on new lints ( #4052 )
2016-05-20 14:08:46 -07:00
Jason Simmons
c192a7e4ca
Replace the checked flag in DebuggingOptions with the build mode ( #3901 )
...
This also fixes some related problems affecting "flutter run":
* FLXes built during AndroidDevice.startApp need to match the build mode
* APKs should always be rebuilt if the build mode uses AOT compilation
2016-05-17 12:38:25 -07:00