ios - 带有 xcode 6.1 的 Pods 共享工具包

标签 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

Archive validation failed due to the listed below:

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 上。

最佳答案

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

关于ios - 带有 xcode 6.1 的 Pods 共享工具包,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26700729/

相关文章:

ios - 如何测量 UITableViewCell 的加载时间?

ios - AFNetworking Pod 安装不工作

flutter - 无法在 Macbook air M1 中安装 cocoapods,每次创建 flutter 项目时 pod 文件都丢失

iphone - numberOfRowsInSection - 无法识别的选择器发送到实例问题

ios - 如何在 ios 中读取 pdf 文件。我没有使用 UIWebView

ios - 获取一个 UITableView 以在标题顶部加载

ios - 如何将 2 个按钮对齐到 UIToolbar 的左右边框

ios - 从 ContainerView 获取 subview

objective-c - NSString(或 NSArray 或其他)到 C (char *) 字符串的可变参数列表

ruby - 在 Mac OS Catalina (10.15.7) 上安装 cocoapods 时出错