While trying to build our project with Xcode 12 I ran into multiple build failures while rebuilding our dependencies with Carthage.
I always end up getting this linker error:
As an intermediate workaround I removed the armv7 architecture from the valid architectures.
I always end up getting this linker error:
This happened for me for both Alamofire and PhonenumerKit; therefore, this looks like an issue with the new Xcode and not the frameworks themselves. Archiving them with Xcode 11 works without a problem.Undefined symbols for architecture armv7: "type metadata for Swift.StringObject.Variant", referenced from: outlined init with take of Swift.StringObject.Variant in CountryCodePickerViewController.o ld: symbol(s) not found for architecture armv7
As an intermediate workaround I removed the armv7 architecture from the valid architectures.