Commit Graph

2611 Commits

Author SHA1 Message Date
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
a4fa37ffec Xcode6-Beta6
iOS 8 SDK path was changed as symbolic link.

    $ ls -la /Applications/Xcode6-Beta6.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs
    total 8
    drwxr-xr-x@  4 watson  admin  136  8 19 14:31 .
    drwxr-xr-x@  5 watson  admin  170  8 19 06:19 ..
    drwxr-xr-x@ 12 watson  admin  408  8 19 03:59 iPhoneSimulator.sdk
    lrwxr-xr-x   1 watson  admin   19  8 19 06:19 iPhoneSimulator8.0.sdk -> iPhoneSimulator.sdk

This patch skips iPhoneSimulator.sdk because it cannot retrieve SDK version number and causes an error.
2014-08-19 15:49:25 +09:00
Watson
e1130b32f9 [NEWS] fix RM-566 2014-08-18 23:39:13 +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
Eloy Durán
4d797271e8 [Instruments] All instrument templates seem to work with Xcode 6. 2014-08-18 14:04:28 +02:00
Eloy Durán
a5d6ea1627 [Instruments] Ensure we only deal with the templates part of the output. 2014-08-18 13:09:26 +02:00
Eloy Durán
ce150dbab3 [Instruments] Always try to find the instrument CLI tool in the right xcode_dir. 2014-08-18 13:01:51 +02:00
Watson
a7c8699013 [NEWS] fix RM-563 2014-08-18 12:26:30 +09:00
Watson
a7dd9c405b [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-18 12:26:12 +09:00
Watson
ec3e808e3d [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-18 12:18:08 +09:00
Watson
d06a688299 [NEWS] fix RM-562 2014-08-16 15:05:46 +09:00
Watson
88293d0666 use absolute xcodebuild path to remove "xcodebuild: error" message
http://hipbyte.myjetbrains.com/youtrack/issue/RM-562
2014-08-16 15:05:03 +09:00
Eloy Durán
7f51c3ac7b [vm] sync 2014-08-15 19:33:44 +02:00
Eloy Durán
60c3e5659e [NEWS] Document fix for iOS 8 landscape view selection. 2014-08-15 18:55:10 +02:00
Eloy Durán
e7df162215 [NEWS] Document fix for RM-522. 2014-08-15 16:58:35 +02:00
Eloy Durán
9e3b2e11dd [sim] Ensure that only the main Simulator window is recognised.
Ignoring other windows such as an external display.
2014-08-15 16:55:28 +02:00
Eloy Durán
8b0f0da9c5 [sim] Recognise iOS 8 simulator window.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-522.
2014-08-15 16:29:42 +02:00
Eloy Durán
a6b5bc2ecf [data] Raise informative error when trying to build REPL dylib with no SDK older than 7.1. 2014-08-15 12:52:42 +02:00
Watson
153f33d67a [NEWS] fix RM-557 2014-08-15 16:56:56 +09:00
Watson
9e0c2b53c2 [iOS8] launch a simulator which match version of SDK
http://hipbyte.myjetbrains.com/youtrack/issue/RM-557
2014-08-15 16:47:56 +09:00
Laurent Sansonetti
e6eebaa672 sync 2014-08-14 19:38:00 -04:00
Laurent Sansonetti
70224dc851 make sure we use 'adb -d' since an emulator could be running at the same time 2014-08-14 18:22:26 -04:00
Watson
7915d3c9fb [NEWS] fix RM-556 2014-08-15 00:57:06 +09:00
Watson
29a18eb3e2 [NEWS] fix RM-553 2014-08-13 20:04:34 +09:00
Watson
c794a3ee45 add validation into app.vendor_project('xxx', :xcode, ...) because xcodebuild command fails if xcode project directory is not writable 2014-08-13 20:00:50 +09:00
Watson
3d1e080c25 fix a bug where vendor library contained in gem causes a build error with system bundled ruby
http://hipbyte.myjetbrains.com/youtrack/issue/RM-553
2014-08-13 19:11:26 +09:00
Watson
c4749f9a58 [NEWS] fix RM-555 2014-08-12 22:32:40 +09:00
Watson
2c0f79b65a [NEWS] fix RM-554 2014-08-12 14:43:17 +09:00
Watson
ae27ef7ba0 [NEWS] fix RM-475 2014-08-11 21:51:38 +09:00
Laurent Sansonetti
97ed6ca4a7 list devices we know are supported 2014-08-09 23:03:47 +02:00
Laurent Sansonetti
685598ec67 all android API levels are now supported 2014-08-09 23:02:43 +02:00
Laurent Sansonetti
98b05acb90 mention java 1.7 support 2014-08-09 23:02:25 +02:00
Laurent Sansonetti
e22d6ed70f sync 2014-08-09 21:24:46 +02:00
Laurent Sansonetti
8f5c3dce69 before installing an app, verify that the usb-connected device runs an API version higher or equal to the app's one 2014-08-09 21:23:24 +02:00
Laurent Sansonetti
af9a7d0f29 sync 2014-08-09 18:00:39 +02:00
Laurent Sansonetti
06df7b7644 credits 2014-08-09 12:35:56 +02:00
Laurent Sansonetti
8c8206be1b sync 2014-08-09 12:34:38 +02:00
Laurent Sansonetti
49cf996453 support all versions of android 2014-08-09 12:31:48 +02:00
Laurent Sansonetti
b4cb35616e fail with a proper error message in case the NDK does not support the API level we want; lower the API level in the NDK when needed (ex. 10 and 11 should use 9 since NDK does not support these) 2014-08-09 12:30:02 +02:00
Laurent Sansonetti
f27d56f00a mention that older androids have different steps to enable developer mode 2014-08-09 11:47:28 +02:00
Laurent Sansonetti
ee55fdf9f1 add NEWS file for pre-release 2014-08-09 11:26:44 +02:00
Laurent Sansonetti
f13425acc9 Fixed detection of the build tools directory. In some installations of the NDK, the directory can be a version number (ex. '20.0.0').
Patch by Mark Villacampa.
2014-08-09 11:26:44 +02:00
Laurent Sansonetti
3fe0821c88 Remove configChanges from the manifest.
Gives problems in older versions and also Google recommends using it as a last resort

"Using this attribute should be avoided and used only as a last resort."
http://developer.android.com/guide/topics/manifest/activity-element.html

Patch by Mark Villacampa.
2014-08-09 11:26:44 +02:00
Laurent Sansonetti
ee36b4b967 Use System.loadLibrary() to load the payload. This is what JNI sample apps use.
Line 64:
https://android.googlesource.com/platform/development/+/android-4.4.4_r2/ndk/samples/hello-jni/src/com/example/hellojni/HelloJni.java

This makes RubyMotion work on older Android versions (such as API 8).

Patch by Mark Villacampa.
2014-08-09 11:26:44 +02:00
Laurent Sansonetti
39c8890c08 JDK 7 requires explicitly setting this. Should work in JDK 6 too.
"Caution: As of JDK 7, the default signing algorithim has changed, requiring you to specify the signature and digest algorithims (-sigalg and -digestalg) when you sign an APK."

Google Cache:
http://webcache.googleusercontent.com/search?q=cache:OjyaP-Zoz-MJ:developer.android.com/tools/publishing/app-signing.html+&cd=1&hl=es&ct=clnk&client=safari

(Patch by Mark Villacampa)
2014-08-09 11:26:44 +02:00
Watson
c37943bd40 sync 2014-08-09 11:32:57 +09:00
Laurent Sansonetti
afc8381d54 better zipalign detection with a fallback on tools/zipalign (old SDKs) 2014-08-08 23:29:05 +02:00
Watson
0d1abd53e9 [NEWS] Improved Object#method_missing performance. ~8 times faster 2014-08-09 05:03:26 +09:00
Laurent Sansonetti
e725e4d0c3 add support for Android level 8 (2.2.2) 2014-08-08 19:07:05 +02:00