laptop and a wrench

Bug

The old .mmpk file is displayed when the .mmpk file name is the same in ArcGIS Runtime SDK for iOS.

Last Published: August 13, 2019 ArcGIS Runtime SDK
Bug ID Number BUG-000122948
SubmittedJune 10, 2019
Last ModifiedJune 5, 2024
Applies toArcGIS Runtime SDK
Version found100.5
Operating SystemApple iOS
Operating System Version12.0x
StatusWill Not Be Addressed

Additional Information

A singleton instance of a LoginBusinessInterface class is holding on to the mobile map package instance. There is also a singleton instance of a MapFramework class holding on the ArcGIS Map and Feature layers from the .mmpk file. Because of these permanent references, updating the .mmpk file with a new file of the same name does not work. iOS is a reference counted programming environment, which means that as soon as an instance’s lifecycle comes to an end, its dependencies can be destroyed and any resources it is holding on to can be relinquished. For this particular case, make sure the references are released (e.g. by setting them to nil) to the previous feature layers and mobile map package before a new .mmpk file is copied on top of the existing one.

Steps to Reproduce

Bug ID: BUG-000122948

Software:

  • ArcGIS Runtime SDK

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options