Eloy Durán
b331fab440
[xcassets] Copy and configure the app icons for iOS.
2013-10-10 19:57:48 +02:00
Eloy Durán
5678c6c88f
[xcassets] Do not include uncompiled asset bundles in the product.
2013-10-10 19:57:41 +02:00
Eloy Durán
fb53d3e2f0
[xcassets] actool uses path info from bundle unless full build path is specified.
2013-10-10 17:10:32 +02:00
Eloy Durán
713ec6f38a
[xcassets] Don’t delete compiled assets from the app bundle.
2013-10-10 16:58:41 +02:00
Eloy Durán
e22816c000
[xcassets] Compile resources_dirs/*.xcassets into the app bundle.
2013-10-10 16:54:11 +02:00
Laurent Sansonetti
384e2ebc76
add clean:all task which calls 'clean' then deletes ~/Library/RubyMotion/build
2013-10-08 21:47:01 +02:00
Eloy Durán
66cd19211d
[Vendor] Always clean all build dirs, including actual object files.
...
No need to do it differently for different types of vendoring.
2013-10-07 14:31:26 +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
cd2520bcc8
run ranlib separately to avoid a warning when creating a universal static archive
2013-09-24 22:33:38 +02:00
Laurent Sansonetti
7ded32cf3b
escape --isysroot argument
2013-09-20 17:35:29 +02:00
Watson
56a1d564ae
fix a bug in `motion update' where comparing version will do unexpected behavior using the string
...
"2.9" > "2.10" #=> true
So, when we released version 2.10,
Prompting message to update that may not be appeared.
2013-09-16 22:43:08 +09:00
Watson
9e5d9a576b
fix a bug where "motion device:console" is using same class name with "changelog" command.
...
http://hipbyte.myjetbrains.com/youtrack/issue/RM-258
2013-09-16 13:23:23 +09:00
Laurent Sansonetti
0d717d6d30
Merge branch 'master' of github.com:lrz/RubyMotion
2013-09-12 13:03:04 +02:00
Laurent Sansonetti
584d55c517
allow users to customize archs
2013-09-12 13:02:52 +02:00
Watson
8690a34289
generate 64bit type in bridgesupport if iOS SDK >= 7.0
2013-09-12 13:34:38 +09:00
Laurent Sansonetti
9c5f812a77
dup the option hash as we are deleting stuff from it and might have to reuse it in case we build for a different mode (dev+release)
2013-09-11 22:38:16 +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
1742f1625b
more arm64 support
2013-09-11 18:08:45 +02:00
Laurent Sansonetti
ca412676cf
no longer need llc
2013-09-09 00:03:35 +02:00
Laurent Sansonetti
6da5c7f4ec
now always use clang
2013-09-08 03:06:48 +02:00
Jamon Holmgren
49145183ea
Fixed issue where template working trees would not be updated upon git pull
2013-09-07 00:28:14 +09:00
Hwee-Boon Yar
f99852081d
Fix: platform names generated in Info.plist (DTSDKName and DTPlatformName)
2013-09-07 00:07:02 +09:00
Watson
39fe258508
fix a bug in build system where it cannot build app with Korean as app.name
...
http://hipbyte.myjetbrains.com/youtrack/issue/RM-247
1)
String#encode cannot convert from UTF8-MAC to UTF-8 propery.
Looks like iconv library handles it, however Ruby 2.0 does not bundle iconv library.
So, we need to bundle the tool/library to convert the encoding using the Objective-C API in order to convert reliably.
If we bundled it as Ruby C extension library, it will not work between 1.8/1.9/2.0 because Ruby 1.8/1.9/2.0 have not binary compatibility.
So, we need to bundle three binaries for 1.8/1.9/2.0.
Therefore, we bundles an executable binary to convert the encoding.
2)
If we converted from NFD to NFC, it might not match between original NFC and converted NFC even if we used Objective-C API.
We should normalized with NFD where it handles the string which retrived from filesystem.
2013-09-02 14:28:51 +09:00
Watson
8b683618c6
fix characters in UpdateCommand#run
...
see https://gist.github.com/clayallsopp/6360189
2013-08-28 13:16:30 +09:00
Laurent Sansonetti
2bc5b334cd
add 'motion device:console' command
2013-08-26 15:20:40 +02:00
Laurent Sansonetti
9b3619c210
better indent
2013-08-26 15:20:22 +02:00
Laurent Sansonetti
d8cb48e4d0
better message
2013-08-26 14:26:43 +02: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
Laurent Sansonetti
54914a528a
app.vendor_projects is defined in config.rb, not xcode_config.rb
2013-08-20 18:01:39 +02:00
Laurent Sansonetti
ab276a5d18
build the bs flags only once
2013-08-20 18:01:21 +02: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
Joffrey Jaffeux
824707cbde
Check if /Library/RubyMotion.old already exists
2013-08-17 22:29:16 +09:00
Joffrey Jaffeux
d03063c1a6
fix error in wanted_software_version check
2013-08-17 22:29:16 +09:00
Joffrey Jaffeux
5202936ac6
add support for multiple rubymotion versions on one machine
2013-08-17 22:29:16 +09:00
Laurent Sansonetti
3767d0eff4
integrate Bundler
2013-08-17 14:09:24 +02:00
Laurent Sansonetti
c0fdf58e1a
add support for spritekit atlas files
2013-08-16 22:37:24 +02:00
Laurent Sansonetti
fd6255ec0b
OSX: add app.codesign_for_development Rakefile variable to enable codesign during development (normally only done in release builds)
2013-08-11 21:23:03 +02:00
Laurent Sansonetti
022c504a80
revert 9e8b17013c since the problem seems to have disappeared in master
2013-08-10 14:44:51 +02:00
Laurent Sansonetti
9e8b17013c
osx: only strip x86_64 symbols
2013-08-09 16:44:28 +02:00
Mark Rickert
6c146a9021
Fix typo - LSApplicationCategoryType
2013-08-08 08:13:38 +09:00
Mark Rickert
80687c78d0
Updated code based on Laurent's suggestion.
2013-08-08 08:13:34 +09:00
Mark Rickert
42d720a22e
Added a default value for LSApplicationCategoryType (utilities). Extracted hash to its own method.
2013-08-08 08:13:30 +09:00