I'm working on enabling offline sync in an iOS app using ArcGIS runtime 100.6. The back end is ArcGIS Enterprise 10.7.1.
I created a web map which only uses the World Topography Map (for Export) as a basemap and a single feature service created by ESRI to as a controlled test to guard against any mistakes I could have made while publishing the services which the production app will need to consume. These should present no problem being taken offline, but this error is generated after I initiate the download:

I checked the web map settings on portal. It is shared with everyone and the "offline mode" switch is enabled, so I don't understand how I could be getting this error. To clarify, the basemap loads successfully, but the feature layer does not.
The code for initiating offline mode doesn't deviate much from the sample in this article (The function "downloadGeodatabaseForLayers() follows this article😞
func <SPAN class="token function">takeMapOffline</SPAN><SPAN class="punctuation token">(</SPAN>areaOfInterest<SPAN class="operator token">:</SPAN> AGSGeometry<SPAN class="punctuation token">)</SPAN> <SPAN class="punctuation token">{</SPAN>
<SPAN class="comment token">//1. Declare offline map task</SPAN>
<SPAN class="comment token">//let offlineMapTask = AGSOfflineMapTask(onlineMap: self.mapView.map!)</SPAN>
let offlineMap <SPAN class="operator token">=</SPAN> AGSMap<SPAN class="punctuation token">.</SPAN><SPAN class="token function">init</SPAN><SPAN class="punctuation token">(</SPAN>url<SPAN class="operator token">:</SPAN> <SPAN class="token function">URL</SPAN><SPAN class="punctuation token">(</SPAN>string<SPAN class="operator token">:</SPAN> self<SPAN class="punctuation token">.</SPAN>offlineWebMapUrl3<SPAN class="punctuation token">)</SPAN><SPAN class="operator token">!</SPAN><SPAN class="punctuation token">)</SPAN>
let offlineMapTask <SPAN class="operator token">=</SPAN> <SPAN class="token function">AGSOfflineMapTask</SPAN><SPAN class="punctuation token">(</SPAN>onlineMap<SPAN class="operator token">:</SPAN> offlineMap<SPAN class="operator token">!</SPAN><SPAN class="punctuation token">)</SPAN>
<SPAN class="comment token">//2. Define parameters</SPAN>
offlineMapTask<SPAN class="punctuation token">.</SPAN><SPAN class="token function">defaultGenerateOfflineMapParameters</SPAN><SPAN class="punctuation token">(</SPAN>withAreaOfInterest<SPAN class="operator token">:</SPAN> areaOfInterest<SPAN class="punctuation token">,</SPAN> completion<SPAN class="operator token">:</SPAN> <SPAN class="punctuation token">{</SPAN><SPAN class="punctuation token">(</SPAN>parameters<SPAN class="punctuation token">,</SPAN> error<SPAN class="punctuation token">)</SPAN> in
<SPAN class="token function">print</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="string token">"@@@ Generate parameters 1: Start"</SPAN><SPAN class="punctuation token">)</SPAN>
<SPAN class="keyword token">if</SPAN> let error <SPAN class="operator token">=</SPAN> error <SPAN class="punctuation token">{</SPAN>
<SPAN class="token function">print</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="string token">"@@@ Generate parameters 2b: Error, getting parameters failed"</SPAN><SPAN class="punctuation token">)</SPAN>
<SPAN class="token function">print</SPAN><SPAN class="punctuation token">(</SPAN>error<SPAN class="punctuation token">)</SPAN>
self<SPAN class="punctuation token">.</SPAN><SPAN class="token function">showDownloadFailedAlert</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="string token">"Error generating offline parameters: \(error.localizedDescription)"</SPAN><SPAN class="punctuation token">)</SPAN>
<SPAN class="keyword token">return</SPAN>
<SPAN class="punctuation token">}</SPAN>
guard parameters <SPAN class="operator token">!=</SPAN> nil <SPAN class="keyword token">else</SPAN> <SPAN class="punctuation token">{</SPAN>
<SPAN class="token function">print</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="string token">"takeMapOffline: No parameters provided"</SPAN><SPAN class="punctuation token">)</SPAN>
<SPAN class="keyword token">return</SPAN>
<SPAN class="punctuation token">}</SPAN>
<SPAN class="keyword token">if</SPAN> let parameters <SPAN class="operator token">=</SPAN> parameters <SPAN class="punctuation token">{</SPAN>
parameters<SPAN class="punctuation token">.</SPAN>maxScale <SPAN class="operator token">=</SPAN> <SPAN class="number token">3600</SPAN>
parameters<SPAN class="punctuation token">.</SPAN>minScale <SPAN class="operator token">=</SPAN> <SPAN class="number token">30000</SPAN>
parameters<SPAN class="punctuation token">.</SPAN>includeBasemap <SPAN class="operator token">=</SPAN> <SPAN class="token boolean">true</SPAN>
parameters<SPAN class="punctuation token">.</SPAN>isDefinitionExpressionFilterEnabled <SPAN class="operator token">=</SPAN> <SPAN class="token boolean">true</SPAN>
parameters<SPAN class="punctuation token">.</SPAN>continueOnErrors <SPAN class="operator token">=</SPAN> <SPAN class="token boolean">true</SPAN>
parameters<SPAN class="punctuation token">.</SPAN>returnSchemaOnlyForEditableLayers <SPAN class="operator token">=</SPAN> <SPAN class="token boolean">true</SPAN>
parameters<SPAN class="punctuation token">.</SPAN>attachmentSyncDirection <SPAN class="operator token">=</SPAN> <SPAN class="punctuation token">.</SPAN>bidirectional
parameters<SPAN class="punctuation token">.</SPAN>returnLayerAttachmentOption <SPAN class="operator token">=</SPAN> <SPAN class="punctuation token">.</SPAN>allLayers
<SPAN class="token function">print</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="string token">"@@@ Generate parameters 2a: Got parameters!"</SPAN><SPAN class="punctuation token">)</SPAN>
<SPAN class="comment token">//4. Create the job</SPAN>
<SPAN class="token function">print</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="string token">"@@@ Generate parameters 3: create job"</SPAN><SPAN class="punctuation token">)</SPAN>
let mapStorageURL <SPAN class="operator token">=</SPAN> self<SPAN class="punctuation token">.</SPAN><SPAN class="token function">getNewOfflineMapDirectoryURL</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="punctuation token">)</SPAN>
UserDefaults<SPAN class="punctuation token">.</SPAN>standard<SPAN class="punctuation token">.</SPAN><SPAN class="token function">set</SPAN><SPAN class="punctuation token">(</SPAN>mapStorageURL<SPAN class="punctuation token">,</SPAN> forKey<SPAN class="operator token">:</SPAN> <SPAN class="string token">"OfflineMapDirectoryUrl"</SPAN><SPAN class="punctuation token">)</SPAN>
let AGSOfflineMapJob <SPAN class="operator token">=</SPAN> offlineMapTask<SPAN class="punctuation token">.</SPAN><SPAN class="token function">generateOfflineMapJob</SPAN><SPAN class="punctuation token">(</SPAN>with<SPAN class="operator token">:</SPAN> parameters<SPAN class="punctuation token">,</SPAN> downloadDirectory<SPAN class="operator token">:</SPAN> mapStorageURL<SPAN class="punctuation token">)</SPAN>
<SPAN class="comment token">//5. Run the job</SPAN>
self<SPAN class="punctuation token">.</SPAN><SPAN class="token function">startOfflineMapJob</SPAN><SPAN class="punctuation token">(</SPAN>job<SPAN class="operator token">:</SPAN> AGSOfflineMapJob<SPAN class="punctuation token">,</SPAN> areaOfInterest<SPAN class="operator token">:</SPAN> areaOfInterest<SPAN class="punctuation token">)</SPAN>
<SPAN class="punctuation token">}</SPAN>
<SPAN class="punctuation token">}</SPAN><SPAN class="punctuation token">)</SPAN>
<SPAN class="punctuation token">}</SPAN>
func <SPAN class="token function">startOfflineMapJob</SPAN><SPAN class="punctuation token">(</SPAN>job<SPAN class="operator token">:</SPAN> AGSGenerateOfflineMapJob<SPAN class="punctuation token">,</SPAN> areaOfInterest<SPAN class="operator token">:</SPAN> AGSGeometry<SPAN class="punctuation token">)</SPAN> <SPAN class="punctuation token">{</SPAN>
job<SPAN class="punctuation token">.</SPAN><SPAN class="token function">start</SPAN><SPAN class="punctuation token">(</SPAN>statusHandler<SPAN class="operator token">:</SPAN> <SPAN class="punctuation token">{</SPAN> <SPAN class="punctuation token">(</SPAN>status<SPAN class="punctuation token">)</SPAN> in
DispatchQueue<SPAN class="punctuation token">.</SPAN>main<SPAN class="punctuation token">.</SPAN>async <SPAN class="punctuation token">{</SPAN>
<SPAN class="comment token">//Add canceling logic to SVProgressHUD</SPAN>
SVProgressHUD<SPAN class="punctuation token">.</SPAN><SPAN class="token function">showDismissable</SPAN><SPAN class="punctuation token">(</SPAN>with<SPAN class="operator token">:</SPAN> <SPAN class="token function">Float</SPAN><SPAN class="punctuation token">(</SPAN>job<SPAN class="punctuation token">.</SPAN>progress<SPAN class="punctuation token">.</SPAN>fractionCompleted<SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">,</SPAN> status<SPAN class="operator token">:</SPAN> <SPAN class="string token">"Downloading map selection. This may take several minutes. Tap here to cancel."</SPAN><SPAN class="punctuation token">)</SPAN>
<SPAN class="punctuation token">}</SPAN>
<SPAN class="token function">print</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="string token">"Status [\(String(describing: job.progress.fractionCompleted))]: \(status)"</SPAN><SPAN class="punctuation token">)</SPAN>
<SPAN class="keyword token">if</SPAN> job<SPAN class="punctuation token">.</SPAN>status <SPAN class="operator token">==</SPAN> <SPAN class="punctuation token">.</SPAN>failed <SPAN class="punctuation token">{</SPAN>
DispatchQueue<SPAN class="punctuation token">.</SPAN>main<SPAN class="punctuation token">.</SPAN>async <SPAN class="punctuation token">{</SPAN>
SVProgressHUD<SPAN class="punctuation token">.</SPAN><SPAN class="token function">dismiss</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="punctuation token">)</SPAN>
<SPAN class="punctuation token">}</SPAN>
self<SPAN class="punctuation token">.</SPAN><SPAN class="token function">showDownloadFailedAlert</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="string token">"Server Error"</SPAN><SPAN class="punctuation token">)</SPAN>
<SPAN class="keyword token">return</SPAN>
<SPAN class="punctuation token">}</SPAN>
<SPAN class="punctuation token">}</SPAN><SPAN class="punctuation token">)</SPAN> <SPAN class="punctuation token">{</SPAN> <SPAN class="punctuation token">(</SPAN>result<SPAN class="punctuation token">,</SPAN> error<SPAN class="punctuation token">)</SPAN> in
DispatchQueue<SPAN class="punctuation token">.</SPAN>main<SPAN class="punctuation token">.</SPAN>async <SPAN class="punctuation token">{</SPAN>
SVProgressHUD<SPAN class="punctuation token">.</SPAN><SPAN class="token function">dismiss</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="punctuation token">)</SPAN>
<SPAN class="punctuation token">}</SPAN>
<SPAN class="keyword token">if</SPAN> let error <SPAN class="operator token">=</SPAN> error <SPAN class="punctuation token">{</SPAN>
<SPAN class="token function">print</SPAN><SPAN class="punctuation token">(</SPAN>error<SPAN class="punctuation token">)</SPAN>
self<SPAN class="punctuation token">.</SPAN><SPAN class="token function">showDownloadFailedAlert</SPAN><SPAN class="punctuation token">(</SPAN>error<SPAN class="punctuation token">.</SPAN>localizedDescription<SPAN class="punctuation token">)</SPAN>
<SPAN class="keyword token">return</SPAN>
<SPAN class="punctuation token">}</SPAN>
guard let result <SPAN class="operator token">=</SPAN> result <SPAN class="keyword token">else</SPAN> <SPAN class="punctuation token">{</SPAN>
self<SPAN class="punctuation token">.</SPAN><SPAN class="token function">showDownloadFailedAlert</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="string token">"Didn't receive a response."</SPAN><SPAN class="punctuation token">)</SPAN>
<SPAN class="keyword token">return</SPAN>
<SPAN class="punctuation token">}</SPAN>
<SPAN class="keyword token">if</SPAN> result<SPAN class="punctuation token">.</SPAN>hasErrors <SPAN class="punctuation token">{</SPAN>
result<SPAN class="punctuation token">.</SPAN>layerErrors<SPAN class="punctuation token">.</SPAN>forEach<SPAN class="punctuation token">{</SPAN><SPAN class="punctuation token">(</SPAN>layerError<SPAN class="punctuation token">)</SPAN> in
<SPAN class="token function">print</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="punctuation token">(</SPAN>layerError<SPAN class="punctuation token">.</SPAN>key<SPAN class="punctuation token">.</SPAN>name<SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="string token">" Error taking this layer offline: "</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="punctuation token">(</SPAN>layerError<SPAN class="punctuation token">.</SPAN>value<SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">)</SPAN>
<SPAN class="punctuation token">}</SPAN>
result<SPAN class="punctuation token">.</SPAN>tableErrors<SPAN class="punctuation token">.</SPAN>forEach<SPAN class="punctuation token">{</SPAN><SPAN class="punctuation token">(</SPAN>tableError<SPAN class="punctuation token">)</SPAN> in
<SPAN class="token function">print</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="punctuation token">(</SPAN>tableError<SPAN class="punctuation token">.</SPAN>key<SPAN class="punctuation token">.</SPAN>tableName<SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="string token">" Error taking this table offline"</SPAN><SPAN class="punctuation token">)</SPAN>
<SPAN class="punctuation token">}</SPAN>
self<SPAN class="punctuation token">.</SPAN><SPAN class="token function">showDownloadFailedAlert</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="string token">"Error taking layers offline."</SPAN><SPAN class="punctuation token">)</SPAN>
<SPAN class="punctuation token">}</SPAN>
<SPAN class="keyword token">else</SPAN> <SPAN class="punctuation token">{</SPAN>
<SPAN class="comment token">//display the offline map</SPAN>
self<SPAN class="punctuation token">.</SPAN>mapView<SPAN class="punctuation token">.</SPAN>map <SPAN class="operator token">=</SPAN> result<SPAN class="punctuation token">.</SPAN>offlineMap
DispatchQueue<SPAN class="punctuation token">.</SPAN>main<SPAN class="punctuation token">.</SPAN>async <SPAN class="punctuation token">{</SPAN>
self<SPAN class="punctuation token">.</SPAN><SPAN class="token function">downloadGeodatabaseForLayers</SPAN><SPAN class="punctuation token">(</SPAN>areaOfInterest<SPAN class="operator token">:</SPAN> areaOfInterest<SPAN class="punctuation token">)</SPAN>
<SPAN class="punctuation token">}</SPAN>
<SPAN class="punctuation token">}</SPAN>
<SPAN class="punctuation token">}</SPAN>
<SPAN class="punctuation token">}</SPAN>
func <SPAN class="token function">downloadGeodatabaseForLayers</SPAN><SPAN class="punctuation token">(</SPAN>areaOfInterest<SPAN class="operator token">:</SPAN> AGSGeometry<SPAN class="punctuation token">)</SPAN> <SPAN class="punctuation token">{</SPAN>
<SPAN class="token function">print</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="string token">"@@@Downloading geodatabase"</SPAN><SPAN class="punctuation token">)</SPAN>
let syncTask <SPAN class="operator token">=</SPAN> <SPAN class="token function">AGSGeodatabaseSyncTask</SPAN><SPAN class="punctuation token">(</SPAN>url<SPAN class="operator token">:</SPAN> <SPAN class="token function">URL</SPAN><SPAN class="punctuation token">(</SPAN>string<SPAN class="operator token">:</SPAN> testOfflineServiceUrl<SPAN class="punctuation token">)</SPAN><SPAN class="operator token">!</SPAN><SPAN class="punctuation token">)</SPAN>
syncTask<SPAN class="punctuation token">.</SPAN><SPAN class="token function">defaultGenerateGeodatabaseParameters</SPAN><SPAN class="punctuation token">(</SPAN>withExtent<SPAN class="operator token">:</SPAN> areaOfInterest<SPAN class="punctuation token">,</SPAN> completion<SPAN class="operator token">:</SPAN> <SPAN class="punctuation token">{</SPAN><SPAN class="punctuation token">[</SPAN>weak self<SPAN class="punctuation token">]</SPAN> <SPAN class="punctuation token">(</SPAN>parameters<SPAN class="punctuation token">,</SPAN> error<SPAN class="punctuation token">)</SPAN> in
<SPAN class="keyword token">if</SPAN> let error <SPAN class="operator token">=</SPAN> error <SPAN class="punctuation token">{</SPAN>
<SPAN class="token function">print</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="string token">"@@@Error generating geodatabase:"</SPAN> <SPAN class="operator token">+</SPAN> error<SPAN class="punctuation token">.</SPAN>localizedDescription<SPAN class="punctuation token">)</SPAN>
<SPAN class="token function">print</SPAN><SPAN class="punctuation token">(</SPAN>error<SPAN class="punctuation token">)</SPAN>
<SPAN class="keyword token">return</SPAN>
<SPAN class="punctuation token">}</SPAN>
guard parameters <SPAN class="operator token">!=</SPAN> nil <SPAN class="keyword token">else</SPAN> <SPAN class="punctuation token">{</SPAN>
<SPAN class="token function">print</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="string token">"@@@No parameters"</SPAN><SPAN class="punctuation token">)</SPAN>
<SPAN class="keyword token">return</SPAN>
<SPAN class="punctuation token">}</SPAN>
<SPAN class="keyword token">if</SPAN> let parameters <SPAN class="operator token">=</SPAN> parameters <SPAN class="punctuation token">{</SPAN>
parameters<SPAN class="punctuation token">.</SPAN>syncModel <SPAN class="operator token">=</SPAN> <SPAN class="punctuation token">.</SPAN>layer
<SPAN class="comment token">// define the layers and features to include</SPAN>
parameters<SPAN class="punctuation token">.</SPAN>layerOptions<SPAN class="punctuation token">.</SPAN><SPAN class="token function">removeAll</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="punctuation token">)</SPAN>
let layersToInclude <SPAN class="operator token">=</SPAN> <SPAN class="punctuation token">[</SPAN><SPAN class="number token">0</SPAN><SPAN class="punctuation token">]</SPAN>
<SPAN class="keyword token">for</SPAN> val in layersToInclude <SPAN class="punctuation token">{</SPAN>
parameters<SPAN class="punctuation token">.</SPAN>layerOptions<SPAN class="punctuation token">.</SPAN><SPAN class="token function">append</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="token function">AGSGenerateLayerOption</SPAN><SPAN class="punctuation token">(</SPAN>layerID<SPAN class="operator token">:</SPAN> val<SPAN class="punctuation token">,</SPAN> includeRelated<SPAN class="operator token">:</SPAN> <SPAN class="token boolean">true</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">)</SPAN>
<SPAN class="punctuation token">}</SPAN>
parameters<SPAN class="punctuation token">.</SPAN>returnAttachments <SPAN class="operator token">=</SPAN> <SPAN class="token boolean">false</SPAN>
<SPAN class="comment token">//Start the download task</SPAN>
let geodatabaseUrl <SPAN class="operator token">=</SPAN> self<SPAN class="operator token">?</SPAN><SPAN class="punctuation token">.</SPAN><SPAN class="token function">getNewOfflineMapDirectoryURL</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">.</SPAN><SPAN class="token function">appendingPathExtension</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="string token">".geodatabase"</SPAN><SPAN class="punctuation token">)</SPAN>
let generateJob <SPAN class="operator token">=</SPAN> syncTask<SPAN class="punctuation token">.</SPAN><SPAN class="token function">generateJob</SPAN><SPAN class="punctuation token">(</SPAN>with<SPAN class="operator token">:</SPAN> parameters<SPAN class="punctuation token">,</SPAN> downloadFileURL<SPAN class="operator token">:</SPAN> <SPAN class="punctuation token">(</SPAN>geodatabaseUrl<SPAN class="punctuation token">)</SPAN><SPAN class="operator token">!</SPAN><SPAN class="punctuation token">)</SPAN>
generateJob<SPAN class="punctuation token">.</SPAN><SPAN class="token function">start</SPAN><SPAN class="punctuation token">(</SPAN>statusHandler<SPAN class="operator token">:</SPAN> <SPAN class="punctuation token">{</SPAN> <SPAN class="punctuation token">(</SPAN>status<SPAN class="punctuation token">)</SPAN> in
DispatchQueue<SPAN class="punctuation token">.</SPAN>main<SPAN class="punctuation token">.</SPAN>async <SPAN class="punctuation token">{</SPAN>
SVProgressHUD<SPAN class="punctuation token">.</SPAN><SPAN class="token function">showProgress</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="token function">Float</SPAN><SPAN class="punctuation token">(</SPAN>generateJob<SPAN class="punctuation token">.</SPAN>progress<SPAN class="punctuation token">.</SPAN>fractionCompleted<SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">,</SPAN> status<SPAN class="operator token">:</SPAN> <SPAN class="string token">"Downloading Geodatabase"</SPAN><SPAN class="punctuation token">)</SPAN>
<SPAN class="punctuation token">}</SPAN>
<SPAN class="punctuation token">}</SPAN><SPAN class="punctuation token">,</SPAN> completion<SPAN class="operator token">:</SPAN> <SPAN class="punctuation token">{</SPAN> <SPAN class="punctuation token">(</SPAN>geodatabase<SPAN class="punctuation token">,</SPAN> error<SPAN class="punctuation token">)</SPAN> in
SVProgressHUD<SPAN class="punctuation token">.</SPAN><SPAN class="token function">dismiss</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="punctuation token">)</SPAN>
<SPAN class="keyword token">if</SPAN> let error <SPAN class="operator token">=</SPAN> error <SPAN class="punctuation token">{</SPAN>
<SPAN class="token function">print</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="string token">"@@@Error downloading geodatabase: "</SPAN><SPAN class="punctuation token">)</SPAN>
<SPAN class="token function">print</SPAN><SPAN class="punctuation token">(</SPAN>error<SPAN class="punctuation token">)</SPAN>
<SPAN class="keyword token">return</SPAN>
<SPAN class="punctuation token">}</SPAN>
<SPAN class="keyword token">else</SPAN> <SPAN class="keyword token">if</SPAN> let geoDb <SPAN class="operator token">=</SPAN> geodatabase <SPAN class="punctuation token">{</SPAN>
self<SPAN class="operator token">!</SPAN><SPAN class="punctuation token">.</SPAN>generatedGeodatabase <SPAN class="operator token">=</SPAN> geoDb
self<SPAN class="operator token">!</SPAN><SPAN class="punctuation token">.</SPAN><SPAN class="token function">displayLayersFromGeodatabase</SPAN><SPAN class="punctuation token">(</SPAN>geoDb<SPAN class="operator token">:</SPAN> geoDb<SPAN class="punctuation token">)</SPAN>
<SPAN class="punctuation token">}</SPAN>
<SPAN class="punctuation token">}</SPAN><SPAN class="punctuation token">)</SPAN>
<SPAN class="punctuation token">}</SPAN>
<SPAN class="punctuation token">}</SPAN><SPAN class="punctuation token">)</SPAN>
<SPAN class="punctuation token">}</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>If I download the app container, I can see both the mmpk file and the geodatabase file, but only the basemap displays. Can someone suggest a solution?