Update iOS Simulator to iOS 7.1.2?

Discussion in 'iOS Programming' started by ArtOfWarfare, Jul 26, 2014.

  1. ArtOfWarfare macrumors 604

    ArtOfWarfare

    Joined:
    Nov 26, 2007
    #1
    I have tests that are failing in Xcode sometimes with this error message:

    Code:
    TASK-ASSERT: cfurlcache - ProcessCacheTask - FAILED to get task-assertion, going commando with 1 items to process.
    It seems this is specific to some versions of iOS 7, according to this thread:
    http://stackoverflow.com/questions/...sh-encountered-an-xpc-error-while-communicati

    I checked and saw that my iOS Simulator was only running iOS 7.1 and that the currently released version of iOS is 7.1.2, so I figured I'd update the simulator to that.

    I checked the Mac App Store to see if there were updates available for Xcode there. Nope.

    I checked the iOS Dev Center to see if a new iOS SDK was available there. They list Xcode 5.1.1, which comes with iOS SDK 7.1. They also have the files so that you can update your physical iOS device to iOS 7.1.2, but I don't think those work for updating the iOS Simulator (especially since they're made specifically for each hardware model.)

    I checked Xcode > Preferences > Downloads, and clicked on "Check and Install Now" and it gives me the error message:
    I tried searching online for this error and found nothing with DuckDuckGo or Google.

    So... am I missing something? How do I update the iOS Simulator from iOS 7.1 to a newer version?
     
  2. firewood macrumors 604

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
    #2
    Apple usually does not update the Simulator for any 0.0.x iOS updates. You have to test on actual iOS devices to determine any differences.

    If your Xcode installation is acting flaky, you can always delete and completely re-install it.
     
  3. ArtOfWarfare thread starter macrumors 604

    ArtOfWarfare

    Joined:
    Nov 26, 2007
    #3
    The problem is that the bug only appears in Unit Tests and that Xcode refuses to run Unit Tests on iOS devices (it'll tell you they can only be run on the iOS simulator.)
     
  4. PhoneyDeveloper macrumors 68030

    PhoneyDeveloper

    Joined:
    Sep 2, 2008
    #4
    I would file a bug with Apple. They sometimes respond with relevant info.

    If it's important I'd use one of my code level incidents to get help from Apple.

    To me this sounds like an Apple bug that only affects the sim.
     

Share This Page