Commit Graph

630 Commits

Author SHA1 Message Date
Eloy Durán
069a64eb0c [atos] Prefer binary image in build dir which has symbols pre-extracted and is faster.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-582.
2014-09-03 13:24:10 +02:00
Eloy Durán
4982bca7dd [builder] Specify object files to linker in a temp file.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-62.
2014-09-02 17:46:49 +02:00
Eloy Durán
74a73bcc67 [GBM] Be sure to flush the tempfile IO. 2014-09-02 17:44:32 +02:00
Eloy Durán
63926a22c6 [GBM] Generate a tmp file with headers instead of passing all as arguments.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-581.
2014-09-02 16:34:20 +02:00
Watson
00e901786d [OSX] fix a bug where vendor build directory is not removed with `rake clean' on OSX project
http://hipbyte.myjetbrains.com/youtrack/issue/RM-571
2014-09-01 17:55:09 +02:00
Eloy Durán
1dfddb16cb [osx] Merge all Info.plist data in one place and ensure there's always a principal class. 2014-09-01 17:50:15 +02:00
Eloy Durán
14fdc05f0e [osx] Allow the user to configure a NSApplication subclass and use that instead.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-539
2014-09-01 17:49:07 +02:00
Watson
d30a6f230b fix xcodebuild path 2014-09-01 22:17:25 +09:00
Laurent Sansonetti
b18c0b1469 invoke xcodebuild from the proper xcode_dir 2014-09-01 15:12:42 +02:00
Eloy Durán
7af6abe417 [iOS 8] Only allow device_name option to specify device family and retina etc. 2014-09-01 14:39:27 +02:00
Mark Villacampa
6bce52fe1c Remove 'bundle exec' and add --trace support when cleaning targets 2014-09-01 13:24:49 +02:00
Mark Villacampa
103dc59647 Print relative paths when cleaning targets and vendor_projects inside targets 2014-09-01 13:24:31 +02:00
Watson
953e996bc1 add missing resources directories in extension 2014-08-29 17:32:18 +09:00
Watson
938cf3e44c remove *.rb.org file which it is unnecessary 2014-08-28 22:59:44 +09:00
Mark Villacampa
141d01b8a3 Print relative paths from main app when compiling targets 2014-08-28 15:22:08 +02:00
Laurent Sansonetti
cd15a9bcc1 Fix all the extension templates (patch by Mark V.) 2014-08-28 15:21:39 +02:00
Mark Villacampa
2ef1b79c53 Honor xcode_dir in targets 2014-08-28 15:14:39 +02:00
Mark Villacampa
0187a9111f Fail if target path does not exist 2014-08-28 15:06:47 +02:00
Mark Villacampa
aa12d7ed77 Improve error message when manually building targets 2014-08-28 15:05:27 +02:00
Watson
816dd6de92 fix build error which it was occurred if config.targets is empty
This should fix following error

    NoMethodError: undefined method `empty?' for nil:NilClass
    /Users/watson/prj/RubyMotion/lib/motion/project/builder.rb:238:in `build'
    /Users/watson/prj/RubyMotion/lib/motion/project/app.rb:78:in `build'
    /Users/watson/prj/RubyMotion/lib/motion/project/template/ios.rb:68:in `block (2 levels) in <top (required)>'
2014-08-28 05:59:50 +09:00
Eloy Durán
e3d96b3e78 Revert "[osx] Allow the user to configure a NSApplication subclass and use that instead."
This reverts commit 51538c0ac7.
2014-08-27 19:29:39 +02:00
Eloy Durán
39d7a06b1d Revert "[osx] Merge all Info.plist data in one place and ensure there's always a principal class."
This reverts commit facf63d024.
2014-08-27 19:27:07 +02:00
Mark Villacampa
019643b105 Remove spec files from framework target and improve task descriptions 2014-08-27 18:38:13 +02:00
Mark Villacampa
e76a0e8219 removed code related to embedded and external frameworks for ios extensions 2014-08-27 18:38:03 +02:00
Mark Villacampa
3be36fbc8c Added a better comment for modifying the extension idenfier 2014-08-27 18:37:52 +02:00
Mark Villacampa
1f4d280da9 Do not call bundler directly, and pass verbose output to targets 2014-08-27 18:37:41 +02:00
Mark Villacampa
af74d4294f Fix missing librubymotion variable 2014-08-27 15:53:25 +02:00
Mark Villacampa
c4d4056838 Remove unneeded code 2014-08-27 15:53:16 +02:00
Mark Villacampa
d8a11e08e4 Generate Entitlements.plist for extensions 2014-08-27 15:53:08 +02:00
Mark Villacampa
a04a342372 Pass deployment_target and sdk_version to targets through env vars 2014-08-27 15:52:57 +02:00
Mark Villacampa
ff54f8b21d Remove duplicate codesigning 2014-08-27 15:52:48 +02:00
Mark Villacampa
b94afc9d38 Added support for loading target frameworks in extensions 2014-08-27 15:52:39 +02:00
Mark Villacampa
bf594af9d0 Fix for extensions 2014-08-27 15:52:27 +02:00
Mark Villacampa
1d681f1680 Added support for extensions through the ExtensionTarget 2014-08-27 15:50:45 +02:00
Mark Villacampa
480dcd2e6c Added support for targets. iOS frameworks supported through the FrameworkTarget class. 2014-08-27 15:50:32 +02:00
Mark Villacampa
1a4cf15436 Added support to build iOS extensions through the 'ios-extension' template 2014-08-27 15:50:22 +02:00
Mark Villacampa
1ceb0e5489 Added support to build iOS frameworks through the 'ios-framework' template 2014-08-27 15:50:08 +02:00
Mark Villacampa
d0c759f2c2 Extract Dependency and ParalelBuilder to separate files 2014-08-27 15:49:55 +02:00
Eloy Durán
528ac1a47d [2.32] Revert "[OSX] fix a bug where vendor build directory is not removed with `rake clean' on OSX project"
This reverts commit 90d0d55e4c.
2014-08-26 11:04:52 +02:00
Watson
90d0d55e4c [OSX] fix a bug where vendor build directory is not removed with `rake clean' on OSX project
http://hipbyte.myjetbrains.com/youtrack/issue/RM-571
2014-08-26 09:49:33 +09:00
Laurent Sansonetti
133b701578 log messages from the Bundle package (useful when debugging activity’s intents “extra” data) 2014-08-24 19:04:40 +02:00
Laurent Sansonetti
85a996e335 export super-less classes to Java (build system patch) 2014-08-24 17:42:39 +02:00
Laurent Sansonetti
ea82921b7e when generating the .java code make sure we don’t export the same method twice (we used to do that in the compiler but it’s best to move this logic to the build system, since multiple ruby files can open the same Java class) 2014-08-24 16:05:26 +02:00
Laurent Sansonetti
21b9318ef8 add app.permissions’ a shortcut that allows uses-permission’ elements to be added to the manifest file 2014-08-22 19:34:21 +02:00
Eloy Durán
5ddd0e4a41 [vendor] Traverse symlink dirs when finding headers. 2014-08-20 14:38:27 +02:00
Watson
57f09234d7 [iOS8] add codesigning for embedded frameworks
http://hipbyte.myjetbrains.com/youtrack/issue/RM-558
2014-08-20 15:17:37 +09:00
Laurent Sansonetti
3962728508 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-19 17:22:06 +02:00
Watson
3da04dde6e [iOS8] fix @executable_path for iOS platform
http://hipbyte.myjetbrains.com/youtrack/issue/RM-558
2014-08-19 17:00:13 +09:00
Watson
a03c7bfbbd [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-19 16:59:54 +09:00
Watson
8a4b58bf05 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-18 23:39:13 +09:00