<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: MAUI - Error on iOS when targeting .NET 8 (in CoreArcGISRuntimeEnvironment.SetInstallDirectory) in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/maui-error-on-ios-when-targeting-net-8-in/m-p/1355994#M12355</link>
    <description>&lt;P&gt;I've confirmed that this was fixed in the recent .NET 8 release.&amp;nbsp; Thanks again!&lt;/P&gt;</description>
    <pubDate>Fri, 01 Dec 2023 21:30:20 GMT</pubDate>
    <dc:creator>DavidSchuster</dc:creator>
    <dc:date>2023-12-01T21:30:20Z</dc:date>
    <item>
      <title>MAUI - Error on iOS when targeting .NET 8 (in CoreArcGISRuntimeEnvironment.SetInstallDirectory)</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/maui-error-on-ios-when-targeting-net-8-in/m-p/1340777#M12207</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;Is .NET 8 (net8.0-ios) supported as a target framework for the .NET Maps SDK for MAUI?&lt;/P&gt;&lt;P&gt;I'm using Microsoft Visual Studio Professional 2022 (64-bit) - &lt;STRONG&gt;Preview Version 17.8.0 Preview 3&lt;/STRONG&gt;on Windows OS and deploying/debugging to an iPhone using HotReload.&lt;/P&gt;&lt;P&gt;If I create a new project using the ArcGIS Maps SDK .NET MAUI App (Esri) template, the app builds and runs fine when deployed to iOS and Windows (targeting .NET 7).&amp;nbsp; However, when I edit the project settings and change the target framework to .NET 8, it stops working on iOS (it still runs on Windows though).&amp;nbsp; It crashes right away during the builder call to&amp;nbsp;.UseArcGISRuntime()&lt;/P&gt;&lt;P&gt;Any ideas?&amp;nbsp; Thanks in advance!&lt;/P&gt;&lt;P&gt;-David&lt;/P&gt;&lt;P&gt;Here's the exception call stack:&lt;/P&gt;&lt;PRE&gt;[0:] An error occurred: '__Internal'. Callstack: ' at RuntimeCoreNet.GeneratedWrappers.CoreArcGISRuntimeEnvironment.SetInstallDirectory(String installPath)&lt;BR /&gt;at Esri.ArcGISRuntime.ArcGISRuntimeEnvironment.InitNative()&lt;BR /&gt;at Esri.ArcGISRuntime.ArcGISRuntimeEnvironment.InitializeRuntimeCore()&lt;BR /&gt;at Esri.ArcGISRuntime.ArcGISRuntimeEnvironment.Initialize(Action`1 configure)&lt;BR /&gt;at Esri.ArcGISRuntime.Maui.AppHostBuilderExtensions.UseArcGISRuntime(MauiAppBuilder builder, Action`1 configure)&lt;BR /&gt;at MauiArcGISApp1.MauiProgram.CreateMauiApp() in C:\Users\dschuster\source\GitHub\MauiArcGISApp1\MauiArcGISApp1\MauiProgram.cs:line 29&lt;BR /&gt;at MauiArcGISApp1.AppDelegate.CreateMauiApp() in C:\Users\dschuster\source\GitHub\MauiArcGISApp1\MauiArcGISApp1\Platforms\iOS\AppDelegate.cs:line 8&lt;BR /&gt;at Microsoft.Maui.MauiUIApplicationDelegate.WillFinishLaunching(UIApplication application, NSDictionary launchOptions)&lt;BR /&gt;at UIKit.UIApplication.UIApplicationMain(Int32 argc, String[] argv, IntPtr principalClassName, IntPtr delegateClassName) in /Users/builder/azdo/_work/1/s/xamarin-macios/src/UIKit/UIApplication.cs:line 58&lt;BR /&gt;at UIKit.UIApplication.Main(String[] args, Type principalClass, Type delegateClass) in /Users/builder/azdo/_work/1/s/xamarin-macios/src/UIKit/UIApplication.cs:line 94&lt;BR /&gt;at MauiArcGISApp1.Program.Main(String[] args) in C:\Users\dschuster\source\GitHub\MauiArcGISApp1\MauiArcGISApp1\Platforms\iOS\Program.cs:line 13&lt;BR /&gt;at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)&lt;BR /&gt;at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)'&lt;BR /&gt;2023-10-23 22:36:40.873 Xamarin.PreBuilt.iOS[1723:8025329] You've implemented -[&amp;lt;UIApplicationDelegate&amp;gt; application:performFetchWithCompletionHandler:], but you still need to add "fetch" to the list of your supported UIBackgroundModes in your Info.plist.&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 04:01:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/maui-error-on-ios-when-targeting-net-8-in/m-p/1340777#M12207</guid>
      <dc:creator>DavidSchuster</dc:creator>
      <dc:date>2023-10-24T04:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: MAUI - Error on iOS when targeting .NET 8 (in CoreArcGISRuntimeEnvironment.SetInstallDirectory)</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/maui-error-on-ios-when-targeting-net-8-in/m-p/1341080#M12213</link>
      <description>&lt;P&gt;Are you remote-deploying from Windows via a Mac, or with an iPhone connected directly to Windows using Hot Restart?&lt;BR /&gt;Remote deploy works for me with 200.2 - just note that xcode 15 currently doesn't work due to this issue:&amp;nbsp;&lt;A href="https://github.com/xamarin/xamarin-macios/issues/19157" target="_blank"&gt;https://github.com/xamarin/xamarin-macios/issues/19157&lt;/A&gt;&amp;nbsp;(workaround in issue, or downgrade to xcode 14).&lt;BR /&gt;&lt;BR /&gt;v200.3 will have official support for .NET 8.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 19:04:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/maui-error-on-ios-when-targeting-net-8-in/m-p/1341080#M12213</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2023-10-24T19:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: MAUI - Error on iOS when targeting .NET 8 (in CoreArcGISRuntimeEnvironment.SetInstallDirectory)</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/maui-error-on-ios-when-targeting-net-8-in/m-p/1341088#M12214</link>
      <description>&lt;P&gt;Hi Morten, thanks for your reply.&lt;/P&gt;&lt;P&gt;I'm using Hot Restart with an iPhone connected directly to my Windows machine (my apologies - I typed "Hot Reload" earlier when I meant "Hot Restart").&lt;/P&gt;&lt;P&gt;This Hot Restart option is the most practical for our dev team due to some current hardware and network policy limitations.&amp;nbsp; Do you think this issue might be resolved in the 200.3 release?&lt;/P&gt;&lt;P&gt;Thank you for your work on the MAUI Maps SDK - we're really excited about this cross-platform technology!&lt;/P&gt;&lt;P&gt;-David&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 19:23:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/maui-error-on-ios-when-targeting-net-8-in/m-p/1341088#M12214</guid>
      <dc:creator>DavidSchuster</dc:creator>
      <dc:date>2023-10-24T19:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: MAUI - Error on iOS when targeting .NET 8 (in CoreArcGISRuntimeEnvironment.SetInstallDirectory)</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/maui-error-on-ios-when-targeting-net-8-in/m-p/1341749#M12221</link>
      <description>&lt;P&gt;Thanks to you for using our SDK.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;&lt;SPAN&gt;Do you think this issue might be resolved in the 200.3 release&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It is a Microsoft's bug, we can only hope it gets fixed in .NET 8.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 23:26:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/maui-error-on-ios-when-targeting-net-8-in/m-p/1341749#M12221</guid>
      <dc:creator>PreetiMaske</dc:creator>
      <dc:date>2023-10-25T23:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: MAUI - Error on iOS when targeting .NET 8 (in CoreArcGISRuntimeEnvironment.SetInstallDirectory)</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/maui-error-on-ios-when-targeting-net-8-in/m-p/1341754#M12222</link>
      <description>&lt;P&gt;Thanks Preeti - keeping my fingers crossed that Microsoft fixes it!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 23:40:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/maui-error-on-ios-when-targeting-net-8-in/m-p/1341754#M12222</guid>
      <dc:creator>DavidSchuster</dc:creator>
      <dc:date>2023-10-25T23:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: MAUI - Error on iOS when targeting .NET 8 (in CoreArcGISRuntimeEnvironment.SetInstallDirectory)</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/maui-error-on-ios-when-targeting-net-8-in/m-p/1341760#M12223</link>
      <description>&lt;P&gt;Just to clarity&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/66680"&gt;@DavidSchuster&lt;/a&gt;&amp;nbsp;, The bug I am referring to was deployment issue XCode and .NET 8 &lt;A href="https://github.com/xamarin/xamarin-macios/issues/19157" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/xamarin/xamarin-macios/issues/19157&lt;/A&gt;&lt;/P&gt;&lt;P&gt;As per your original issue with Hot-restart , we are still trying to reproduce. Will keep you posted what we find.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 00:19:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/maui-error-on-ios-when-targeting-net-8-in/m-p/1341760#M12223</guid>
      <dc:creator>PreetiMaske</dc:creator>
      <dc:date>2023-10-26T00:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: MAUI - Error on iOS when targeting .NET 8 (in CoreArcGISRuntimeEnvironment.SetInstallDirectory)</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/maui-error-on-ios-when-targeting-net-8-in/m-p/1342230#M12231</link>
      <description>&lt;P&gt;I've reproduced the issue. It does appear that the .NET 8 RC2 SDK has introduced a regression and doesn't deploy the native references. The moment I switch back to the .NET 7 SDK things are fine again.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 18:35:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/maui-error-on-ios-when-targeting-net-8-in/m-p/1342230#M12231</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2023-10-26T18:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: MAUI - Error on iOS when targeting .NET 8 (in CoreArcGISRuntimeEnvironment.SetInstallDirectory)</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/maui-error-on-ios-when-targeting-net-8-in/m-p/1342258#M12232</link>
      <description>&lt;P&gt;I've logged&amp;nbsp;&lt;A href="https://github.com/xamarin/xamarin-macios/issues/19363" target="_blank"&gt;https://github.com/xamarin/xamarin-macios/issues/19363&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 19:08:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/maui-error-on-ios-when-targeting-net-8-in/m-p/1342258#M12232</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2023-10-26T19:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: MAUI - Error on iOS when targeting .NET 8 (in CoreArcGISRuntimeEnvironment.SetInstallDirectory)</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/maui-error-on-ios-when-targeting-net-8-in/m-p/1342402#M12237</link>
      <description>&lt;P&gt;Morten, thank you for tracking this down and entering the Xamarin ticket!&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 22:28:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/maui-error-on-ios-when-targeting-net-8-in/m-p/1342402#M12237</guid>
      <dc:creator>DavidSchuster</dc:creator>
      <dc:date>2023-10-26T22:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: MAUI - Error on iOS when targeting .NET 8 (in CoreArcGISRuntimeEnvironment.SetInstallDirectory)</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/maui-error-on-ios-when-targeting-net-8-in/m-p/1355994#M12355</link>
      <description>&lt;P&gt;I've confirmed that this was fixed in the recent .NET 8 release.&amp;nbsp; Thanks again!&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 21:30:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/maui-error-on-ios-when-targeting-net-8-in/m-p/1355994#M12355</guid>
      <dc:creator>DavidSchuster</dc:creator>
      <dc:date>2023-12-01T21:30:20Z</dc:date>
    </item>
  </channel>
</rss>

