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.
I too am having this issue when upgraded to Xcode 12.3 today. Xcode 12.2 was working just fine
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
Now that 100.10.0 is out, can the framework be installed via SPM? The install and setup documentation has no mention of it.
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
Any news on a release that supports Xcode 12.3? An ETA?
We are running 100.9 on 12.3 (Cocoapods). Did you check out Divesh´ link?
Yes, I tried it. It doesn't work for me. I'm not using CocoaPods, but Carthage or SPM.
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).