I am using AGSOfflineMapTask (iOS SDK) to try and download the full contents of a map. The map is using a basemap generated from a portal item ID defined here: https://www.arcgis.com/home/item.html?id=3e1a00aeae81496587988075fe529f71
When calling getOfflineMapCapabilities none of the layers or basemap are returning that they are not downloadable, and therefore I believe I should be able to download the open street map basemap, however when I try to create an offline map job and call `start` a login screen is shown to the user, and downloading of the basemap fails with an error:
Error Domain=NSCocoaErrorDomain Code=3072 "User canceled error" UserInfo={NSLocalizedDescription=User canceled error, NSUnderlyingError=0x60000018b450 {Error Domain=com.esri.arcgis.runtime.services.error Code=499 "Token Required"
Is there anything that can be done to allow download of this layer?