Watson
ca35b95be2
Revert "fix where Boxed#new doesn't work for GLKKit structure."
...
This reverts commit ac89cf6b4b .
http://hipbyte.myjetbrains.com/youtrack/issue/RM-342
Because this patch causes a conflict between method's structure signature and bridgesupport's structure signature
2013-12-13 09:29:06 +09:00
Eloy Durán
4e9bb5f89e
[vendor] Ensure that all cflags are properly quoted.
...
Before it looked like the `-isysroot \"#{sdk_path}\"` part of the cflags
would terminate the string passed to the `--cflags` option.
Now all the contents of the `--cflags` option is quoted using
single-quotes instead.
2013-12-13 09:10:22 +09:00
Watson
f01f8a240f
move special configuration for iOS/OSX platform from gen_bridge_metadata()
2013-11-20 23:41:11 +09:00
Watson
8a86ff3ae6
[OSX] fix a bug on OSX platform where compiler flags for iOS are passed when it generates bridgesupport file for vendor library
...
http://hipbyte.myjetbrains.com/youtrack/issue/RM-315
2013-11-11 08:17:26 +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
8bc831eb26
[profiler] Inherit ENV from parent process.
2013-11-02 11:46:16 +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
Watson
15780d2e22
specify the optimization level when compile the RubyMotion boot codes or vendor codes
2013-11-02 11:42:33 +09:00
Watson
6d3ef3ecd4
fix where Boxed#new doesn't work for GLKKit structure.
...
http://hipbyte.myjetbrains.com/youtrack/issue/RM-293
GLKKit structures are declared as the following.
If use union type when generate bridgesupport,
it is not output the definition of a data structure using <struct> tag into bridgesupport file.
So, Boxed#new does not work for these structure.
#if defined(__STRICT_ANSI__)
struct _GLKMatrix4
{
float m[16];
} __attribute__((aligned(16)));
typedef struct _GLKMatrix4 GLKMatrix4;
#else
union _GLKMatrix4
{
struct
{
float m00, m01, m02, m03;
float m10, m11, m12, m13;
float m20, m21, m22, m23;
float m30, m31, m32, m33;
};
float m[16];
} __attribute__((aligned(16)));
typedef union _GLKMatrix4 GLKMatrix4;
#endif
2013-11-02 11:41:40 +09:00
Eloy Durán
00b3b510dd
[BS] Make use of our own bin/gen_bridge_metadata during builds.
2013-11-02 11:40:07 +09:00
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
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
12307f01bb
[xcassets] Show compile info to user when not in verbose mode.
2013-10-15 21:22:16 +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
4c1beff6a2
[xcassets] Use actool’s Info.plist output instead of reading JSON.
2013-10-15 21:21:41 +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
1033f302d8
[xcassets] Copy and configure the app icons for iOS.
2013-10-15 21:20:23 +09:00
Laurent Sansonetti
2bf5bf8d5d
escape --isysroot argument
2013-09-26 07:34:02 +09:00
Watson
0feac329a8
generate 64bit type in bridgesupport if iOS SDK >= 7.0
2013-09-12 22:02:11 +09:00
Laurent Sansonetti
04e5c8f92e
app.vendor_projects is defined in config.rb, not xcode_config.rb
2013-08-25 22:04:44 +09:00
Laurent Sansonetti
fa5169f795
add support for spritekit atlas files
2013-08-20 07:37:17 +09:00
Laurent Sansonetti
7ab5b54439
app.short_version defaults to app.version
2013-08-08 08:16:39 +09:00
Andrew Babichev
6e2ada4e2d
String deployment_target and sdk_version comparison fix
2013-07-12 18:37:57 +03:00
Watson
2afbcd0cb1
fix where it does not generate 64bit type into brigesupport in 3rd-party library on MacOSX platform
...
http://hipbyte.myjetbrains.com/youtrack/issue/RM-192
2013-07-10 21:21:08 +09:00
Laurent Sansonetti
88d35371c9
move resources_dirs into the main config object
2013-06-25 19:48:02 +09:00
Matt Garriott
a3f8ccfb90
Fix build expression for Xcode 3.x
2013-06-12 10:57:49 -06:00
Laurent Sansonetti
cfc7bfdb3c
osx: add 'rake archive' tasks, refactor the builder archive/codesign code
2013-05-10 00:44:33 +09:00
Watson
35b495a81a
fix an error when generate bridgesupport file
...
Fix the following error:
$ rake --trace
require 'lib/motion/project' is deprecated, please require 'lib/motion/project/template/ios' instead
** Invoke default (first_time)
** Invoke simulator (first_time)
** Invoke build:simulator (first_time)
** Execute build:simulator
RUBYOPT='' /usr/bin/gen_bridge_metadata --format complete --no-64-bit --cflags " -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk -miphoneos-version-min=6.1 -D__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__=60100 -I. -I'.'" "TestFlight.h" -o "TestFlight.bridgesupport" -e
Received exception: missing argument: -e:
2013-05-10 00:44:22 +09:00
Laurent Sansonetti
5802a1ba83
move icons, prerendered_icon and fonts to ios config, add icon to osx config
2013-05-10 00:43:35 +09:00
Laurent Sansonetti
83eb68f66b
app.vendor_project how honors :bridgesupport_{cflags,exceptions} options
2013-05-10 00:43:26 +09:00
Watson
fea6853739
osx: check the osx version to detect default SDK
2013-05-10 00:40:57 +09:00
Laurent Sansonetti
1312f9369e
osx: i386 support
2013-05-10 00:40:28 +09:00
Watson
548e718782
osx: load all depended frameworks
2013-05-10 00:40:23 +09:00
Watson
b90bb19a0d
change the build directory for outside files of project
...
This changing will introduce:
1. When run 'rake clean', the object files of gem is not removed. To reduce the time when rebuild the project.
2. Across multiple projects that use the same gem, this changing will share the object files.
3. When update RubyMotion with 'motion update', it will remove the object files to clean up disk space.
2013-05-10 00:34:57 +09:00
Laurent Sansonetti
06c18cc293
mac port
2013-05-10 00:33:46 +09:00