Commit Graph

467 Commits

Author SHA1 Message Date
Watson
0ac6982ba2 add support to compile the Objective-C source codes which uses Modules syntax in `app.vendor_project' with Xcode 5.
http://clang.llvm.org/docs/Modules.html

This patch supports support Objective-C Modules when compile ObjC source codes without xcodeproj file, like
https://github.com/Watson1978/RubyMotionKaigi2013
2013-10-18 09:46:01 +09:00
Watson
bfce458aee 2.11 2013-10-15 21:24:07 +09:00
Watson
8edd2ff018 just remove the path which ends with `.lproj'
This patch will
 - remove "./resources/en.lproj" path
 - accept "./resources/en.lproj/MainStoryboard.storyboardc"

If we accepted "./resources/en.lproj",
it will allow to copy all the files in "./resources/en.lproj" directory.
However, we need to reject "./resources/en.lproj/MainStoryboard.storyboard".

So, we just remove "./resources/en.lproj" path.
2013-10-15 21:23:15 +09:00
Watson
42fcd6c4aa fix the link error of "ld: framework not found IOKit" with "rake device" if use "app.framework_search_paths"
http://hipbyte.myjetbrains.com/youtrack/issue/RM-283
2013-10-15 21:23:09 +09:00
Eloy Durán
594d2308c1 [xcassets] Fix comment. 2013-10-15 21:22:28 +09:00
Eloy Durán
1c4953f026 [xcassets] All files that are to be preserved are in preserve_resources. 2013-10-15 21:22:23 +09:00
Eloy Durán
12307f01bb [xcassets] Show compile info to user when not in verbose mode. 2013-10-15 21:22:16 +09:00
Eloy Durán
e24fcaa44d [xcassets] Be sure to remove whitespace from Info.plist icon names. 2013-10-15 21:22:11 +09:00
Eloy Durán
6504f1a9dd [xcassets] Extract actool warnings and propagate to the user. 2013-10-15 21:22:04 +09:00
Eloy Durán
999e83a823 [xcassets] Simplify actool output parsing and only print in verbose mode. 2013-10-15 21:21:57 +09:00
Eloy Durán
322ebc6863 [xcassets] Move iOS/OS X specific behavior back to configs. 2013-10-15 21:21:52 +09:00
Eloy Durán
ba029b744a [xcassets] Use output of actool to determine compiled assets to preserve. 2013-10-15 21:21:46 +09:00
Eloy Durán
4c1beff6a2 [xcassets] Use actool’s Info.plist output instead of reading JSON. 2013-10-15 21:21:41 +09:00
Eloy Durán
b100859e2a [xcassets] No longer copy icons ourselves on iOS. 2013-10-15 21:21:34 +09:00
Eloy Durán
9ce4cda2a9 [xcassets] Fix preservation of app icons on iOS. 2013-10-15 21:21:29 +09:00
Eloy Durán
d9021b682c [xcassets] Make asset compilation and app icon config work on OS X. 2013-10-15 21:20:55 +09:00
Eloy Durán
cc16a2bd61 [xcassets] Fail build if the JSON gem is required and unavailable. 2013-10-15 21:20:50 +09:00
Eloy Durán
9dd92687fe [xcassets] Use App.warn to warn about multiple app icon sets. 2013-10-15 21:20:45 +09:00
Eloy Durán
040cefa2f2 Test branch notifications in HipChat commit. 2013-10-15 21:20:38 +09:00
Eloy Durán
1033f302d8 [xcassets] Copy and configure the app icons for iOS. 2013-10-15 21:20:23 +09:00
Eloy Durán
d35e174417 [xcassets] Do not include uncompiled asset bundles in the product. 2013-10-15 21:20:16 +09:00
Eloy Durán
8a4105bed9 [xcassets] actool uses path info from bundle unless full build path is specified. 2013-10-15 21:20:11 +09:00
Eloy Durán
c79556bad6 [xcassets] Don’t delete compiled assets from the app bundle. 2013-10-15 21:19:54 +09:00
Eloy Durán
35d6021e68 [xcassets] Compile resources_dirs/*.xcassets into the app bundle. 2013-10-15 21:19:47 +09:00
Laurent Sansonetti
e66590e62b add clean:all task which calls 'clean' then deletes ~/Library/RubyMotion/build 2013-10-11 00:05:29 +09:00
Eloy Durán
9534a30414 [Vendor] Always clean all build dirs, including actual object files.
No need to do it differently for different types of vendoring.
2013-10-11 00:05:07 +09:00
Eloy Durán
a9b0780a4e Merge pull request #134 from katsuma/features/add-context
Add `context` method as `describe` alias
2013-10-10 06:52:06 -07: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
mordaroso
25bf0db52e 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:28:23 +09:00
Watson
fe3b93d464 [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 13:28:17 +09:00
Watson
36455e3c42 [OSX] fix the wrong default settings of short cut key in menu 2013-09-27 00:29:09 +09:00
Watson
b31d74355d 2.10 2013-09-26 07:37:06 +09:00
Laurent Sansonetti
7eb83e10dd really remove 64-bit build 2013-09-26 07:34:17 +09:00
Laurent Sansonetti
30a24be8d1 run ranlib separately to avoid a warning when creating a universal static archive 2013-09-26 07:34:11 +09:00
Laurent Sansonetti
2bf5bf8d5d escape --isysroot argument 2013-09-26 07:34:02 +09:00
Watson
7f14980b26 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-26 07:33:49 +09:00
ryo katsuma
db32694ac9 Add context method as describe alias 2013-09-22 00:27:46 +09:00
Laurent Sansonetti
3505592f3e Merge pull request #121 from bracki/patch-1
Always copy over embedded.mobileprovision
2013-09-19 06:13:00 -07:00
Watson
3a0622a9aa 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:25:36 +09:00
Watson
bca9b16dc0 2.9 2013-09-15 10:14:50 +09:00
Watson
582ff261d4 2.8 2013-09-12 23:23:17 +09:00
Laurent Sansonetti
377919cc21 allow users to customize archs 2013-09-12 22:02:26 +09:00
Watson
0feac329a8 generate 64bit type in bridgesupport if iOS SDK >= 7.0 2013-09-12 22:02:11 +09:00
Laurent Sansonetti
14f0cb174d 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-12 22:01:49 +09:00
Laurent Sansonetti
f0cc8b08ba ios: in development mode, only build for i386/armv[6-7] for faster builds 2013-09-12 22:01:42 +09:00
Laurent Sansonetti
9e6d0ea003 more arm64 support 2013-09-12 22:01:31 +09:00
Laurent Sansonetti
2280ff0db6 no longer need llc 2013-09-12 21:59:49 +09:00
Laurent Sansonetti
ca96d14e75 now always use clang 2013-09-12 21:58:58 +09:00
Watson
4387f74e0e 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-12 21:58:05 +09:00
Watson
dccfeb7594 Merge pull request #128 from jamonholmgren/bugfix_update_template_working_tree
Fixed issue where template working trees would not be updated upon git pull
2013-09-06 08:29:01 -07:00