Commit Graph

118 Commits

Author SHA1 Message Date
Watson
d963c6489d move special configuration for iOS/OSX platform from gen_bridge_metadata() 2013-11-11 10:16:53 +09:00
Laurent Sansonetti
877ebe99fb only capture stdout if install_only is set (used by the profile task), fixes the output of 'rake device' 2013-11-07 13:19:12 +01:00
Eloy Durán
ae4fe2dddc Temp work around issue with UIDeviceFamily for release/profile.
The Info.plist is forced to be recreated on each build and uses ints for
UIDeviceFamily when profiling and strings otherwise.

http://hipbyte.myjetbrains.com/youtrack/issue/RM-305
2013-11-02 17:14:29 +01:00
Watson
05d8aecc9f fix RM-305
http://hipbyte.myjetbrains.com/youtrack/issue/RM-305
2013-11-02 23:00:27 +09:00
Eloy Durán
3207c10cfb [profiler] Configure Instruments to optionally launch specific template. 2013-11-01 14:58:22 +01:00
Eloy Durán
600f727117 [profiler] Replace templates list with hardcoded lists. 2013-11-01 14:58:22 +01:00
Eloy Durán
40e9e8c2e1 [profiler] Add tasks to list available instruments templates. 2013-11-01 14:58:22 +01:00
Eloy Durán
f81235d07b [profiler] Make the OS X shortcut task use development mode. 2013-11-01 14:58:22 +01:00
Eloy Durán
ca1aee4a81 [profiler] Inherit ENV from parent process. 2013-10-31 22:46:27 +01:00
Eloy Durán
d7cad5493d [profiler] Add shortcut for OS X profile:release. 2013-10-31 22:12:44 +01:00
Eloy Durán
54f3332c76 [profiler] Add OS X tasks for development and release mode. 2013-10-31 22:12:44 +01:00
Laurent Sansonetti
b0dabd8291 add 'rake profile' task as a shortcut to 'rake profile:simulator' 2013-10-31 22:08:44 +01:00
Eloy Durán
37b1c58279 [profiler] Properly describe OS X rake task. 2013-10-31 18:07:40 +01:00
Eloy Durán
2b0143e194 Cleanup. 2013-10-31 18:06:45 +01:00
Eloy Durán
19e9bddef3 [profiler] Pass arguments to app on launch. 2013-10-31 17:50:47 +01:00
Eloy Durán
61e9a65534 [profiler] Refactor rake tasks into the Config and Builder classes. 2013-10-31 17:46:22 +01:00
Eloy Durán
7a590a3113 [iOS config] UIDeviceFamily Info.plist entry should be integer. 2013-10-31 16:28:56 +01:00
Eloy Durán
5a16a52ad2 [profiler] Add task to start profiling on a iOS device. 2013-10-31 16:01:16 +01:00
Eloy Durán
e15f9120a9 [profiler] Add tasks to run an OS X app through Instruments. 2013-10-31 12:50:51 +01:00
Eloy Durán
8f4a6ad27c [profiler] Generate a config plist for Instruments.app 2013-10-31 12:09:12 +01:00
Eloy Durán
572bf257b5 [profiler] Use known paths to tools. 2013-10-28 20:48:59 +01:00
Eloy Durán
afe932b2ab [profiler] Make it a bit more readable. 2013-10-28 20:36:17 +01:00
Eloy Durán
9508d0942a [profiler] Start headless instruments session on running app. 2013-10-28 20:34:58 +01:00
Laurent Sansonetti
b192251af0 [OSX] optional #eval support (experimental) 2013-10-21 02:12:49 +02:00
Eloy Durán
94e855208e [xcassets] Fix comment. 2013-10-14 16:01:42 +02:00
Eloy Durán
783f6b8887 [xcassets] Be sure to remove whitespace from Info.plist icon names. 2013-10-14 15:50:27 +02:00
Eloy Durán
d22f82ebb0 [xcassets] Move iOS/OS X specific behavior back to configs. 2013-10-14 13:52:32 +02:00
Eloy Durán
3be82b061b [xcassets] Use actool’s Info.plist output instead of reading JSON. 2013-10-11 20:20:30 +02:00
Eloy Durán
2490d6c0a2 [xcassets] No longer copy icons ourselves on iOS. 2013-10-11 19:09:20 +02:00
Eloy Durán
369c15e0e3 [xcassets] Make asset compilation and app icon config work on OS X. 2013-10-11 18:50:56 +02:00
Eloy Durán
bbae733e02 [xcassets] Fail build if the JSON gem is required and unavailable. 2013-10-11 16:37:22 +02:00
Eloy Durán
dcc680b789 [xcassets] Use App.warn to warn about multiple app icon sets. 2013-10-11 15:23:53 +02:00
Eloy Durán
3549438dd6 Test branch notifications in HipChat commit. 2013-10-10 20:04:05 +02:00
Eloy Durán
b331fab440 [xcassets] Copy and configure the app icons for iOS. 2013-10-10 19:57:48 +02:00
Watson
ff5fb294fc [iOS] fix where non-retina iPad simulator is not launch
if string which indicates to launch iOS simulator for iPad that contains single quotation, (like 'iPad')
non-retina iPad simulator is not launch.
2013-10-07 13:17:28 +09:00
mordaroso
ecc764eef4 Fix non-retina iPad simulation in iOS7
Allow to start the simulator with a non-retina iPad with iOS7

