gpt4 book ai didi

ios - "Segmentation fault: 11"归档 iOS 应用程序 (Swift)

转载 作者:可可西里 更新时间:2023-11-01 02:17:29 30 4
gpt4 key购买 nike

运行构建(在设备/模拟器上)正确编译和执行。但是,当我尝试构建归档时,出现以下错误:

clang: error: unable to execute command: Segmentation fault: 11
clang: error: linker command failed due to signal (use -v to see invocation)

此错误的可能原因是什么?如果它有助于了解;我正在使用 CocoaPods 作为依赖项管理器。

Pod文件如下:

pod 'Alamofire', '~> 3.0'
pod 'SDWebImage', '~>3.7'
pod 'PureLayout'
pod 'SwiftyJSON', :git => 'https://github.com/SwiftyJSON/SwiftyJSON.git'
pod 'GoogleMaps'
pod 'QRCodeReader.swift', '~> 5.2.1'

最佳答案

我解决了这个错误。错误出现在 GoogleMaps 最新版本 1.12.2 &我变了

pod 'GoogleMaps' 

pod 'GoogleMaps' , '~> 1.11.1'

它奏效了。

当出现此类错误时,使用暴力检查 Pod 依赖关系。

关于ios - "Segmentation fault: 11"归档 iOS 应用程序 (Swift),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35680770/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com