Apple releases iOS 5 GM for developers, here’s the change log

Breaking

With iOS 5 being released on October 12th to everyone (well, everyone who has relatively recent Apple device), Apple is making it available to developers today for testing. It just hit Apple’s developer site, and we’re in the process of getting it installed on our devices. We’ll update you with any new changes we find, and you do the same, alright? In the mean time, the full change log we received is after the break!

Thanks, Jean!

Notes and Known Issues

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

Accounts

  • When creating an iCloud account, you can use any Apple ID as long as it is a full email address and not a MobileMe account. If you have a MobileMe account, you can move that account to iCloud. You can find more information at: http://me.com/move

AirPlay

  • Starting in iOS 5, AirPlay is enabled by default for video content in applications and websites.
  • In iOS 5, AV Foundation adds support for video playback via AirPlay.

APIs

  • The NSNetService class and CFNetService APIs do no include P2P interfaces by default. To browse, register, or resolve services over P2P interfaces, an application needs to use the Bonjour DNSService*() APIs noted below.
  • Setting the interfaceIndex parameter to kDNSServiceInterfaceIndexAny in the following API’s will not include P2P interfaces by default. To include P2P interfaces, you must now set thekDNSServiceFlagsIncludeP2P flag when using kDNSServiceInterfaceIndexAny or set the interfaceIndex to kDNSServiceInterfaceIndexP2P. The affected APIs are:
    • DNSServiceBrowse
    • DNSServiceRegister
    • DNSServiceResolve
    • DNSServiceRegisterRecord
    • DNSServiceQueryRecord

API Validation

  • In the iOS 5 development tools, it is possible to extract APIs used by an application and have them checked for use of private APIs. This option is offered when you validate your application for app submission.

Apple TV

  • The Apple TV Software enables users to mirror the contents of an iPad 2 to an Apple TV (2nd generation) using AirPlay. This software also enables Photo Stream on Apple TV so users can access photos stored in iCloud. Apple TV Software beta is being provided to test the latest AirPlay functionality with your iOS 5 apps and web sites. If you wish to install Apple TV Software beta on your device, you must first register your device UDID in the iOS Developer Program Portal.

Automatic Reference Counting

  • In Xcode, if the configuration is set to Device and there is a space in the path of one of the source files (more commonly, the project is inside a directory with spaces), the “Convert to Automatic Reference Counting” step (after Precheck) will fail with error: Error in format of file: <path>.If encountered, the user should switch to Simulator and retry the migration.

Binary Compatibility

  • On applications linked against the iOS 5 SDK, scroll view content offsets will no longer be rounded to integral pixels during a pinch gesture.

GameKit

  • Match data for turn-based matches is limited to 4 KB.
  • FIXED: Auto-matching with the turn-based view controller does not work. Invites or the direct auto-match API can be used as a workaround.

iCloud Backup

  • Backups made prior to September 22nd are no longer available. It is strongly advised to upgrade to this version of iOS 5 in order to continue backing up your devices

