Pods sharekit与xcode 6.1

时间:2014-11-02 15:05:50

标签: ios objective-c cocoapods sharekit xcode6.1

我已将pod sharekit与我的应用程序一起使用,并且它工作正常,直到我将XCode更新为6.1我开始得到错误很多错误,我试图逐个解决它们。现在我的问题

当我尝试在模拟器下运行应用程序时,我收到以下消息:

Unable to run app in Simulator : An error was encountered while running (Domain = LaunchServicesError, Code = 0)

当我尝试存档应用程序以将其发送到App Store时,我得到了这个:

Symbols tool failed
  

归档验证失败,原因如下:

Unable to validate your application.
The archive is invalid /var/folder/fv/........ .ipa does not exist.

此外,当我尝试将应用程序直接部署到设备时,我收到以下消息:

>     App installation failed
>     Could not inspect the application package.

我在15天前陷入了这个问题,我试图通过在论坛上搜索谷歌来获得解决方案。

注意:我试图移除" pods"从项目和评论所有共享代码应用程序工作正常,我的意思是问题来自pods。

3 个答案:

答案 0 :(得分:1)

GooglePlus似乎存在问题; http://googledevelopers.blogspot.com.br/2014/09/an-important-announcement-for-ios.html

我猜ShareKit没有使用最新的GooglePlus SDK进行更新,所以

Replaced pod "ShareKit" with 
pod "ShareKit/Twitter"
pod "ShareKit/Facebook"
pod "ShareKit/Pocket"
pod "ShareKit/Evernote" 

如果需要,您应该单独添加googlePlus SDK;

参考:https://github.com/ShareKit/ShareKit/issues/961

答案 1 :(得分:0)

是的,通过pod使用Google plus SDK是个问题,需要单独集成google plus sdk
替换pod" ShareKit"以下
pod' ShareKit / Twitter'
pod' ShareKit / Facebook'
pod' ShareKit / Pocket'
pod' ShareKit / Evernote'

适用于Google plus
https://developers.google.com/+/mobile/ios/getting-started

答案 2 :(得分:0)

你是对的人谢谢你。 问题在于Google plus。 因为我只使用Facebook和Twitter的共享功能,所以我只需将我的pod文件更新为:

pod "ShareKit/Facebook"
pod "ShareKit/Twitter"