Quantcast iOS 4.2 beta 3 seeded to developers « iPad in Canada Blog - Canada's #1 iPad Resource iPad in Canada Blog – Canada's #1 iPad Resource

iOS 4.2 beta 3 seeded to developers

by on October 12th, 2010

As we inch closer to the November release for iOS 4.2 on the iPad, Apple keeps pumping out new beta versions for the developer community. Beta 3 is released today, and I’m sure it will be as stable as Beta 2 that many of us have been using. Doesn’t look like there are many major improvements to this beta, but it appears there are some AirPrint improvements.

Feeling lucky and got a developer account? Login and share your thoughts on the latest beta!

Apple Developer Portal [link]

Release notes after the break:

Introduction

iOS SDK 4.2 provides support for developing iOS applications and includes the complete set of Xcode tools, compilers, and frameworks for creating applications for iOS and Mac OS X. These tools include the Xcode IDE and the Instruments analysis tool among many others.

With this software you can develop applications that run on iPhone, iPad or iPod touch running iOS 4.2. You can also test your applications using the included iPhone Simulator, which supports iOS 4.2. Installing iOS SDK 4.2 requires a Macintosh computer running Mac OS X 10.6.4 (Snow Leopard) or later.

For more information and additional support resources, visit:

http://developer.apple.com/programs/ios/

Bug Reporting

Please report any bugs not mentioned in the “Notes and Known Issues” section using the Apple Bug Reporter on the Apple Developer website at: http://developer.apple.com/bugreporter/. Additionally, you may discuss these issues and iOS SDK 4.2 in the Apple Developer Forums: http://devforums.apple.com.

Notes and Known Issues

The following issues relate to using the 4.2 SDK to develop code.

Xcode

  • There is a new Base SDK setting called “Latest SDK”. This is the recommended choice for all projects and will cause your project to always build against the newest available iOS SDK.
  • The Overview popup menu will display “Base SDK Missing” if a project was created with an SDK earlier than iOS SDK 4.2. However, after selecting a new SDK that Overview popup may still display “Base SDK Missing”.To work around the issue, close and reopen the project window.

Audio

Calendar

  • Calendar can now import .ics files directly as a way to add events. If your app has access to .ics files, you should test importing them using the UIDocumentInteractionController API.

Compiler

If you are using the “LLVM Compiler” (a.k.a. Clang) you may experience problems with exception handling in Objective-C that manifest as exceptions not being caught in the appropriate places.

To work around this issue, add the -fexceptions option explicitly to the Other C Flags build setting of your Xcode project.

FairPlay

  • Books bought from the Apple iBookstore fail to load in iBooks because “the requested resource is missing”.

GameKit

MapKit

  • For applications built against iOS 4.2 and later, MapKit will now conditionally display annotation views based on the currently visible region of the map. To account for this, developers should make sure they reuse annotation views as documented and never assume that the absence of an annotation view implies the absence of a corresponding annotation

Printing

  • iOS 4.2 devices can print wirelessly to printers that support AirPrint, including:
    • HP Photosmart Premium Fax e-All-in-One Printer – C410
    • HP Photosmart Premium e-All-in-One Printer series – C310
    • HP Photosmart Plus e-All-in-One Printer series – B210
  • iOS 4.2 devices can print to printers shared through a Mac or a PC.
  • For iOS 4.2 beta 3, testing printing requires:
    • A printer that supports AirPrint, running the latest available firmware
    • A printer shared through a Mac running Mac OS X 10.6.5 beta, available on the iOS developer page
    • A printer shared through a PC running iTunes 10.1 beta, available on the iOS developer page

Simulator

  • Building an app that weak links CoreVideo.framework against the 4.2 Simulator SDK and then running that application against the 3.2 Simulator will result in a crash. The same configuration will work when building against the 4.2 device SDK and running on a 3.2 device.

Weak Linking

  • The following frameworks currently do not support weak linking by way of the NS_CLASS_AVAILABLE macro:AV Foundation

    Core Animation

    Core Telephony

When targeting older versions of iOS, you can check the class availability in these frameworks by calling the NSClassFromString function and seeing if it returns a non-nil value. For information about using the NS_CLASS_AVAILABLE macro, see “iOS 4.2” in What’s New in iOS.

**Want the BEST new iPad protection? Order your invisibleSHIELD by ZAGG, the strongest protection for your new iPad backed by a 30 day money back guarantee, lifetime replacement warranty, and FREE shipping! Use coupon code 'iphoneinca' for 20% off your purchase! Order today!**

Posted under: Uncategorized