ios Embedded binary is not signed with the same certificate as the parent app. 解决办法

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/yaojinhai06/article/details/52911924

上传应用的时候出现错误:




error: Embedded binary is not signed with the same certificate as the parent app. Verify the embedded binary target's code sign settings match the parent app's.

		Embedded Binary Signing Certificate:	iPhone Distribution: yy Li (nil)
		Parent App Signing Certificate:		iPhone Developer: yy Li (nil)

解决办法

  

首先要判断你的发布证书是否正确,并确认发布证书没有过期. 

  查看方法: 打开钥匙串->登录->证书,看看里边的证书是否过期.如下图

  

如果证书过期,重新从app developer 后台下载证书.

2.如果应用里有插件应用.就要保证插件的签名和应用的签名是一致的.

 1.选择工程->build settings->code signing

 2.选择都选开发证书(xcode 会自动选择发布证书)

如下图:



然后选择target ,设置target和上图一样的设置即可.

 1.选择TodayKit->build settings->code signing

 2.选择开发证书

然后重新打包,再次上传,就没有问题了,如果还有问题,请留言,我随时会帮你们解决问题.





猜你喜欢

转载自blog.csdn.net/yaojinhai06/article/details/52911924
今日推荐