0

我在我的应用程序中使用了 pod sharekit,它运行良好,直到我将 XCode 更新到 6.1,我开始遇到很多错误,我试图一一解决。现在我的问题

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

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

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

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。

4

3 回答 3

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

于 2014-11-03T11:09:19.107 回答
0

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

对于谷歌加
https://developers.google.com/+/mobile/ios/getting-started

于 2014-11-03T13:09:47.440 回答
0

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

pod "ShareKit/Facebook"
pod "ShareKit/Twitter"
于 2014-11-03T14:14:25.367 回答