Swift._ArrayBuffer._copyContents在Xcode

  "Swift._ArrayBuffer._copyContents(initializing: Swift.UnsafeMutableBufferPointer<A>) -> (Swift.IndexingIterator<Swift._ArrayBuffer<A>>, Swift.Int)", referenced from:
      generic specialization <serialized, Swift._ArrayBuffer<Swift.Int8>> of Swift._copyCollectionToContiguousArray<A where A: Swift.Collection>(A) -> Swift.ContiguousArray<A.Element> in libAlamofire.a(NetworkReachabilityManager.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

我用 ios 14.5 版本升级了 Xcode 12.5。我试图执行我的应用程序......我遇到了上述问题......我不知道如何解决这个问题。有谁解决这个问题???

回答

我遇到了同样的问题,并通过$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)从我们的 project.pbxproj 文件中删除引用来解决它,如本评论中所述:https : //github.com/facebook/react-native/issues/31179#issuecomment-829536845。我还会运行那里建议的所有清理命令。


以上是Swift._ArrayBuffer._copyContents在Xcode的全部内容。
THE END
分享
二维码
< <上一篇
下一篇>>