Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15576] iOS: Simulator - Add support for iPad Retina (64-bit)

GitHub Issuen/a
TypeNew Feature
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2013-10-29T05:19:46.000+0000
Affected Version/sRelease 3.1.3, Release 3.1.4
Fix Version/s2013 Sprint 22, 2013 Sprint 22 API, Release 3.2.0
ComponentsCLI, iOS
Labelsmerge-3.1.4, module_build, module_cli, qe-3.1.3, qe-3.1.4, qe-3.2.0, qe-closed-3.2.0, qe-nfc, qe-testadded
ReporterWilson Luu
AssigneeSabil Rahim
Created2013-10-24T19:34:35.000+0000
Updated2014-04-22T06:25:08.000+0000

Description

Attachments

FileDateSize
config.png2013-10-24T19:34:35.000+000087712
ipad_simu.png2013-10-24T19:34:35.000+000066185
ipad_simu2.png2013-10-24T19:34:35.000+0000612941
ipad_simu3.png2013-10-24T19:34:35.000+0000502332

Comments

  1. Michael Xia 2013-10-24

    This looks to be a SDK ticket. Studio is passing in the corresponding flags of "--retina --tall -sim-64bit", and it's up to CLI/SDK to handle the values correctly.
  2. Chris Barber 2013-10-25

    Currently the --sim-64bit option is iphone only, so we'd need to shuffle around a line of code in the ios run.js hook to allow 64-bit ipad simulators as far as the CLI is concerned.
  3. Chris Barber 2013-10-25

    Here's the fix for the run hook: TIMOB-15588. ios-sim does not seem to honor the --sim-64bit flag, so [~srahim] will need to add support for that. Also, ios-sim does not support "7.0.3":
       [INFO]  Launching application in iOS Simulator
       [TRACE] Simulator environment: DYLD_FRAMEWORK_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks:/Applications/Xcode.app/Contents/OtherFrameworks
       [DEBUG] Simulator command: "/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/3.2.0/iphone/ios-sim" launch "/Users/chris/appc/workspace/testapp2/build/iphone/build/Debug-iphonesimulator/testapp22.app" --sdk 7.0.3 --family iphone
       [INFO]  Focusing the iOS Simulator
       [ERROR] An error occurred running the iOS Simulator
       [ERROR] Unknown or unsupported SDK version: 7.0.3
       [ERROR] [DEBUG] Simulator SDK Roots:
       [ERROR] [DEBUG] 'Simulator - iOS 6.1' (6.1)
       [ERROR]         /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk
       [ERROR] [DEBUG] 'Simulator - iOS 7.0' (7.0)
       [ERROR]         /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk
       [ERROR]   
       [ERROR] Project failed to build after 1s 307ms
       
    Sabil, you will need to pull the latest Titanium CLI 3.2 and latest Titanium SDK 3.2 that has applied the PR from TIMOB-15575 in order to test this.
  4. Sabil Rahim 2013-10-29

    Master PR : https://github.com/appcelerator/titanium_mobile/pull/4871 ios-sim PR : https://github.com/appcelerator/ios-sim/pull/6
  5. Wilson Luu 2013-10-29

  6. Wilson Luu 2013-12-10

    Closing ticket as fixed. Verified I was able to select iPad Retina (64-bit) from Studio. Tested on: Tested on: Appcelerator Studio, build: 3.2.0.201312091648 SDK build: 3.2.0.v20131210112451 CLI: 3.2.0-cr Alloy: 1.3.0-cr Xcode: 5.0.2 Device: ipad simulator 64-bit (7.0.3)

JSON Source