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
f15b4875da
refactoring builder into reusable methods
...
Conflicts:
lib/motion/project/builder.rb
2014-08-20 18:08:06 +09:00
Mark Villacampa
28a766074e
initial support for extensions
...
Conflicts:
lib/motion/project/xcode_config.rb
2014-08-20 18:04:17 +09:00
Laurent Sansonetti
9229ff7d6a
pass '-Wl,-no_pie' to the linker in order to remove the 'ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in _vm_gc_wb from...' message, please revert the change if it causes any problem
2014-08-20 16:27:21 +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
Watson
ada428997d
clear xcode_version value when change xcode dir path
...
http://hipbyte.myjetbrains.com/youtrack/issue/RM-566
If change the Xcode dir path via "app.xcode_dir", already cache the @xcode_version value with '/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild'.
We cannot retrieve iOS 8 simulator device name from Xcode 5.
So, 'iPhone 4s / iOS 7' simulator is always launched as default.
2014-08-20 16:26:38 +09:00
Eloy Durán
41c184b34a
[Instruments] All instrument templates seem to work with Xcode 6.
2014-08-20 16:26:30 +09:00
Eloy Durán
f96299978c
[Instruments] Ensure we only deal with the templates part of the output.
2014-08-20 16:26:21 +09:00
Eloy Durán
a151f34607
[Instruments] Always try to find the instrument CLI tool in the right xcode_dir.
2014-08-20 16:26:11 +09:00
Watson
06d072664d
[iOS8] fix a bug which invalid template path would be generated
...
If specify template with `rake profile template="XXXX"',
it will generate invalid template path which contains unnecessary `"' as following.
<key>XrayTemplatePath</key>
<string>"/Applications/Xcode6-Beta5.app/Contents/Applications/Instruments.app/Contents/Resources/templates/Time Profiler.tracetemplate</string>
2014-08-20 16:26:01 +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
79a7069707
[OSX] fix a 'not precompiled' error if specify old version as deployment_target on Yosemite
...
http://hipbyte.myjetbrains.com/youtrack/issue/RM-525
2014-07-03 00:39:49 +09:00
Watson
4594ba57b7
accept the lower SDK version in `app.deployment_target' on Yosemite
2014-06-05 07:26:29 +09:00
Laurent Sansonetti
e6e2b9efc6
move app.version from config to xcodeconfig
2014-05-21 22:19:30 +09:00
Laurent Sansonetti
8964a0dfc7
move versionized_build_dir from config to xcodeconfig
2014-05-21 22:19:16 +09:00
Laurent Sansonetti
a4475dc024
move the `rake clear’ logic to platform-specific config files
2014-05-21 22:18:51 +09:00
Laurent Sansonetti
0eea6576f3
move #vendor_project to xcode config
2014-05-16 03:32:46 +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
851687cc92
[CodeSign] Cleanup.
2014-03-05 12:00:43 +09:00
Eloy Durán
e0477f8795
[CodeSign] Improve cert finding by only checking codesign identities.
...
Also move the logic out into a separate util module.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-399 .
2014-03-05 11:59:56 +09:00
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