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.
dyld[2691]: Library not loaded: @rpath/ArcGIS.framework/ArcGIS
Referenced from: <B7F213FC-91BD-3F78-A27E-9AE222D5A028> /private/var/containers/Bundle/Application/4906320B-CF1B-4002-BEE1-69384617317E/MyApp.app/Tablet CMD.debug.dylib
Reason: tried: '/Users/Me/Library/Developer/Xcode/DerivedData/MyApp-bkoteomqilntvhdaldwszajpidbn/Build/Products/Debug-iphoneos/PackageFrameworks/ArcGIS.framework/ArcGIS' (no such file)
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.