iCloud Storage

  • In the iCloud key-value store, the maximum number of keys has been raised to 256.
  • All newly generated provisioning profiles are now automatically enabled for iCloud. If you are using an Xcode managed Team Provisioning Profile, click refresh in the Xcode Organizer to obtain a new iCloud-enabled profile. To enable all other provisioning profiles for iCloud, simply regenerate your profiles in the iOS Provisioning Portal.
  • If your application is using the NSMetadataQuery class, you must set a predicate and the predicate is now honored. But the predicate is an NSPredicate-style predicate, not a Spotlight-style predicate. An example of the difference is that you must use LIKE instead of = for wildcard matching. The differences are defined in more detail at:http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Predicates/Articles/pSpotlightComparison.html#//apple_ref/doc/uid/TP40002370-SW1.
  • The setSortDescriptors: method of NSMetadataQuery is not supported.
  • To enable iCloud storage within your apps in iOS 5, click the Enable Entitlements checkbox in the Summary pane of your project. Xcode creates a custom entitlements file for your project that automatically includes your Team ID. You can add additional iCloud Container values as required by your application. (Note that you must regenerate your existing provisioning profiles, either with Xcode or in the iOS Provisioning Portal, to use iCloud storage.)
  • The container identifier string you pass to the URLForUbiquityContainerIdentifier: method of NSFileManager must include the team ID at the beginning of the string. As a convenience, you can pass nil to retrieve the first document container ID specified in your app’s entitlements.
  • In iOS 5, files that are protected via Data Protection cannot be used with iCloud Storage APIs.
  • File presenters—objects that adopt the NSFilePresenter protocol—do not receive some of the messages that they are supposed to receive, including:

    As a work around, implement the relinquishPresentedItemToWriter: method and check to see if the writer actually wrote when your file presenter reacquires the file.

  • If you report a bug related to the iCloud storage interfaces, please include the logs collected during your debugging session. To generate these logs, you must install a special debug profile on your device.The debug profile can be obtained from http://connect.apple.com. This profile enables the generation of debug logs that are needed to diagnose any problems using iCloud storage. The instructions to collect the logs are:
    1. Install the profile. (The easiest way to do this is to mail it to yourself and open the attachment on your device.)
    2. Reproduce the bug.
    3. Sync with iTunes to pull the logs off your device.
    4. Attach the logs to your bug report. You can find the logs in ~/Library/Logs/CrashReporter/MobileDevice/DeviceName/DiagnosticLogs.

    These logs can grow large very quickly, so you should remove the profile after you have reproduced the problem and pulled the logs of your device.

  • File names are case-insensitive in Mac OS X but case-sensitive in iOS. This can lead to problems when sharing files between the two using iCloud. You should take steps on iOS to avoid creating files whose names differ only by case.

iTunes

  • The version of iTunes that comes with the GM release cannot sync devices that have the beta 7 software installed. To avoid this problem, do the following:
    1. Sync any devices that have beta 7 installed to the version of iTunes that came with beta 7.
    2. Upgrade iTunes to the version that comes with the GM release.
    3. Connect the device and install the GM software. (Understand that you might see a failure to sync error when you first connect the device.)
    4. After installing the GM software, restore from your backup you made in step 1.

Music Player

  • FIXED: When deleting a song or video from Music/Videos on the device, the Music Player app crashes.

Security

  • In iOS 5, the signing of certificates with MD5 signatures is not supported. Please ensure that certificates use signature algorithms based on SHA1 or SHA2.

Springboard

  • Push and local notifications for apps appear in the new Notification Center in iOS 5. Notification Center displays notifications that are considered “unread.” To accommodate push and local notifications that have no unread status, set your application’s badge count to 0 to clear that app’s notifications from Notification Center.

UI Automation

  • When using the performTaskWithPathArgumentsTimeout method of UIAHost in a UI Automation script where the API outputs excessively (say, thousands of lines of text) to standard out or standard error, the task may deadlock until the timeout is reached, at which point it will throw a JavaScript exception.
  • The lock() and unlock() functions of UIATarget have been replaced with the lockForDuration(<seconds>) function.
  • In iOS 5, you can now trigger the execution of a UI Automation script on an iOS device from the host terminal by using the instruments tool. The command is:
    • instruments -w <device id> -t <template> <application>
  • When using the cli instruments for UI Automation you can now target the default Automation Template and pass the script and results path into the tool as environment variable options. For example:
    • instruments -w <device id> -t /Developer/Platforms/iPhoneOS.platform/Developer/Library/Instruments/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate <application> -e UIASCRIPT <script> -e UIARESULTSPATH <results path>

