ios - 无法构建项目 - libswiftAVFoundation.dylib:errSecInternalComponent 错误:任务失败,退出 1 信号 0
问题描述
突然我无法构建项目。我在构建时收到此错误:
Products/Debug-iphoneos/MyApp.app/Frameworks/libswiftAVFoundation.dylib /usr/bin/codesign '--force' '--sign' 'E5DD0B9344567811AABBF46F5AA802C26FAD6696' '--verbose' '/Users/vlad/Library/Developer/Xcode /DerivedData/MyApp-aohzmfeceiyidabrejtgjtlfukvs/Build/Products/Debug-iphoneos/MyApp.app/Frameworks/libswiftAVFoundation.dylib' /Users/vlad/Library/Developer/Xcode/DerivedData/MyApp-aohzmfeceiyidabrejtgjtlfukvs/Build/Products/Debug-iphoneos/ MyApp.app/Frameworks/libswiftAVFoundation.dylib:errSecInternalComponent 错误:任务失败,退出 1 信号 0 { /usr/bin/codesign '--force' '--sign' 'E5DD0B9344567811ABBBF46F5AA802C26FAD6696' '--verbose' '/Users/vlad/Library/Developer/Xcode/DerivedData/MyApp-aohzmfeceiyidabrejtgjtlfukvs/Build/Products/Debug-iphoneos/MyApp.app/Frameworks/libswiftAVFoundation.dylib' }
我试图重新包含 Swift 库,但没有帮助。这发生在我尝试连接到 Firebase 但随后将其从 pod 文件中删除之后。
谁能告诉我问题出在哪里以及如何解决?
解决方案
清洁(shift + cmd + k)
删除派生数据(单击文件->工作场所设置->单击派生数据下的箭头并删除整个文件夹)
再次清洁
重建
推荐阅读
- vue.js - 如何使用vue资源在标头中发送多个参数
- amazon-web-services - 如何从 cli 本地连接到现有的弹性 beanstalk 实例?
- node.js - Rabbit MQ amqplib 错误“没有可分配的通道”
- mongodb - 如何使用 Go 的 mongo 驱动程序在 Mongodb 查询上创建视图?
- angular - 如何在 AngularFire2 的 Firestore 中检索集合的文档 ID
- aws-lambda - 使用 lambda 函数集创建 SQS 动态
- amazon-web-services - 如何在 Amazon Rekognition 中启动流处理器
- angularjs - 在Angular js中选择下拉项目的上传按钮
- ruby - 通过某些键合并散列数组并合并其他键的值
- ios - 如何在 Swift 4 中将 UIImage 转换为字节数组