Cocoapod安装后未找到代码签名 [英] No Code Signature Found after Cocoapod Install
问题描述
我最近在我的两个xCode项目中安装了cocoapods,但它们都不会安装在我的物理iPhone上。
I recently installed cocoapods on two of my xCode projects and they both won't install on my physical iPhone.
这两个项目是一个气象应用程序和一个比特币跟踪器应用程序,都使用alamofire和swiftyjson。
The two projects are a weather app and a bitcoin tracker app, both using alamofire and swiftyjson.
在模拟器上运行它们很好。 这些是我尝试过的事情:
Running on the simulator they are fine. These are the things I've tried:
- 清理项目
- 关闭xCode并重新打开
- 重新启动iPhone
- 测试了一个空白项目是否可以安装到我的实体电话上,工作正常
- 试图在xCode左侧的文件检查器中在Pods项目上打勾自动管理签名
- Cleaning the projects
- Closed xCode and reopened
- Restarted iPhone
- Tested a blank project if it will install onto my physical phone, worked fine
- Tried to tick auto manage signing on Pods project in the file inspector on the left hand side of xCode
请发送帮助!
编辑:链接到我运行视频时发生的视频 https://www.youtube.com/watch?v=OMe3Q0pd1Eo
Link to video of what happens when I run it https://www.youtube.com/watch?v=OMe3Q0pd1Eo
推荐答案
转到项目>建立设定并设定签署> iOS开发人员
的代码签名身份,或删除〜/ Library / Developer / Xcode / DerivedData
中的所有数据。
Go to project > build setting and set signing > code signing identity to iOS developer
or Remove all data in ~/Library/Developer/Xcode/DerivedData
.
关注此链接:
这篇关于Cocoapod安装后未找到代码签名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!