Commit Graph

664 Commits

Author SHA1 Message Date
Laurent Sansonetti
896da4f7fd when running specs on the device, redirect puts/print calls to NSLog 2014-10-15 23:18:59 +09:00
Watson
3af8d1ce2d 2.36 2014-10-13 23:39:41 +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
Laurent Sansonetti
fde9580e7f simplify the arm64 object compilation even better + fix warnings due to overriding the module triple 2014-10-13 23:37:57 +09:00
Laurent Sansonetti
fe29e58894 simplify the arm64 object file generation 2014-10-13 23:37:52 +09:00
Laurent Sansonetti
1567487ac9 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-13 23:37:32 +09:00
Eloy Durán
4a18816281 [config] Propagate archs settings to extensions and frameworks. 2014-10-13 23:37:08 +09:00
Laurent Sansonetti
dd49cb621a 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-13 23:37:02 +09:00
Watson
765a8da3ca 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-13 23:36:57 +09:00
Watson
7a1f7b7ff1 allow to use `provisioning_profile' property in extension's Rakefile 2014-10-13 23:36:52 +09:00
Eloy Durán
8198d55c89 [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-13 23:36:44 +09:00
Eloy Durán
b9433fc188 [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-13 23:36:39 +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
a382234b30 [vendor] Refactor slightly, no need to delete option values. 2014-10-13 23:36:26 +09:00
Laurent Sansonetti
7c278e9d40 fix 'motion update --pre' to show a reference to 'motion changelog --pre' at the end of the command 2014-10-13 23:36:19 +09:00
Laurent Sansonetti
2a8497b7e3 add 'motion changelog --pre' to open the pre-release NEWS file 2014-10-13 23:36:12 +09:00
Watson
8f4baa55ec 2.35 2014-10-03 07:47:55 +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
782bdb1f9f [Config] Only match metadata dirs that start with a number. 2014-10-03 07:46:11 +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
e3b2f13b5d fix a bug in framework where it would not update if changed the code
http://hipbyte.myjetbrains.com/youtrack/issue/RM-587
2014-10-03 07:45:26 +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
e4727dd33d 2.34 2014-09-23 16:45:59 +09:00
Eloy Durán
8d17837e31 [iOS] Launch image names should be the filenames after all.
Related to http://hipbyte.myjetbrains.com/youtrack/issue/RM-596#comment=74-1742
2014-09-23 16:43:40 +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
Eloy Durán
e72f448db4 [iOS] On >= 7, infer UILaunchImages metadata from resources/Default*.png
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-596
2014-09-23 16:42:17 +09:00
Watson
bdc5981564 launch iPhone 6 simulator by default 2014-09-23 16:40:32 +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
Laurent Sansonetti
ef608b3a11 don't check for updates if we build a target 2014-09-23 16:39:02 +09:00
Eloy Durán
7b12d0cffe [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-23 16:37:50 +09:00
Eloy Durán
56bf7b9914 [builder] Specify object files to linker in a temp file.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-62.
2014-09-23 16:36:22 +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
Watson
d12219b395 [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-23 16:35:15 +09:00
Eloy Durán
1c487741c2 [osx] Merge all Info.plist data in one place and ensure there's always a principal class. 2014-09-23 16:35:00 +09:00
Eloy Durán
ba440ab15f [osx] Allow the user to configure a NSApplication subclass and use that instead.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-539
2014-09-23 16:34:21 +09:00
Watson
0b3d283b95 Merge pull request #169 from hboon/smaller-launch-image-568
Reduce size of Default-568h@2x.png by 90%, as rgb(0, 0, 0)
2014-09-22 09:33:57 +09:00
Watson
2bca2883a2 2.33 2014-09-21 02:01:34 +09:00
Laurent Sansonetti
4ac164737e “motion create” will now load templates in /Library/RubyMotionPre if necessary 2014-09-21 01:59:43 +09:00
Laurent Sansonetti
2dc90e4f4f damnit 2014-09-21 01:58:50 +09:00
Laurent Sansonetti
3abfbec6d4 remove useless code 2014-09-21 01:58:44 +09:00
Laurent Sansonetti
b3a76a79be document --pre 2014-09-21 01:58:27 +09:00
Laurent Sansonetti
91f6854be9 support for “motion update --pre” 2014-09-21 01:57:46 +09:00
Hwee-Boon Yar
fe138fc6ee Reduce size of Default-568h@2x.png by 90%, as rgb(0, 0, 0) 2014-09-16 16:23:31 +08:00
Watson
e2476506d6 2.32 2014-09-01 23:59:59 +09:00
Watson
64130ec7e9 fix xcodebuild path 2014-09-01 23:59:05 +09:00
Laurent Sansonetti
b8e5cc2cca invoke xcodebuild from the proper xcode_dir 2014-09-01 23:59:01 +09:00
Eloy Durán
30b6562950 [iOS 8] Only allow device_name option to specify device family and retina etc. 2014-09-01 23:58:57 +09:00
Mark Villacampa
35c0ff09fa Remove 'bundle exec' and add --trace support when cleaning targets 2014-09-01 23:58:46 +09:00