I upgraded Xcode from 12.2 to Xcode 12.3 and after upgrading, the build fails on the ArcGis framework with this message:
"Building for iOS Simulator, but the linked and embedded framework 'ArcGIS.framework' was built for iOS + iOS Simulator."
Here's a Stackoverflow thread on the issue (not ArcGIS specific though):
Also, you might want to consider distributing XCFramework files to be able to support multiple architectures properly.
Have you tried the workaround posted here - https://stackoverflow.com/a/65307593 ?
Another option is going to File > Project Settings, and then reverting to the Legacy Build System
And yes, we are migrating the ArcGIS library to the XCFramework format in the next release (update 10, coming soon)
The work around with the excluding architectures did not work for me. I was able to get around it by going to Build Settings and setting Validate Workspaces to Yes
Anyone got the ArcGIS Runtime samples for iOS up on Apple Silicon/M1?
Currently I'm stuck at
ld: building for iOS Simulator, but linking in dylib built for iOS, file '$HOME/Library/SDKs/ArcGIS/iOS/Frameworks/Dynamic/ArcGIS.framework/ArcGIS' for architecture arm64
As long as you´re not on Apple silicon, it should be possible to get it running by configuring your project manually, following the steps in the installation guide: https://developers.arcgis.com/ios/latest/swift/guide/install.htm.
I understand something changed from 12.2 to 12.3, so I´d just go through all the details once more (or perhaps set up a clean basic project for reference).