Commit Graph

44 Commits

Author SHA1 Message Date
Laurent Sansonetti
89cbd07a25 add 'rake crashlog:device' task, wording/UX is still a work in progress 2013-12-30 23:11:42 +09:00
Eloy Durán
53b7424127 [sim] Get simulated app PID as int instead of NSNumber.
Related to http://hipbyte.myjetbrains.com/youtrack/issue/RM-365
2013-12-30 23:09:48 +09:00
Eloy Durán
1d7b8b19a9 [sim] Make app launch again with Xcode 5.1.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-365
2013-12-30 23:09:03 +09:00
Laurent Sansonetti
ab8e73f9d0 only capture stdout if install_only is set (used by the profile task), fixes the output of 'rake device' 2013-11-07 23:13:18 +09:00
Eloy Durán
091b6b399f 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-03 21:16:54 +09:00
Eloy Durán
791a18759b [profiler] Configure Instruments to optionally launch specific template. 2013-11-02 11:46:41 +09:00
Eloy Durán
8a88ae803e [profiler] Replace templates list with hardcoded lists. 2013-11-02 11:46:34 +09:00
Eloy Durán
01b337b57b [profiler] Add tasks to list available instruments templates. 2013-11-02 11:46:29 +09:00
Eloy Durán
8bc831eb26 [profiler] Inherit ENV from parent process. 2013-11-02 11:46:16 +09:00
Laurent Sansonetti
c181e10e92 add 'rake profile' task as a shortcut to 'rake profile:simulator' 2013-11-02 11:45:59 +09:00
Eloy Durán
e9b72445f4 Cleanup. 2013-11-02 11:45:47 +09:00
Eloy Durán
40decde446 [profiler] Pass arguments to app on launch. 2013-11-02 11:45:42 +09:00
Eloy Durán
e7d290eb8e [profiler] Refactor rake tasks into the Config and Builder classes. 2013-11-02 11:45:35 +09:00
Eloy Durán
787ee51e6d [profiler] Add task to start profiling on a iOS device. 2013-11-02 11:45:22 +09:00
Eloy Durán
89b3db7222 [profiler] Generate a config plist for Instruments.app 2013-11-02 11:45:07 +09:00
Eloy Durán
3873adbab7 [profiler] Use known paths to tools. 2013-11-02 11:43:14 +09:00
Eloy Durán
6977940530 [profiler] Make it a bit more readable. 2013-11-02 11:43:08 +09:00
Eloy Durán
0fb2bd1a41 [profiler] Start headless instruments session on running app. 2013-11-02 11:43:03 +09:00
Watson
bdfe767e79 [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:28:28 +09:00
Watson
7fffe1ae44 fix a bug in `rake spec' which always return exit(0) status 2013-08-07 23:33:43 +09:00
Laurent Sansonetti
a6cd89ebc4 refactor crash message + fix wording 2013-08-07 23:33:37 +09:00
Watson
b149973eba fix a bug in debugger where debugging process will be terminated if press CTRL + C while app is running
rake task receives the signal and it is aborted.
And, GDB process remains as zombie process.

So, rake task ignores the SIGINT if debugger is running
2013-07-30 23:58:57 +09:00
Laurent Sansonetti
2dbd8e9f09 fix wording + style 2013-07-23 15:35:15 +09:00
Watson
6e83c0d49d show the message that crash log might have been created 2013-07-23 15:35:02 +09:00
Laurent Sansonetti
1fb3c6bab0 revert zombie env change because it's going to be implemented into the 'sim' executable instead 2013-06-16 16:56:49 +02:00
Colin T.A. Gray
b9cc611643 adds 'skip_build' option to 'rake simulater' (ios) and 'rake run' (osx) 2013-06-14 08:47:54 -06:00
Colin T.A. Gray
806b0db569 Revert "Added "rake sim" to run simulator without recompiling."
This reverts commit 1810044d20.
2013-06-14 08:28:08 -06:00
Colin T.A. Gray
370df0d6d2 Revert "use the correct env name", because the arguments passed to rake don't
work how i thought they did ;-)

This reverts commit 95f31bf35f.
2013-06-13 10:08:37 -06:00
Colin T.A. Gray
95f31bf35f use the correct env name 2013-06-13 09:19:28 -06:00
Colin T.A. Gray
396ff8ed69 Merge pull request #84 from clayallsopp/spec_without_setup
Set `spec_mode` before `setup`
2013-06-13 08:11:41 -07:00
Colin T.A. Gray
2409ae0132 Merge pull request #89 from aceofspades/rake_sim
Added "rake sim" to run simulator without recompiling.
2013-06-13 08:10:08 -07:00
Colin T.A. Gray
49a04f96b4 Merge pull request #91 from danieldickison/master
Set NSZombieEnabled=YES in simulator by passing zombie=1 to rake
2013-06-13 08:07:42 -07:00
Laurent Sansonetti
00c8eb8965 remove app.sim_args and use args env variable instead 2013-06-09 23:57:29 +09:00
Watson
abd0150df4 display the workaround for tmux users
if use tmux, we need some operation to launch iOS simulator.
2013-06-08 01:25:22 +09:00
Watson
c2c2db3862 fix app.sim_args
Because when passed the arguments as following

    app.sim_args += ["-com.apple.CoreData.SQLDebug 1"]

application will receive the argument like

    argv[1] = ["-com.apple.CoreData.SQLDebug
    argv[2] = 1"]

Expected:

    argv[1] = -com.apple.CoreData.SQLDebug
    argv[2] = 1
2013-06-05 05:12:17 +09:00
Laurent Sansonetti
143c508ffd move ctags to basic project rakefile so that it works with osx 2013-06-04 17:38:23 +09:00
Laurent Sansonetti
f011285dd6 app.sim_args 2013-06-04 17:38:06 +09:00
Watson
ed0b8bbc64 add a feature which passing the arguments on launching app 2013-06-04 17:37:24 +09:00
Clay Allsopp
f888cffbcd set spec_mode and distribution_mode without setup 2013-05-27 15:32:31 -07:00
Daniel Dickison
cc9a9e241e Set NSZombieEnabled=YES when running the simulator if zombie=1 is set. 2013-05-15 02:58:25 -04:00
Doug Puchalski
1810044d20 Added "rake sim" to run simulator without recompiling. 2013-05-12 10:07:27 -07:00
Laurent Sansonetti
cfc7bfdb3c osx: add 'rake archive' tasks, refactor the builder archive/codesign code 2013-05-10 00:44:33 +09:00
Laurent Sansonetti
721c171090 add osx repl 2013-05-10 00:39:31 +09:00
Laurent Sansonetti
06c18cc293 mac port 2013-05-10 00:33:46 +09:00