<?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 dyld[1119]: Library not loaded: @rpath/Runtimecore.framework/Runtimecore in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/dyld-1119-library-not-loaded-rpath-runtimecore/m-p/1244475#M7525</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to add the ArcGIS iOS SDK to an existing Xcode project. I added ArcGIS via Swift Package Manager as well as by manually dragging and dropping ArcGIS.xcframework and Runtimecore.xcframework into "Frameworks, Libraries and Embedded Content".&lt;/P&gt;&lt;P&gt;With either way, when I compile and execute the project on an iPad Pro with M1 chip or an iPhone 13 Pro, the app crashes at startup with this error message.&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;&lt;LI-CODE lang="c"&gt;dyld[1119]: Library not loaded: @rpath/Runtimecore.framework/Runtimecore
  Referenced from: &amp;lt;EE272319-351D-300E-99E1-CA79CBAD8940&amp;gt; /private/var/containers/Bundle/Application/9DE567C3-D655-4DDE-A7D2-F0DC11BE6911/SMPAgentryClientFrameworkSetup.app/SMPAgentryClientFrameworkSetup
  Reason: tried: '/private/preboot/Cryptexes/OS@rpath/Runtimecore.framework/Runtimecore' (errno=2), '/System/Library/Frameworks/Runtimecore.framework/Runtimecore' (errno=2, not in dyld cache)
Library not loaded: @rpath/Runtimecore.framework/Runtimecore
  Referenced from: &amp;lt;EE272319-351D-300E-99E1-CA79CBAD8940&amp;gt; /private/var/containers/Bundle/Application/9DE567C3-D655-4DDE-A7D2-F0DC11BE6911/SMPAgentryClientFrameworkSetup.app/SMPAgentryClientFrameworkSetup
  Reason: tried: '/private/preboot/Cryptexes/OS@rpath/Runtimecore.framework/Runtimecore' (errno=2), '/System/Library/Frameworks/Runtimecore.framework/Runtimecore' (errno=2, not in dyld cache)
dyld config: DYLD_LIBRARY_PATH=/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/usr/lib/libBacktraceRecording.dylib:/usr/lib/libMainThreadChecker.dylib:/usr/lib/libRPAC.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib&lt;/LI-CODE&gt;</description>
    <pubDate>Fri, 30 Dec 2022 01:22:39 GMT</pubDate>
    <dc:creator>cb2206</dc:creator>
    <dc:date>2022-12-30T01:22:39Z</dc:date>
    <item>
      <title>dyld[1119]: Library not loaded: @rpath/Runtimecore.framework/Runtimecore</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/dyld-1119-library-not-loaded-rpath-runtimecore/m-p/1244475#M7525</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to add the ArcGIS iOS SDK to an existing Xcode project. I added ArcGIS via Swift Package Manager as well as by manually dragging and dropping ArcGIS.xcframework and Runtimecore.xcframework into "Frameworks, Libraries and Embedded Content".&lt;/P&gt;&lt;P&gt;With either way, when I compile and execute the project on an iPad Pro with M1 chip or an iPhone 13 Pro, the app crashes at startup with this error message.&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;&lt;LI-CODE lang="c"&gt;dyld[1119]: Library not loaded: @rpath/Runtimecore.framework/Runtimecore
  Referenced from: &amp;lt;EE272319-351D-300E-99E1-CA79CBAD8940&amp;gt; /private/var/containers/Bundle/Application/9DE567C3-D655-4DDE-A7D2-F0DC11BE6911/SMPAgentryClientFrameworkSetup.app/SMPAgentryClientFrameworkSetup
  Reason: tried: '/private/preboot/Cryptexes/OS@rpath/Runtimecore.framework/Runtimecore' (errno=2), '/System/Library/Frameworks/Runtimecore.framework/Runtimecore' (errno=2, not in dyld cache)
