Forum Xamarin.iOS

Cannot update Apple API Documentation

MikkelRostockMikkelRostock DKMember ✭✭

I constantly get this popup in VS2010 saying: "Apple API Documentation is outdated. Do you want to update it?"

When I click yes, I open up Output (Mac Server Log) and see that it downloads a file:

"Downloading Apple docs from to /tmp/"

When download is finished, it starts installing, and I get a lot of errors - see attached logging info from VS2010 output.


  • josemiguel.torresjosemiguel.torres ESXamarin Team Xamurai

    Hi Miros,

    Did you have the latest Xamarin.iOS version? there was a bug regarding to this issue. If you do have the latest version do the following:

    1.- modifiy the /Developer/MonoTouch/usr/share/doc/MonoTouch/ file and set the SDK_VERSION=6.1
    2.- launch $ sudo ./

    it should set the latest version to 6.1 and no more popup should be displayed.


  • MikkelRostockMikkelRostock DKMember ✭✭

    I'm using VS2010 on Windows PC with the Xamarin plugin - I guess your advise is for the Xamarin Studio on Mac OS right?

  • josemiguel.torresjosemiguel.torres ESXamarin Team Xamurai

    No it is not. The Apple API Documentation merge and sync takes place in the Mac build host (VS is just a client). The issue you are getting takes place, therefore, in the Mac so if you follow the steps I pointed out above the downloading, merging and sync'ing of the Apple API Doc will take place and will fix the issue.

  • MikkelRostockMikkelRostock DKMember ✭✭

    Of course, that's right, thank you - will try that later!

  • MikkelRostockMikkelRostock DKMember ✭✭
    edited May 2013

    @jtorres, I tried updating like you suggested, but that didn't do the trick for me.

    When I restart everything and load project in VS2010 again, the Mac Server Log shows the messages listed below, and then the popup appears again.

    [2013-05-21 12:32:18.8] Starting /Developer/MonoTouch/usr/bin/mtouch -sdkroot "/Applications/" --entitlements

    [2013-05-21 12:32:22.3] stdout: c01930780d786024c087e27bec42de9eb7407a0d MonoTouch Business 2014-04-08T15:49:23

    [2013-05-21 12:32:22.4] Command [Info: CommmandUrl=Info] finished (9)

    [2013-05-21 12:32:22.4] Handling with command: [StatusSdk: CommmandUrl=StatusSdk] (9)

    [2013-05-21 12:32:22.4] Attempting to acquire command execution lock, timeout set to 00:10:00

    [2013-05-21 12:32:33.4] monotouch.xml

    [2013-05-21 12:32:33.4] OpenTK.xml

    [2013-05-21 12:32:33.4] MonoTouch.Dialog-1.xml

    [2013-05-21 12:32:33.4] MonoTouch.NUnitLite.xml

    [2013-05-21 12:32:33.4] NamespaceSummaries.xml

    [2013-05-21 12:32:36.3] Using

    [2013-05-21 12:32:37.0] API Docs installed version:

    [2013-05-21 12:32:37.0] API Docs official version:

    [2013-05-21 12:32:37.0] Apple Docs need to be updated.

    [2013-05-21 12:32:37.0] Command [StatusSdk: CommmandUrl=StatusSdk] finished (9)

  • MikkelRostockMikkelRostock DKMember ✭✭

    @jtorres - Any clue how I might resolve this issue? Currently I'm just clicking "No" every time the popup shows...

Sign In or Register to comment.