UIKit

  • Rotation callbacks in iOS 5 are not applied to view controllers that are presented over a full screen. What this means is that if your code presents a view controller over another view controller, and then the user subsequently rotates the device to a different orientation, upon dismissal, the underlying controller (i.e. presenting controller) will not receive any rotation callbacks. Note however that the presenting controller will receive a viewWillLayoutSubviews call when it is redisplayed, and the interfaceOrientation property can be queried from this method and used to lay out the controller correctly.
  • In iOS 5, the UIPickerView class doesn’t send its pickerView:didSelectRow:inComponent: delegate message in response to the programatic selection of an item.
  • Returning nil from the tableView:viewForHeaderInSection: method (or its footer equivalent) is no longer sufficient to hide a header. You must override tableView:heightForHeaderInSection: and return0.0 to hide a header.
  • In iOS 5, the UITableView class has two methods to move one cell from one row to another with defined parameters. These APIs are:
  • Using the UIWebView class in Interface Builder, setting a transparent background color is possible in iOS 5. Developers compiling against the new SDK can check their XIB for the UIWebView transparent setting.
  • In iOS 5, the UINavigationBarUIToolbar, and UITabBar implementations have changed so that the drawRect: method is not called unless it is implemented in a subclass. Apps that have re-implementeddrawRect: in a category on any of these classes will find that the drawRect: method isn’t called. UIKit does link-checking to keep the method from being called in apps linked before iOS 5 but does not support this design on iOS 5 or later. Apps can either:
    • Use the customization API for bars in iOS 5 and later, which is the preferred way.
    • Subclass UINavigationBar (or the other bar classes) and override drawRect: in the subclass.
  • The indexPathForRow:inSection:section, and row methods of NSIndexPath now use NSInteger instead of NSUInteger, so that these types match with methods defined on UITableView.
  • The behavior of the UITableView class’s scrollToRowAtIndexPath:atScrollPosition:animated: method has changed. If a scroll position of UITableViewScrollPositionTop orUITableViewScrollPositionBottom is specified, the method now adjusts for the top and bottom portions of the contentInset property.
  • In releases prior to iOS 5, the UIPopoverController class would unconditionally set the autoresizing masks of view controllers that provided the content for the popover controller. It would also unconditionally set the autoresizing masks of the views of view controllers pushed on to a UINavigationController object which was the content view controller of the popover controller.The UIPopoverController class no longer does this for applications linked against iOS 5 or later. Developers should ensure that the autoresizing masks of views are set properly to allow for arbitrary resizing within any container, not just popovers. A mask of (UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight) is reasonable.
  • The completion handler for saveToURL:forSaveOperation:completionHandler: is called outside of the coordinated write block.
  • The autosaveWithCompletionHandler: method is now only called for period-based saves when it is safe to return without saving. Documents must save, though, if thesaveToURL:forSaveOperation:completionHandler: method is invoked.

Safari and WebKit

  • In iOS 5, a new inherited CSS property, -webkit-overflow-scrolling, is available. The value touch allows the web developer to opt in to native-style scrolling in an overflow:scroll element. The default value for this property is auto, which allows single-finger scrolling without momentum.
  • The WebKit framework has been updated to a version which closely matches the engine used by Safari 5.1 on the Desktop. There are some areas to be aware of with the new WebKit framework on iOS 5. Specifically, for web sites and native apps that use UIWebView:
    • There is a new HTML5-compliant parser.
    • Text layout width may change slightly because word-rounding behavior now has floating-point-based precision.
    • There is improved validation of the <input type=number> form field, which includes removing leading zeros and number formatting.
    • Touch events are now supported on input fields.
    • <input type=range> is now supported.
    • window.onerror is now supported.
    • There is a new user agent that does not have locale information in the User Agent string.
    • URLs are now canonicalized by making the scheme all lowercase. If a fake URL is used to pass information from a UIWebView back to native code, make sure that the scheme is always lowercase, or that the native code compares the scheme in a case-insensitive manner.

Wi-Fi Syncing

  • Wireless syncing support requires Mac OS X 10.6.8 or Lion. You will see an option to enable wireless syncing when you connect your device to iTunes with the USB cable. It is recommended you perform your initial sync with a cable after restoring your device.
    • Wireless syncing is triggered automatically when the device is connected to power and on the same network as the paired computer. Or, you can manually trigger a sync from iTunes or from Settings > General > iTunes Sync (same network as paired computer required).
    • If you find issues with apps, media and/or photos synced to your device, you can reset then resync. From Settings > General > Reset, choose Erase all Content and Settings. Then reconnect to iTunes and sync again.

Xcode Tools

For information about changes to Xcode, Interface Builder, Instruments, and iOS Simulator, see Xcode Release Notes.

 

 

