Hi Developers,
I am working on a Nativescript app and using Pod to install ArcGIS-Runtime-SDK-iOS 100.15.0. The app is crashing on startup with the following error
dyld[63852]: Library not loaded: @rpath/ArcGIS.framework/ArcGIS
Referenced from: <441D18D8-E854-35C7-B7DF-7F4AB9A6DB22> /Users/i858674/Library/Developer/CoreSimulator/Devices/86E443B4-78F1-4EA9-8E51-94BFB8C758FE/data/Containers/Bundle/Application/636D3ABE-A9FB-4D63-9EDD-77E6B0CA1828/MYCocoaPodsApp.app/MYCocoaPodsApp
Reason: tried: '/Users/i858674/Library/Developer/Xcode/DerivedData/MYCocoaPodsApp-dxjphztxjvloanbvbmyixisilady/Build/Products/Debug-iphonesimulator/ArcGIS.framework/ArcGIS' (errno=2), '/Users/i858674/Library/Developer/CoreSimulator/Devices/86E443B4-78F1-4EA9-8E51-94BFB8C758FE/data/Containers/Bundle/Application/636D3ABE-A9FB-4D63-9EDD-77E6B0CA1828/MYCocoaPodsApp.app/Frameworks/ArcGIS.framework/ArcGIS' (errno=2), '/Users/i858674/Library/Developer/CoreSimulator/Devices/86E443B4-78F1-4EA9-8E51-94BFB8C758FE/data/Containers/Bundle/Application/636D3ABE-A9FB-4D63-9EDD-77E6B0CA1828/MYCocoaPodsApp.app/Frameworks/ArcGIS.framework/ArcGIS' (errno=2), '/Users/i858674/Library/Developer/CoreSimulator/Devices/86E443B4-78F1-4EA9-8E51-94BFB8C758FE/data/Containers/Bundle/Application/636D3ABE-A9FB-4D63-9EDD-77E6B0CA1828/MYCocoaPodsApp.app/Frameworks/ArcGIS.framework/ArcGIS' (errno=2), '/Users/i858674/Library/Developer/CoreSimulator/Devices/86E443B4-78F1-4EA9-8E51-94BFB8C758FE/data/Containers/Bundle/Application/636D3ABE-A9FB-4D63-9EDD-77E6B0CA1828/MYCocoaPodsApp.app/Frameworks/ArcGIS.framework/ArcGIS' (errno=2), '/Users/i858674/Library/Developer/CoreSimulator/Devices/86E443B4-78F1-4EA9-8E51-94BFB8C758FE/data/Containers/Bundle/Application/636D3ABE-A9FB-4D63-9EDD-77E6B0CA1828/MYCocoaPodsApp.app/Frameworks/ArcGIS.framework/ArcGIS' (errno=2), '/Users/i858674/Library/Developer/CoreSimulator/Devices/86E443B4-78F1-4EA9-8E51-94BFB8C758FE/data/Containers/Bundle/Application/636D3ABE-A9FB-4D63-9EDD-77E6B0CA1828/MYCocoaPodsApp.app/Frameworks/ArcGIS.framework/ArcGIS' (errno=2), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/ArcGIS.framework/ArcGIS' (errno=2)
The pod file looks like the following
pod 'ArcGIS-Runtime-SDK-iOS', '100.15.0'
I could not reproduce this issue in the 100.14 version so it seems like something was changed between 100.14.vs 100.15 on how the framework is built.
I checked the directory ArcGIS.framework/ArcGIS directory and in both 100.14 and 100.15, it is empty under the Derived Data so I am not suspecting that's the root cause of this issue. I believe somehow the way the framework is shipped in 100.15 is causing the issue.
If I look under SampleApp.app/Frameworks/ I don't find any ArcGIS framework.
Any help or pointers to resolve this issue would be highly appreciated.