ios – Cocoa Pods Shell脚本调用错误

前端之家收集整理的这篇文章主要介绍了ios – Cocoa Pods Shell脚本调用错误前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我有一个项目,我最近添加了可可豆荚.我的项目使用通配配置文件签署,直到今天我需要推送通知.我在开发人员控制台中创建并设置它,但是现在当我尝试在物理设备上运行它时AFNetwork(通过可可豆荚添加)失败并出现以下错误

mkdir -p
/Users/naxex/Library/Developer/Xcode/DerivedData/Profit-ezfzeesgjrasubavzqgwnexzgbsv/Build/Products/Debug-iphoneos/Bforex
(QA).app/Frameworks rsync -av –filter – CVS/ –filter – .svn/
–filter – .git/ –filter – .hg/ –filter – Headers/ –filter – PrivateHeaders/ –filter – Modules/
/Users/naxex/Library/Developer/Xcode/DerivedData/Profit-ezfzeesgjrasubavzqgwnexzgbsv/Build/Products/Debug-iphoneos/Pods/AFNetworking.framework
/Users/naxex/Library/Developer/Xcode/DerivedData/Profit-ezfzeesgjrasubavzqgwnexzgbsv/Build/Products/Debug-iphoneos/Test
(QA).app/Frameworks building file list … done
AFNetworking.framework/ AFNetworking.framework/AFNetworking
AFNetworking.framework/_CodeSignature/CodeResources

sent 666427 bytes received 70 bytes 1332994.00 bytes/sec total size
is 676284 speedup is 1.01 Code Signing
/Users/naxex/Library/Developer/Xcode/DerivedData/Profit-ezfzeesgjrasubavzqgwnexzgbsv/Build/Products/Debug-iphoneos/Test
(QA).app/Frameworks/AFNetworking.framework with Identity iPhone
Developer: MY DEV (W8KV7Q7L6D) /usr/bin/codesign –force
–sign 29B75DC1CAE41505149FC025F4F2A8B57831E975 –preserve-Metadata=identifier,entitlements /Users/naxex/Library/Developer/Xcode/DerivedData/Profit-ezfzeesgjrasubavzqgwnexzgbsv/Build/Products/Debug-iphoneos/Test
(QA).app/Frameworks/AFNetworking.framework
29B75DC1CAE41505149FC025F4F2A8B57831E975: no identity found Command
/bin/sh Failed with exit code 1

如果我切换回通配配置文件应用程序在设备上运行正常.

有任何想法吗?

问候

解决方法

问题是我有两个具有相同名称的Provisioning Profiles.我不知道为什么,但CocoaPods为框架设置错误.删除一个后,CocoaPods’抓住了’正确的一个,并且构建通过了.
原文链接:https://www.f2er.com/iOS/332632.html

猜你在找的iOS相关文章