CIQ 3.0.7 SDK update broken

sdks.xml has the URL for the last SDK.

<sdk format="2">
<versionNumber>3.0.7</versionNumber>
<title>Connect IQ SDK 3.0.7</title>
<subtitle>release notes for 3.0.7</subtitle>
<agreement>developer.garmin.com/.../agreement>
<url>
<windows>sdks/connectiq-sdk-win-3.0.6-2018-11-27-33ec0d6.zip</windows>
<mac>sdks/connectiq-sdk-mac-3.0.6-2018-11-27-33ec0d6.dmg</mac>
<linux>sdks/connectiq-sdk-lin-3.0.6-2018-11-27-33ec0d6.zip</linux>
</url>
<releaseDate>December 20, 2018</releaseDate>
</sdk>

The correct url is:
-3.0.7-2018-12-17-efeb3e3
  • Yup, there's a problem with the 3.0.7 update for Mac. The Eclipse Connect IQ SDK manager tells me the 3.0.7 update is available, and makes all the right noises as I download and then accept "Use 3.0.7 as the SDK manager", but it doesn't!
    SDK manager still tells me it's running 3.0.6 and tells me 3.0.7 is available!
    When I caught the download, I saw that it's downloading 3.0.6.
    (I've done it three times and restarted Eclipse in between)
  • RaceQs None of the links are working. The XML that specifies that download location (posted above) is wrong, so it won't work until Garmin fixes it at their end. (Since the SDK manager always downloads the XML from Garmin first.)

    If you really want to use 3.0.7 now, you can download it manually (use the link below), extract it to your SDKROOT, move the 3.0.6 folder away and rename 3.0.7 to the 3.0.6 folder name. I would just wait tho.

    https://developer.garmin.com/connect-iq/sdk/
  • No need to rename anything. There's no reason to.

    You do the direct download of 3.0.7 and extract it to a location on the disk. I keep all the SDKs in the same place.

    Then in eclipse, go to window>preferences>Connect IQ and set the path to the SDK. That way on disk, the names for the SDK are correct.
  • jim_m_58 sorry you're absolutely right. I was just too lazy to find the location of the correct setting.
    Sorry for the bad advice. I always do things the hard way >_>
  • I realize that the 3.0.7 SDK was announced publicly, but the XML that describes the SDKs that are available has this line right at the tippy-top..

    <sdks latestSdkVersion="3.0.6">


    Not that it means anything, just something I noted while working on a related project...
  • Travis.ConnectIQ true, but 3.0.7 is still in the SDK manager list and the download button doesn't work.
  • OK, I've downloaded SDC 3.0.7 and now have connectiq-sdk-mac-3.0.7-2018-12-17-efeb3e3.dmg in my Downloads folder.
    I have extracted the files and so also have a folder "connectiq-sdk-mac-3.0.7-2018-12-17-efeb3e3" containing the extracted folders alongside the earlier SDK folders for 3.0.6, 3.0,5 etc.
    Even after an Eclipse restart, Connect IQ SDK Manager (using my Downloads folder at the location for SDKs) is telling me 3.0.6 is current and 3.0.7 is available for download.
    How do I tell SDK manager to use 3.0.7?
    @Jim_m_5's guide
    5 Then in eclipse, go to window&gt;preferences&gt;Connect IQ and set the path to the SDK. That way on disk, the names for the SDK are correct.
    doesn't work as there's no Eclipse&gt;window&gt;preferences option.
    [EDIT]
    I guess there's more to this than just unpacking the file. The older SDK folders have perms drwxr-xr-x while my 3.0.7 has drwxr-xr-x@ (with trailing @ - extended attributes)

  • RaceQs In OS X, try Eclipse > Preferences > Connect IQ.

    I wouldn't worry about the extended attributes unless something isn't working. One of the attributes is the 'quarantine" attribute, which can get added to files depending on how they were downloaded from the internet.

    Even after an Eclipse restart, Connect IQ SDK Manager (using my Downloads folder at the location for SDKs) is telling me 3.0.6 is current and 3.0.7 is available for download.


    As previously explained, the XML which contains the metadata for SDK versions has incorrect information about 3.0.7. No amount of restarting Eclipse is going to fix that until Garmin fixes the XML on that. You can't even edit the XML by hand yourself, because the SDK manager always downloads it from Garmin.

    Even after you apply this workaround, the SDK manager will still show that 3.0.7 is available for download, although it will no longer tell you that you are using 3.0.6
  • In OS X, try Eclipse > Preferences > Connect IQ.


    OK found it, thanks, and changed it from pointing to the 3.0.6 folder, to 3.0.7
    Now SDK Manager is still saying 3.0.7 is available for download but none of them is tagged as being the Current SDK!
    Builds still run OK, but I'm not sure how to confirm it's using 3.0.7 (the fix for the behaviorDelegate's response to the button press on the VAHR still gives onMenu, not onSelect)
    ???????

  • Now SDK Manager is still saying 3.0.7 is available for download but none of them is tagged as being the Current SDK!




    Yep, that's exactly what I said would happen. The XML file that the SDK Manager uses to tell you that stuff is broken....

    Even after you apply this workaround, the SDK manager will still show that 3.0.7 is available for download, although it will no longer tell you that you are using 3.0.6



    I'm not sure how to confirm it's using 3.0.7


    When you run the simulator, the About > Help menu (or OS X equivalent) will show version 3.0.7. I can confirm the simulator is working properly for me -- when I press START on VAHR, it sends KEY_ENTER to the app, not MENU.

    BTW, you can work around this problem by pressing ENTER on your actual keyboard (after clicking on the simulator window to give it keyboard focus). That will send KEY_ENTER to the app.

    Also, for builds, try looking at the build output in the console. You may have to switch manually if there are no build errors (click on the icon of the console with the down arrow).:

    In my case:
    ... C:\connectiq\connectiq-sdk-win-3.0.7-2018-12-17-efeb3e3\bin\monkeybrains.jar -o ...


    For you it will look different, but the path to the SDK will still have 3.0.7 and 2018-12-17 in it.