Library not loaded: @rpath/Runtimecore.framework/Runtimecore
  Referenced from: &amp;lt;EE272319-351D-300E-99E1-CA79CBAD8940&amp;gt; /private/var/containers/Bundle/Application/9DE567C3-D655-4DDE-A7D2-F0DC11BE6911/SMPAgentryClientFrameworkSetup.app/SMPAgentryClientFrameworkSetup
  Reason: tried: '/private/preboot/Cryptexes/OS@rpath/Runtimecore.framework/Runtimecore' (errno=2), '/System/Library/Frameworks/Runtimecore.framework/Runtimecore' (errno=2, not in dyld cache)
dyld config: DYLD_LIBRARY_PATH=/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/usr/lib/libBacktraceRecording.dylib:/usr/lib/libMainThreadChecker.dylib:/usr/lib/libRPAC.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 30 Dec 2022 01:22:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/dyld-1119-library-not-loaded-rpath-runtimecore/m-p/1244475#M7525</guid>
      <dc:creator>cb2206</dc:creator>
      <dc:date>2022-12-30T01:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: dyld[1119]: Library not loaded: @rpath/Runtimecore.framework/Runtimecore</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/dyld-1119-library-not-loaded-rpath-runtimecore/m-p/1244595#M7526</link>
      <description>&lt;P&gt;I do not have those same devices, but I have an iPhone 12 Pro and following the instructions on the Swift Package Manager page &lt;A href="https://github.com/Esri/arcgis-runtime-ios" target="_self"&gt;here&lt;/A&gt; I am able to build and deploy an app to the iPhone 12 Pro. &amp;nbsp;I did not do any manual steps for dragging and dropping into "&lt;SPAN&gt;Frameworks, Libraries and Embedded Content". &amp;nbsp;I am using&amp;nbsp;Xcode 14.1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The only difference from the instructions is that the instructions say to go to&amp;nbsp;&lt;EM&gt;File&lt;/EM&gt;&amp;nbsp;&amp;gt; &lt;EM&gt;Swift Packages&lt;/EM&gt; &amp;gt; &lt;EM&gt;Add Package Dependency. &amp;nbsp;&lt;/EM&gt;But with Xcode 14.1, that is now just under &lt;EM&gt;File&lt;/EM&gt; &amp;gt; &lt;EM&gt;Add Packages.&amp;nbsp;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please try with a brand new project, following the instructions &lt;A href="https://github.com/Esri/arcgis-runtime-ios#instructions" target="_self"&gt;here&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Dec 2022 17:26:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/dyld-1119-library-not-loaded-rpath-runtimecore/m-p/1244595#M7526</guid>
      <dc:creator>rolson_esri</dc:creator>
      <dc:date>2022-12-30T17:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: dyld[1119]: Library not loaded: @rpath/Runtimecore.framework/Runtimecore</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/dyld-1119-library-not-loaded-rpath-runtimecore/m-p/1244695#M7527</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;I did not do any manual steps for dragging and dropping into "&lt;/SPAN&gt;&lt;SPAN&gt;Frameworks, Libraries and Embedded Content".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Yes, I also just used the "add package" functionality in Xcode 14.1 but got that dyld error. I then tried the manual way to add the SDK described in the ArcGIS SDK how to get started page to see if that makes a difference but it didn't.&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;Please try with a brand new project&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Yes, with a brand new project it works fine. There must be something in my existing project to which I need to add ArcGIS functionality which is causing the dyld but I'm out of ideas in which direction to search.&lt;/P&gt;</description>
      <pubDate>Sat, 31 Dec 2022 14:11:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/dyld-1119-library-not-loaded-rpath-runtimecore/m-p/1244695#M7527</guid>
      <dc:creator>cb2206</dc:creator>
      <dc:date>2022-12-31T14:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: dyld[1119]: Library not loaded: @rpath/Runtimecore.framework/Runtimecore</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/dyld-1119-library-not-loaded-rpath-runtimecore/m-p/1244791#M7528</link>
      <description>&lt;P&gt;Found the cause. For some reason in the existing project the Runpath Search Path parameter in Build Settings was incorrect.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 02:49:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/dyld-1119-library-not-loaded-rpath-runtimecore/m-p/1244791#M7528</guid>
      <dc:creator>cb2206</dc:creator>
      <dc:date>2023-01-03T02:49:34Z</dc:date>
    </item>
  </channel>
</rss>

