We are upgrading our min iOS version for our app to iOS 12.1, and in doing such, also updating all of our dependencies. We were previously running the ArcGIS iOS runtime SDK version 100.7.1 through CocoaPods with no issue. After updating to SDK version 100.10 however, we are now receiving the following warning at build time:
[CP] Unable to find matching .xcframework slice in '<path to project>/Pods/ArcGIS-Runtime-SDK-iOS/ArcGIS.xcframework ArcGIS framework ios-arm64 ios-x86_64-simulator' for the current build architectures (arm64 x86_64).
As well as, and more importantly, a compiler error
No such module 'ArcGIS'
It is worth noting this only happens when building the project with a run destination of a simulator. It does not happen if building to a device or archiving.
Unfortunately, this is not a viable solution because the application uses CI/CD processes that run unit tests on simulators as well as build and deploy the application.
I have tried most normal steps when this issue occurs. I've also added the pods scheme as a run destination to try and build the pods, but when doing that, I receive the following error:
Unable to load contents of file list: '/Target Support Files/ArcGIS-Runtime-SDK-iOS/ArcGIS-Runtime-SDK-iOS-xcframeworks-input-files.xcfilelist'
Unable to load contents of file list: '/Target Support Files/ArcGIS-Runtime-SDK-iOS/ArcGIS-Runtime-SDK-iOS-xcframeworks-output-files.xcfilelist'
Is there a known issue with the current implementation of the ArcGIS SDK when added through CocoaPods?
Can anyone help me out with this?
Thanks,
Rob