Search code examples
iosobjective-ccocoapodssharekitxcode6.1

Pods sharekit with xcode 6.1


I have used the pod sharekit with my app and it was working fine, until I updated the XCode to 6.1 I started get errors a lot of errors and I have tried to solve them one by one. Now my problem

When I try to run the app under the simulator I get the following message:

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

And when I try to Archive the app to send it to App store I get this:

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.

Also when I try to deploy the app direct to the device I get the following message:

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

I stuck in this problem from 15 days ago I tried to get the solution by searching on google in the forums.

Note: I tried to remove the "pods" from the project and comment all the sharing code the app worked fine, I mean the problem is from pods.


Solution

  • There seems to be issue with GooglePlus; http://googledevelopers.blogspot.com.br/2014/09/an-important-announcement-for-ios.html

    I guess ShareKit is not updated with the latest GooglePlus SDK, so

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

    you should add googlePlus SDK separately if required;

    Ref: https://github.com/ShareKit/ShareKit/issues/961