Commit Graph

814 Commits

Author SHA1 Message Date
Laurent Sansonetti
53e49c1443 add app.features to expose <uses-feature ...> elements to the manifest file, cleanup the XML generated code 2014-10-23 17:22:54 +02:00
Laurent Sansonetti
46cc1fdcba make 'motion --version' print both stable and pre-release versions 2014-10-23 15:21:59 +02:00
Laurent Sansonetti
bf46410d5c better detection for the llvm toolchain in the NDK 2014-10-22 14:28:45 +02:00
Eloy Durán
69ba85d3c8 [vendor] Only ever try to run xcodebuild clean if the dir really exists. 2014-10-22 11:18:17 +02:00
Watson
bd54be05da recognize Provisioning Profile which has "iOSTeam Provisioning..."
http://hipbyte.myjetbrains.com/youtrack/issue/RM-643
2014-10-22 00:22:52 +09:00
Eloy Durán
8b593f831c Some small YARD doc fixes. 2014-10-20 16:53:19 +02:00
Eloy Durán
0f6d698bd3 [OSX] Refactor codesigning code from last commit. 2014-10-20 16:16:40 +02:00
Eloy Durán
667023a028 [OSX] Sign embedded frameworks individually.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-642
2014-10-20 15:46:45 +02:00
Eloy Durán
5e7f43936e [CodeSign] Fix YARD documentation type annotations. 2014-10-20 14:08:00 +02:00
Eloy Durán
03aab2a97e [XcodeConfig] Fix missing space in certificate error message. 2014-10-20 14:02:12 +02:00
Eloy Durán
312829575c [Config] Get rid of another sw_vers use. 2014-10-20 13:22:45 +02:00
Eloy Durán
0c88907e06 [Config] Capture and work with the OS X host version in a proper way.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-633
2014-10-20 13:11:57 +02:00
Eloy Durán
97dc93bd42 [Command::Update] Support Axel for optimised downloading. 2014-10-20 12:45:54 +02:00
Laurent Sansonetti
3318d87105 call Ruby init functions within an EH + pass the top-self reference 2014-10-20 12:29:07 +02:00
Eloy Durán
ff6232838c [rake] Fix previous commit to still delete the Android build dir. 2014-10-17 13:04:20 +02:00
Eloy Durán
478472308c [rake] Re-instate top-level clean task and refactor into XcodeConfig.
Related to:
* 646cbb1918
* bddc880f98
2014-10-17 12:55:57 +02:00
Laurent Sansonetti
8617f53d17 better init function names, using the sha1 of the full .bc path (sadly we can’t follow what we do for ios/osx as it would require bundling llvm-nm or another tool with the distribution) 2014-10-17 12:40:04 +02:00
Laurent Sansonetti
1749dd4317 unnecessary line 2014-10-17 12:38:10 +02:00
Laurent Sansonetti
bddc880f98 bring back “rake clean” task 2014-10-17 12:37:52 +02:00
Laurent Sansonetti
cd48fb034d better message in case we can't retrieve the API version of the device 2014-10-17 12:05:44 +02:00
Eloy Durán
259c3a4172 [Vendor] Allow the user to override default cflags. 2014-10-17 11:12:26 +02:00
Laurent Sansonetti
00c9510d1f generate java.lang.System.loadLibrary() instead of System.loadLibrary() because the later may not work all the time 2014-10-17 00:33:41 +02:00
Watson
26894c5906 fix a regression where `rake spec' does not work on OS X platform
http://hipbyte.myjetbrains.com/youtrack/issue/RM-632
2014-10-16 07:13:28 +09:00
Laurent Sansonetti
2e9ad50f32 when running specs on the device, redirect puts/print calls to NSLog 2014-10-15 16:16:19 +02:00
Laurent Sansonetti
454d0ce787 don't run spec:device with the debugger 2014-10-15 16:15:52 +02:00
Eloy Durán
85b668f249 [iOS embedded targets] Require arm64 for device builds.
http://hipbyte.myjetbrains.com/youtrack/issue/RM-559
2014-10-13 14:27:10 +02:00
Laurent Sansonetti
708f006eb1 simplify the arm64 object compilation even better + fix warnings due to overriding the module triple 2014-10-11 19:57:35 +02:00
Laurent Sansonetti
efd2b5ec08 simplify the arm64 object file generation 2014-10-11 19:34:22 +02:00
Laurent Sansonetti
ead120975c when attaching the debugger to the device, make sure to pass the appropriate arch to the debug server and lldb (which could be arm64) 2014-10-11 15:52:42 +02:00
Eloy Durán
d141498e58 [config] Propagate archs settings to extensions and frameworks. 2014-10-10 15:11:10 +02:00
Laurent Sansonetti
60adfb1756 when compiling dummy files for arm64, ignore linker warnings about invalid version debug info (which seem to be caused by an Xcode bug) 2014-10-10 13:16:48 +02:00
Watson
77ba055f11 move generating Provisioning process to be able to use special Provisioning Profile for extensions
Previously, Provisioning was generated when it will copy App Extension into App bundle
and it has worked as App build process.
So, It cannot refer `app. provisioning_profile' value in extension.

