Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS 5.1 with Xcode 4.2 and retina in iPad 3

i have a Mac with Mac OS X Snow Leopard, can i add iOS 5.1 to it?

With the new resolution for iPad 3, how we will do with images, because if the app will run in iPhone 3GS, 4 and iPad 3 i think we should have 3 images with different name like @3x.png or .. thank you.

like image 920
Red Mak Avatar asked Mar 08 '12 01:03

Red Mak


People also ask

Can I install Xcode on iPad?

You currently cannot install Xcode on an iPad or iPhone, or any device other than a mac running OSX.

Can Xcode run on iOS?

This version of Xcode: Includes SDKs for iOS 16, iPadOS 16, macOS 13, tvOS 16, and watchOS 9. Supports on-device debugging in iOS 11 or later, tvOS 11 or later, and watchOS 4 or later. Requires a Mac running macOS Monterey 12.4 or later.


2 Answers

@WrightCS's answer handles the part about the images perfectly well.

However, you can get the simulator and SDK to run on Snow Leopard.

  1. Download Xcode version 4.3.1 bypassing the AppStore from here http://developer.apple.com/downloads
  2. Open up the package and copy

    /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Develop‌​er/SDKs/iPhoneOS5.1.sdk to  /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk 
  3. Copy

    /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceS‌​upport/5.1 to /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.1 (9B176 
  4. Copy

    /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/‌​Developer/SDKs/iPhoneSimulator5.1.sdk to  /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1‌​.sdk 

Adapted from here.

Edit: Get your iPad Retina on by copying

/Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app to /Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app` 
like image 108
Dan Rosenstark Avatar answered Nov 11 '22 10:11

Dan Rosenstark


iOS 5.1 comes with Xcode 4.3.1 which is only available for Lion — the only download available in the Developer section on Apple's Developer portal for iOS 5.1.

Basically, the iPad images are going to be double the size of the image you would normally create for the iPad. For instance:

Launch images

iPhone: : 320 x 480

iPhone @2x: 640 x 960

iPad: 768 x 1004 (portrait), 1024 x 748 (landscape)

iPad @2x: 1536 x 2008 (portrait), 2048 x 1496 (landscape)

Per Apple

Get your app ready for the new iPad.

To ensure your iOS 5 apps are optimized for the new iPad, review the updated iOS Human Interface Guidelines and iOS App Programming Guide.

  • iOS Human Interface Guidelines

  • iOS App Programming Guide

iOS SDK Release Notes for iOS 5.1

With this software you can develop applications that run on iPhone, iPad, or iPod touch running iOS 5.1. You can also test your applications using the included iOS Simulator, which supports iOS 5.1. iOS SDK 5.1 requires a Macintosh computer running OS X 10.7 (Lion).

Naming Scheme:

This seems to be the naming scheme for the new retina graphics for the new iPad.

icon@2x~iphone.png; icon@2x~ipad.png

like image 45
WrightsCS Avatar answered Nov 11 '22 12:11

WrightsCS