92 Commits

Author SHA1 Message Date
Zhigang Fang
ae9791e3bb Fix ctags task
Not sure why this is breaking with:
```
rake aborted!
NameError: undefined local variable or method `config' for #<Motion::Project::IOSConfig:0x007ff3eb638940>
/Library/RubyMotion/lib/motion/project/xcode_config.rb:681:in `ctags_files'
/Library/RubyMotion/lib/motion/project.rb:76:in `block in <top (required)>'
/Users/kylefang/.rvm/gems/ruby-2.1.3/bin/ruby_executable_hooks:15:in `eval'
/Users/kylefang/.rvm/gems/ruby-2.1.3/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => ctags
(See full trace by running task with --trace)
```
2015-03-30 21:46:23 +08:00
Mark Villacampa
524e57c843 Warn if a user-configured framework does not have a corresponding
bridgesupport file.
2015-03-28 21:18:58 +09:00
Watson
3665929afd [RM-832] might be better fix 2015-03-28 21:18:39 +09:00
Watson
58fddda6df [RM-832] fix a Instruments template path for Xcode 6.2 stable 2015-03-28 21:18:16 +09:00
Mark Villacampa
2d614dc7f6 Support rake ctags for Android. Fixes RM-782 2015-03-28 21:13:00 +09:00
Watson
41efd12fcc [libdwarf] fix missing comma 2015-03-19 13:55:26 +09:00
Watson
d218e621bf [libdwarf] move to proper location 2015-03-19 13:55:16 +09:00
Watson
f109ac1b59 [libdwarf] embed dSYM into Extension app according to configuration of container app 2015-03-19 13:55:02 +09:00
Watson
e87332ca4e [libdwarf] embed dSYM with development mode only by default 2015-03-19 13:54:55 +09:00
Watson
b6bcd38e19 [libdwarf] introduce "app.embed_dsym" in order to enable/disable embedding dSYM into app 2015-03-19 13:54:47 +09:00
Watson
258b6bc3bf [RM-778] return dummy 'Debug Info Version' for Xcode 5 2015-02-13 12:53:18 +09:00
Watson
3936235ceb [RM-740] embed Dwarf Debug info version which is actually used by Xcode 2015-02-05 07:41:53 +09:00
Mark Villacampa
40e9bda096 [iOS] When stripping symbols, ignore symbols from the symbols file that are not present in the executable.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-701
2015-01-09 10:35:47 +09:00
Eloy Durán
e3e6ef2718 [iOS] Do not strip symbols from host that a framework requires.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-701.
2014-12-30 11:09:10 +09:00
Eloy Durán
185bdbb0ce [iOS] Pick-up new certificates prefixed with iOS instead of iPhone.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-693
2014-12-30 11:06:19 +09:00
Eloy Durán
248ec511a7 [WatchKit] Honor xcode_dir setting from host app.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-690
2014-12-30 11:02:01 +09:00
Eloy Durán
bd160909a9 [iOS] Only try to use asset catalog Info.plist content if reading succeeded.
The file may exist when either app icons or launch images are used, but that
does not mean we can assume in either cases that the content is for that case.
2014-12-12 08:12:47 +09:00
Eloy Durán
4f7f580f5b [iOS/WatchKit] Add support for UILaunchImages from an asset catalog.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-297
2014-12-12 08:12:02 +09:00
Eloy Durán
51b486cfc5 [Config] Consolidate way to add/change info plist data. 2014-12-12 08:07:13 +09:00
Eloy Durán
62d5d40f32 [Config] Don't use @name variable directly and add API to get bundle filename. 2014-12-12 08:04:03 +09:00
Watson
ca658c72d7 [RM-672] fix a Instruments template path for Xcode 6.2
http://hipbyte.myjetbrains.com/youtrack/issue/RM-672
2014-12-12 07:55:53 +09:00
Watson
e4a36e7d5a [RM-671] solve framework dependencies in embedded 2014-12-12 07:50:17 +09:00
Eloy Durán
3850933f08 [Config] Move ivar declaration to file where it's actually used. 2014-11-05 22:39:26 +09:00
Eloy Durán
5cfb41b0d3 [XcodeConfig] Fix missing space in certificate error message. 2014-11-05 22:32:10 +09:00
Eloy Durán
355b696676 [rake] Re-instate top-level clean task and refactor into XcodeConfig.
Related to:
* 646cbb1918
* bddc880f98
2014-11-05 22:20:10 +09:00
Eloy Durán
ef6f52f574 [iOS embedded targets] Require arm64 for device builds.
http://hipbyte.myjetbrains.com/youtrack/issue/RM-559
2014-10-13 23:38:05 +09:00
Eloy Durán
e119c495ed [Vendor] Use xcodebuild to properly clean.
This is needed to solve any cache issues, such as
the dreaded SharedPrecompiledHeaders issue.

See:

* https://github.com/clayallsopp/afmotion/issues/72
* http://openradar.appspot.com/18536864
2014-10-13 23:36:34 +09:00
Eloy Durán
ff872031ac [XcodeConfig] Fallback when available SDK is newer than available metadata. 2014-10-03 07:46:16 +09:00
Eloy Durán
84f761e060 [XcodeConfig] Only match SDKs that have a version number and fail better. 2014-10-03 07:46:06 +09:00
Watson
1a07da4156 change dSYM path to fix symbolicate with Instruments on iOS device
http://hipbyte.myjetbrains.com/youtrack/issue/RM-487
2014-10-03 07:44:49 +09:00
Watson
244b53e894 fix a bug where Instruments does not launch if specify the template name with "rake profile template='xxx'"
http://hipbyte.myjetbrains.com/youtrack/issue/RM-599
2014-09-23 16:43:07 +09:00
Laurent Sansonetti
e9a9c67e2d pass environment mode and version number to the runtime, minor refactoring 2014-09-23 16:39:50 +09:00
Eloy Durán
b7110bbeab [Yosemite] Allow OS X apps targeting OS versions lower than current to build.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-592
2014-09-23 16:39:16 +09:00
Eloy Durán
e74bd3768e [GBM] Be sure to flush the tempfile IO. 2014-09-23 16:36:06 +09:00
Eloy Durán
30f98b728f [GBM] Generate a tmp file with headers instead of passing all as arguments.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-581.
2014-09-23 16:35:46 +09:00
Mark Villacampa
2da2adefe8 Fail if target path does not exist 2014-08-27 21:11:15 +02:00
Mark Villacampa
5c1dd426f7 Added support for loading target frameworks in extensions 2014-08-27 03:52:57 +02:00
Mark Villacampa
f1d4606663 Added support for extensions through the ExtensionTarget 2014-08-26 20:09:56 +02:00
Mark Villacampa
626fa99b13 Added support for targets. iOS frameworks supported through the FrameworkTarget class. 2014-08-26 20:08:19 +02: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