In order to refer `app. provisioning_profile' value in extension,
need to generate Provisioning in App Extension build process.
2014-10-10 15:31:16 +09:00
Watson
322ebc23a6 allow to use `provisioning_profile' property in extension's Rakefile 2014-10-10 14:49:09 +09:00
Eloy Durán
beda0cf37a [Vendor] Don't allow xcodebuild to litter our output with noise at all.
Xcoode 6 loves to complain about things that are not fatal to the build,
so we should hide those from the user, unless in verbose mode.
2014-10-08 19:07:49 +02:00
Eloy Durán
3c05044148 [Vendor] Fail as early as possible.
Otherwise we'd still generate BS metadata for no good reason.

In addition this could make subsequent builds fail because the
build dir would exist and seem up-to-date.
2014-10-08 19:06:52 +02:00
Eloy Durán
646cbb1918 [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-08 19:00:00 +02:00
Eloy Durán
d92674489e [vendor] Refactor slightly, no need to delete option values. 2014-10-08 17:44:05 +02:00
Laurent Sansonetti
d2e920dd90 fix 'motion update --pre' to show a reference to 'motion changelog --pre' at the end of the command 2014-10-07 15:06:14 +02:00
Laurent Sansonetti
02d278a40f add 'motion changelog --pre' to open the pre-release NEWS file 2014-10-07 15:05:46 +02:00
Laurent Sansonetti
2ad68959f3 better detection of default API level + validation 2014-10-06 16:58:19 +02:00
Laurent Sansonetti
199a98853c make sure ‘rake clean’ removes vendored .bridgesupport files 2014-10-04 16:00:28 +02:00
Eloy Durán
9ddc886d42 [XcodeConfig] Fallback when available SDK is newer than available metadata. 2014-10-02 15:09:56 +02:00
Eloy Durán
7228ee71a5 [Config] Only match metadata dirs that start with a number. 2014-10-02 15:09:33 +02:00
Eloy Durán
8b2857f1c1 [XcodeConfig] Only match SDKs that have a version number and fail better. 2014-10-02 14:36:41 +02:00
Laurent Sansonetti
0260722e2c api version should be a String 2014-10-02 11:35:48 +02:00
Laurent Sansonetti
9d5e61262f change app.api_version to return the latest available version except L (which is not stable), introduce app.target_api_version, api_version now maps to minSdkVersion and target_api_version to targetSdkVersion 2014-10-01 13:17:05 +02:00
Laurent Sansonetti
c7d8800553 add app.application_class that can be used to specify a custom Application class 2014-10-01 11:18:21 +02:00
Laurent Sansonetti
33b7e63372 add app.application_class that can be used to specify a custom Application class 2014-10-01 11:15:46 +02:00
Laurent Sansonetti
3185d47e69 kill the app if the rake task ends (^C) 2014-09-30 16:59:50 +02:00
Laurent Sansonetti
8d0525f494 add support for the R class (thanks to Mark for the patch) 2014-09-29 17:14:43 +01:00