Mark Villacampa
f1367ced8d
Added support for codesigning extensions.
...
Conflicts:
lib/motion/project/template/ios/builder.rb
2014-08-20 18:12:38 +09:00
Mark Villacampa
28a766074e
initial support for extensions
...
Conflicts:
lib/motion/project/xcode_config.rb
2014-08-20 18:04:17 +09:00
Watson
6a12af1a6c
[iOS8] add codesigning for embedded frameworks
...
http://hipbyte.myjetbrains.com/youtrack/issue/RM-558
2014-08-20 16:27:28 +09:00
Watson
cf1697e3b4
[iOS8] move embedded_frameworks configurations to xcode_config.rb in order to use OSX and iOS platform
...
http://hipbyte.myjetbrains.com/youtrack/issue/RM-558
2014-08-20 16:26:53 +09:00
Eloy Durán
41c184b34a
[Instruments] All instrument templates seem to work with Xcode 6.
2014-08-20 16:26:30 +09:00
Watson
a83ff8991d
[iOS8] fix where Instruments does not launch
...
http://hipbyte.myjetbrains.com/youtrack/issue/RM-563
Since iOS 8, simulator UUID will be required to launch.
2014-08-20 16:25:45 +09:00
Watson
d89c734de3
use absolute xcodebuild path to remove "xcodebuild: error" message
...
http://hipbyte.myjetbrains.com/youtrack/issue/RM-562
2014-08-20 16:25:26 +09:00
Eloy Durán
6897caa6b7
[osx] Merge all Info.plist data in one place and ensure there's always a principal class.
2014-08-20 16:23:27 +09:00
Eloy Durán
6f7885399a
[osx] Allow the user to configure a NSApplication subclass and use that instead.
...
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-539
2014-08-20 16:22:11 +09:00
Watson
1bd57604a4
fix __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ for OSX 10.10
...
The definition rule of MAC_OS_X_VERSION_10_XX is changed at OS X 10.10
2014-07-25 00:56:23 +09:00
Watson
7fb788fcb9
[OSX] add CoreServices to detect OS X version to convert NSKnownKeysDictionary into NSDictionary
2014-07-03 00:39:33 +09:00
Watson
2789a8f2d8
[OSX] fix a wrong default deployment_target on OS X 10.8
...
http://hipbyte.myjetbrains.com/youtrack/issue/RM-524
'10.8' should be used as default deployment target on OS X 10.8.
However, '10.9' was used.
2014-07-03 00:38:59 +09:00
Watson
4550206b47
[iOS8] add "device_name" parameter
...
Usage:
$ rake device_name="iPad Air"
We can use the following device name for iOS 8 simulator.
"iPhone 4s"
"iPhone 5"
"iPhone 5s"
"iPad 2"
"iPad Retina"
"iPad Air"
"Resizable iPhone"
"Resizable iPad"
2014-07-03 00:37:06 +09:00
Watson
9d87e301ab
[iOS8] fix device family string in order to select device
2014-07-03 00:36:52 +09:00
Watson
61232e1b5e
should not drop "10.10" from supported sdk version list
...
This should allow to use "10.10" sdk on Yosemite
2014-06-05 07:26:23 +09:00
Watson
c0a64ff66d
fix a build error in environment which uses Ruby 1.8
...
http://hipbyte.myjetbrains.com/youtrack/issue/RM-463
2014-04-09 17:28:52 +09:00
Eloy Durán
ff62c9a279
[bacon-ui] Get rid of a false positive warning.
2014-04-08 11:37:59 +09:00
Watson
8afefa3e0a
fix a build error when “Resource” is contained as resource directory path
...
This should fix the following case which uses "HTBResources.bundle" as resource.
```
% rake
ERROR! An iOS application cannot be installed if it contains a directory called `resources'. Please rename the directory at path `vendor/Pods/Resources/HTBResources.bundle' to, for instance, `vendor/Pods/Resources/assets'.
````
2014-04-08 11:36:55 +09:00
Watson
27bb7e0a11
fix a bug where nested array cannot be handled
...
it cause an error If app.resources_dirs has nested array
app.resources_dirs << ['Images']
```
% rake
rake aborted!
no implicit conversion of Array into String
/Library/RubyMotion/lib/motion/project/template/ios.rb:51:in `exists?'
/Library/RubyMotion/lib/motion/project/template/ios.rb:51:in `block in pre_build_actions'
/Library/RubyMotion/lib/motion/project/template/ios.rb:50:in `each'
/Library/RubyMotion/lib/motion/project/template/ios.rb:50:in `pre_build_actions'
/Library/RubyMotion/lib/motion/project/template/ios.rb:67:in `block (2 levels) in <top (required)>'
/Library/RubyMotion/lib/motion/project/template/ios.rb:122:in `block in <top (required)>'
Tasks: TOP => build:simulator
(See full trace by running task with --trace)
```
2014-04-08 11:36:48 +09:00
Watson
32508cf243
fix build error if resource directory does not exits
...
This bug is introduced by 064672443d
% motion create hello && cd hello
% rm -rf resources
% rake
rake aborted!
No such file or directory @ dir_initialize - ./resources
/Library/RubyMotion/lib/motion/project/template/ios.rb:51:in `open'
/Library/RubyMotion/lib/motion/project/template/ios.rb:51:in `entries'
/Library/RubyMotion/lib/motion/project/template/ios.rb:51:in `block in pre_build_actions'
/Library/RubyMotion/lib/motion/project/template/ios.rb:50:in `each'
/Library/RubyMotion/lib/motion/project/template/ios.rb:50:in `pre_build_actions'
/Library/RubyMotion/lib/motion/project/template/ios.rb:66:in `block (2 levels) in <top (required)>'
/Library/RubyMotion/lib/motion/project/template/ios.rb:121:in `block in <top (required)>'
Tasks: TOP => build:simulator
(See full trace by running task with --trace)
2014-04-08 11:36:41 +09:00
Eloy Durán
5f5fbca0c8
[iOS] Fail build if one of the resources is a dir called `Resources'.
...
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-450 .
2014-04-08 11:36:09 +09:00
Eloy Durán
a151789470
[UI spec] Make tap work with UISwitch.
2014-04-08 11:32:12 +09:00
Watson
9e2b1287bc
Merge pull request #151 from markrickert/gem-template
...
Add gemspec call to Gemfile for gem template.
2014-04-03 10:30:59 +09:00
Laurent Sansonetti
c12dc01358
remove magic encoding comments from template files (which are not needed)
2014-03-05 21:36:00 +09:00
Laurent Sansonetti
a7c839173c
add magic encoding comments to all ruby source files
2014-03-05 21:35:20 +09:00
Eloy Durán
4e13d3706a
Replace all pretty quotes with ASCII.
2014-03-05 21:34:21 +09:00
Eloy Durán
4dc18fd908
[iOS] Make flick UI test helper work on iOS 7.
...
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-437
2014-03-05 12:01:25 +09:00
Eloy Durán
ae42b81e85
[sim] Fail when launching in BG but not having configured the app.
...
Otherwise this leads to an ugly ‘failed to start’ error.
2014-03-05 12:01:05 +09:00
Eloy Durán
e66855f885
[iOS] The iPad 2 (non-retina) also has iOS 7 support.
2014-03-05 12:00:59 +09:00
Eloy Durán
91b528f451
[rake/iOS] Fail when trying to use retina=false on iOS >= 7.
2014-03-05 11:58:38 +09:00
Eloy Durán
c200211b4e
[rake/iOS] Fail when targeting a sim SDK older than deployment target.
2014-03-05 11:58:29 +09:00
Eloy Durán
f45fd90038
[REPL/OSX] Make it work when codesigned and sandboxed.
...
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-410
2014-03-05 11:49:22 +09:00
Mark Rickert
a0200271d4
Add gemspec to Gemfile for gem template.
...
Since spec.add_development_dependency "rake" is already in the gemspec template, we don't need it in the Gemfile and we should always defer to the gemspec for our dependencies except for advanced use cases.
2014-02-16 09:05:19 -05:00
Mark Rickert
3f2a8dafc7
Ignore .dat* files on new projects.
2014-02-10 09:45:03 -05:00
Eloy Durán
7f50c3cde5
[iOS Config] Retrieve DTSDKBuild & DTPlatformBuild programatically.
...
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-415 .
2014-02-03 22:22:51 +09:00
Eloy Durán
16c19e5a20
[test] Make iOS UI helper search from the key window instead.
...
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-382 .
2014-01-28 21:24:14 +09:00
Eloy Durán
46cc8ba2df
[OSX] Add external_frameworks config variable.
...
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-254
2014-01-28 21:21:45 +09:00
Laurent Sansonetti
32988db314
[OSX] fix crashlog task
2014-01-28 21:20:49 +09:00
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
Eloy Durán
cc15311759
De-register spec app for notifications first.
2013-12-20 12:26:09 +01:00
Jason W. May
b6d9df25c0
Ignore spurious UIApplicationDidBecomeActiveNotification events.
...
Signed-off-by: Eloy Durán <eloy.de.enige@gmail.com >
2013-12-20 12:17:10 +01:00
Eloy Durán
06d8802db6
[UIAutomation] Make the drag command actually send events again.
...
However, for the moment this only works with 1 touch at a time.
2013-12-13 10:56:43 +09:00
Laurent Sansonetti
a6de0f4021
[OSX] add app.codesign_for_release (default to true) which controls if we need to code-sign for build:release
2013-12-13 09:28:31 +09:00
Eloy Durán
22dac42700
[spec] Deprecate block to the tests method of the view test helpers.
2013-11-20 23:43:40 +09:00
Watson
f01f8a240f
move special configuration for iOS/OSX platform from gen_bridge_metadata()
2013-11-20 23:41:11 +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
Watson
464cced795
fix RM-305
...
http://hipbyte.myjetbrains.com/youtrack/issue/RM-305
2013-11-02 23:04:15 +09:00