<?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: dyld[2691]: Library not loaded: in Swift Maps SDK Questions</title>
    <link>https://community.esri.com/t5/swift-maps-sdk-questions/dyld-2691-library-not-loaded/m-p/1543872#M413</link>
    <description>&lt;P&gt;I have tried Xcode 16 with SDK 200.5.1 and Xcode 15.3 with SDK 200.5.1, in both cases, I get the same error.&lt;/P&gt;&lt;P&gt;To recreate the issue:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create a new Project App&lt;/LI&gt;&lt;LI&gt;Create a new Project Framework&lt;/LI&gt;&lt;LI&gt;Create a new Workspace&lt;/LI&gt;&lt;LI&gt;Drag the Project and Framework into the Workspace&lt;/LI&gt;&lt;LI&gt;Add the Esri SDK dependency to the Framework&lt;/LI&gt;&lt;LI&gt;Add the Framework to the "&lt;SPAN&gt;Frameworks, Libraries, and Embedded Content" of the Project&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
    <pubDate>Mon, 30 Sep 2024 16:36:48 GMT</pubDate>
    <dc:creator>RTC</dc:creator>
    <dc:date>2024-09-30T16:36:48Z</dc:date>
    <item>
      <title>dyld[2691]: Library not loaded:</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/dyld-2691-library-not-loaded/m-p/1543257#M404</link>
      <description>&lt;P class=""&gt;I have a Framework (call it myFramework) that uses the ArcGIS.Framework. MyFramework is then embedded into the main project. I have add the package dependency as per the Esri instructions and the app will compile and run in the simulator but when I try to compile to a device I get the below error.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;dyld[2691]: Library not loaded: @rpath/ArcGIS.framework/ArcGIS&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;Referenced from: &amp;lt;B7F213FC-91BD-3F78-A27E-9AE222D5A028&amp;gt; /private/var/containers/Bundle/Application/4906320B-CF1B-4002-BEE1-69384617317E/MyApp.app/Tablet CMD.debug.dylib&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;Reason: tried: '/Users/Me/Library/Developer/Xcode/DerivedData/MyApp-bkoteomqilntvhdaldwszajpidbn/Build/Products/Debug-iphoneos/PackageFrameworks/ArcGIS.framework/ArcGIS' (no such file)&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;I have tried to delete the package, delete derived data, re-apply the package, check the Search Path but noting seems to fix the issue.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 23:15:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/dyld-2691-library-not-loaded/m-p/1543257#M404</guid>
      <dc:creator>RTC</dc:creator>
      <dc:date>2024-09-26T23:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: dyld[2691]: Library not loaded:</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/dyld-2691-library-not-loaded/m-p/1543445#M405</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/105444"&gt;@RTC&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Do you see your framework or ArcGIS framework listed under `Frameworks, Libraries, and Embedded Content` in Xcode project? If not, try adding it.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-09-27 at 8.28.49 AM.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/116079iF354E4DBA32EF496/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-09-27 at 8.28.49 AM.png" alt="Screenshot 2024-09-27 at 8.28.49 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Nimesh&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 15:29:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/dyld-2691-library-not-loaded/m-p/1543445#M405</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2024-09-27T15:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: dyld[2691]: Library not loaded:</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/dyld-2691-library-not-loaded/m-p/1543467#M406</link>
      <description>&lt;P&gt;Yes, it is under the Frameworks and Libraries for the target of my framework&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 16:08:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/dyld-2691-library-not-loaded/m-p/1543467#M406</guid>
      <dc:creator>RTC</dc:creator>
      <dc:date>2024-09-27T16:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: dyld[2691]: Library not loaded:</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/dyld-2691-library-not-loaded/m-p/1543497#M408</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-09-27 at 8.33.22 AM.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/116092iFC0D63D67F293F57/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-09-27 at 8.33.22 AM.png" alt="Screenshot 2024-09-27 at 8.33.22 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you try making sure the framework is embed and sign and see if that fixes the problem?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 17:05:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/dyld-2691-library-not-loaded/m-p/1543497#M408</guid>
      <dc:creator>ZacharyKline</dc:creator>
      <dc:date>2024-09-27T17:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: dyld[2691]: Library not loaded:</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/dyld-2691-library-not-loaded/m-p/1543506#M409</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RTC_0-1727458368514.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/116093i8AA2D35336C0984C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RTC_0-1727458368514.png" alt="RTC_0-1727458368514.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;There is no option to select.&lt;/P&gt;&lt;P&gt;The ArcGIS framework is being embedded in a custom framework that is then embedded in the app project, there the custom framework is set to embed &amp;amp; signed.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 17:37:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/dyld-2691-library-not-loaded/m-p/1543506#M409</guid>
      <dc:creator>RTC</dc:creator>
      <dc:date>2024-09-27T17:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: dyld[2691]: Library not loaded:</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/dyld-2691-library-not-loaded/m-p/1543599#M410</link>
      <description>&lt;P&gt;I see. I tried reproducing this with no luck. Can you provide a reproducer?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Zach&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 23:18:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/dyld-2691-library-not-loaded/m-p/1543599#M410</guid>
      <dc:creator>ZacharyKline</dc:creator>
      <dc:date>2024-09-27T23:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: dyld[2691]: Library not loaded:</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/dyld-2691-library-not-loaded/m-p/1543857#M412</link>
      <description>&lt;P&gt;Can you also let me know what version of Xcode and ArcGIS Maps SDK version you are using?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 16:09:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/dyld-2691-library-not-loaded/m-p/1543857#M412</guid>
      <dc:creator>ZacharyKline</dc:creator>
      <dc:date>2024-09-30T16:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: dyld[2691]: Library not loaded:</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/dyld-2691-library-not-loaded/m-p/1543872#M413</link>
      <description>&lt;P&gt;I have tried Xcode 16 with SDK 200.5.1 and Xcode 15.3 with SDK 200.5.1, in both cases, I get the same error.&lt;/P&gt;&lt;P&gt;To recreate the issue:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create a new Project App&lt;/LI&gt;&lt;LI&gt;Create a new Project Framework&lt;/LI&gt;&lt;LI&gt;Create a new Workspace&lt;/LI&gt;&lt;LI&gt;Drag the Project and Framework into the Workspace&lt;/LI&gt;&lt;LI&gt;Add the Esri SDK dependency to the Framework&lt;/LI&gt;&lt;LI&gt;Add the Framework to the "&lt;SPAN&gt;Frameworks, Libraries, and Embedded Content" of the Project&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Mon, 30 Sep 2024 16:36:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/dyld-2691-library-not-loaded/m-p/1543872#M413</guid>
      <dc:creator>RTC</dc:creator>
      <dc:date>2024-09-30T16:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: dyld[2691]: Library not loaded:</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/dyld-2691-library-not-loaded/m-p/1544358#M417</link>
      <description>&lt;P&gt;I was able to reproduce this and thank you for providing those steps. Unfortunately, it seems the problem you are running into is that nested frameworks are not supported on iOS. See the screenshot below of an Apple employee pointing this out.&lt;/P&gt;
&lt;P&gt;But as a potential workaround depending on what you are trying to achieve, you could add the Swift SDK as a dependency to your app project and you will see both ArcGIS and your custom framework are embedded into the app and the app runs fine.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 16:08:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/dyld-2691-library-not-loaded/m-p/1544358#M417</guid>
      <dc:creator>ZacharyKline</dc:creator>
      <dc:date>2024-10-01T16:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: dyld[2691]: Library not loaded:</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/dyld-2691-library-not-loaded/m-p/1544421#M419</link>
      <description>&lt;P&gt;I did see that post but wonder if is is referring to something different. We are able to accomplish this with Esri 100 SDK, it is only an issue with 200. It does work if embedded in the app project so we will just go with that. Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 17:54:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/dyld-2691-library-not-loaded/m-p/1544421#M419</guid>
      <dc:creator>RTC</dc:creator>
      <dc:date>2024-10-01T17:54:10Z</dc:date>
    </item>
  </channel>
</rss>