merged #133
2013-10-07 13:16:26 +09:00
Watson
e0a68bde8d [iOS] add support to launch the app as 64-bit in simulator
When specified "app.archs['iPhoneSimulator'] << 'x86_64'" and use iOS 7 retina 4 simulator,
we can launch 64-bit simulator.
2013-10-07 11:15:02 +09:00
Watson
bbbe1a75e5 [OSX] fix the wrong default settings of short cut key in menu 2013-09-27 00:23:52 +09:00
Jan Brauer
acca1cdf6c Always copy embedded.mobileprovision
The `embedded.mobileprovision` should always be copied over in the codesign step. Otherwise subsequent builds with a different provisioning profile will build an incorrect app bundle.
Example use case:
```
rake enterprise # Build an adhoc distribution
rake appstore # Build an appstore release
```
2013-09-26 21:38:12 +09:00
Laurent Sansonetti
b0775e32d6 really remove 64-bit build 2013-09-24 22:34:51 +02:00
Laurent Sansonetti
584d55c517 allow users to customize archs 2013-09-12 13:02:52 +02:00
Laurent Sansonetti
1f88aebb11 ios: in development mode, only build for i386/armv[6-7] for faster builds 2013-09-11 18:28:19 +02:00
Laurent Sansonetti
6da5c7f4ec now always use clang 2013-09-08 03:06:48 +02:00
Hwee-Boon Yar
f99852081d Fix: platform names generated in Info.plist (DTSDKName and DTPlatformName) 2013-09-07 00:07:02 +09:00
Watson
c13e0afb6c fix a bug where ARR_CYCLES_DISABLE are disabled with distributed app
In order to enable ARR_CYCLES_DISABLE, we need to set ARR_CYCLES_DISABLE as environment variable when launch the app.
So, embedded ARR_CYCLES_DISABLE variable into app

http://hipbyte.myjetbrains.com/youtrack/issue/RM-245
2013-08-23 12:33:49 +09:00
Watson
7bcf279148 add Gemfile into gem template 2013-08-19 17:16:36 +09:00
Watson
11f1e0eeaf add *.gem into .gitignore in gem template 2013-08-19 16:56:07 +09:00
Watson
60f1b37bb6 add 'rake' gem into Gemfile because `bundle exec rake' cause a Gem::LoadError
If run `bundle exec rake' without `rake' gem, the following error is occurred.
% bundle exec rake
/Users/watson/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/bundler-1.3.5/lib/bundler/rubygems_integration.rb:214:in `block in replace_gem': rake is not part of the bundle. Add it to Gemfile. (Gem::LoadError)
	from /Users/watson/.rbenv/versions/2.0.0-p247/bin/rake:22:in `<main>'
2013-08-19 16:08:52 +09:00
Watson
99839d5e7e add convenient rake task with "gem" namespace which is contained in "bundler/gem_tasks" 2013-08-19 15:54:20 +09:00
Laurent Sansonetti
3767d0eff4 integrate Bundler 2013-08-17 14:09:24 +02:00