37 Comments
  • http://twitter.com/Aleis Jayrock

    U guys got OWNED today!

    the iphone 4s was such a let down.you have a whole year to wait for something new regarding phones by apple. 
    but we get a new phone with new technology monthly!you will be so behind staying up apples ass like you have.
    anyway, I FEEL VINDICATED! :)

    • Joel

      You make me laugh. Anyone who is a fanboy for any one product/service is so close-minded and moronic.

      Feeling a sense of victory for what exactly? At the end of the day was it a personal accomplishment for you? Your nothing but a sheep in a corporate world where they could care less about how you feel.

      You sir have been owned, you are the one who is a drone following suit with whatever screwed up morales you have. Really? So much “in your face” over a CELLPHONE?! Haha!

      • http://twitter.com/_labelleMICHELE ᴍɪᴄʜᴇʟᴇ ❤ (ړײ)

        You mad?!

    • http://www.droiddoes.com/ Norm

      U and the thousands of other DROID owners/virgins

    • guest

      but we can update our iphones lol

    • Aasdf

      moron

    • http://www.sakurawalker.com iEric

      Sounds like the 4S is new everything except the way it looks.  What’s the big deal?  you get a faster phone with the option of a 64GB version.  An 8MP camera.  CDMA/GSM chip This is the new iPhone, it just looks like the last iPhone.  Which I have to say the iPhone 4 was the best looking design by a long shot.

      You don’t like it buy one of @Norm_4G_LTE:disqus ‘s or @goofan:disqus ‘s old devices.

    • paddy

      teri ma ka bhosda

  • LarryK

    Siri, find me iPhone 5?

    Processing……..

    processing……

    unable to find match.

    • Tee

      Now that was funny, You made my day with that..lolololol :-) ROTF

  • Louise Schmidt

    Enough Apple start reporting on real tech rumors like the Prime

  • http://www.jeffkibuule.com Jeff Kibuule

    Does the GM seed require you to be a developer? I remember previous GM seeds did not.

    • Elite Hunting

      Yes. You must be a developer.

    • Anonymous

      developer to download it but it doesnt need a developer account to activate

    • rasengen505

      No it doesn’t. I installed it on my iPad 2 and iPhone 4 

  • Anonymous

    Don’t worry about downloading this cause this just in: No one wants it!

    • Elite Hunting

      No one wants it? More likely that it will be sold out for MONTHS. But I guess in your world that means no one wants it.

      • Anonymous

        I don’t think you realize what just happened do you? Apple just gave competition a golden ticket to market share and year over end profit. They are stuck with this piece of crap phone for at least a year. While competition is going to eat them alive.

      • Elite Hunting

        Your very premise is ridiculous. They already have the most popular phone and have just made it better. People who post about how much they hate Apple are silly and immature. I love the iPhone. But I have enough of a life that I don’t feel the need to troll websites about other phones. Get a clue.

  • pir800

    or what about “OMG SPRINT EXCLUSIVE IPHONE 5 DEAL!!!”

  • http://twitter.com/jaytee1o4 jaytee1o4

    people didnt know the 4S was coming before the 5…… i dont see how this is a let down other than its the same phone over and over again……

    • http://twitter.com/iMarky_Marc Marc Jarvis

      That’s because techies are stupid…..The iPhone 4 was the first major redesign. Why the hell would Apple change it now? They did this same crap with the three before it and these guys expected different?

  • Anonymous

    no gestures? thats is odd i should just leave my non gold on my ipad. 

  • http://twitter.com/benzworm David Doty

    I am not seeing it on the OTA yet :(

    • Anonymous

      The GM is not available OTA.

      • http://twitter.com/benzworm David Doty

        then i cant wait to get home

  • Carmen

    OK.  It says you have to have Beta 7 of iTunes to get this on your device.  Is that true or will beta 9 work?  I can’t reinstall b7 after having b8 on my comp.

    • guest

      no u need beta 7 i already tried it and am using iOS 5 right now :D

  • Ariyano08

    Is Siri available in dev GM?

  • Anonymous

    well i tried it with the ipad2 wifi, downloaded beta 9 and 7 , tried both and got error 3002, so its not willing to update? what to do? its on a mac book pro
    http://www.iphoneleaks.net/2011/10/download-ios-5-ios5-gold-master-for-iphone-ipod-touch-ipad/

  • John Fulbright

    Okay I’m lost I have a Dev account, I downloaded the iOS 5 GM and I have Beta 7 iTunes. it says the file i got off the apple developer website tells me it’s not a valid file to restore my iPhone, what am I doing wrong?

    • WTF

      You update with the sdk tool, not iTunes.

    • CrazyITMan

      The download is a dmg file. Extract the .ipsw file from it then do the restore.

  • Emandrums

    Is anyone else having issues or not seeing the personal hotspot feature in settings? Ios5 gm.

    • psu1226

      No personal hotspot for me either.

      • ss

        Reset network settings and it will show up again

  • Anonymous

    No OTA update?

blog comments powered by Disqus