Errors running Calls QuickStart project in the simulator

I’m struggling to get the sample project at running in the simulator.

Specifically, I’m getting these errors:

unable to load standard library for target 'arm64-apple-ios9.0'

failed to build module 'SendBirdCalls' from its module interface; the compiler that produced it, 'Apple Swift version 5.1 (swiftlang-1100.0.270.13 clang-1100.0.33.7)', may have used features that aren't supported by this compiler, 'Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8)'

I was able to get around those errors and run it on my device by changing the “Architectures” build setting from $(STANDARD_ARCHS) to arm64.

I’m using Xcode Version 12.2 (12B45b) on macOS 10.15.6 (19G2021).

hello @dmtoptal
If an error occurs in xcode12, it can be solved by the build setting shown in the link below.

have a nice day

Thanks Damon! Very helpful.

One more issue in this project:

Identifier Name Violation: Enum element name should only contain alphanumeric characters

I’m getting that for enums with associated values (e.g. CallDirection). Any idea what’s going on there?

For anyone else who comes across this: it was an issue with SwiftLint. I added identifier_name under disabled_rules in the .swiftlint.yml file.