error
Undefined symbols for architecture arm64: "Swift._ArrayBuffer._copyContents..."
解决方法
This requires you to remove both references to “(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)” from your project.pbxproj file. You need to have a Swift bridging header and also an empty swift file in your target. I had only the bridging header and not an actual Swift file, which used to work fine, but for some reason didn’t suffice any more. I explicitly added an empty Swift file, and that fixed all linking issues. It looks like adding that file simply helped set ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES to YES. You could also try setting this directly.
移除位于 Library Search Paths 里面的 (TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)