{"issue":{"title":"Installing ShareKit 2.0 - page is old and needs to be updated!","user":{"login":"demoend","id":972500,"url":"https://api.github.com/users/demoend","avatar_url":"https://secure.gravatar.com/avatar/1dd0e8505084bf729091b82238c312a0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"1dd0e8505084bf729091b82238c312a0"},"created_at":"2011-12-24T16:22:09Z","milestone":null,"state":"open","updated_at":"2011-12-27T15:37:42Z","labels":[],"id":2653051,"closed_at":null,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"html_url":"https://github.com/ShareKit/ShareKit/issues/143","body":"I was trying to follow the getting started page\r\nhttps://github.com/ShareKit/ShareKit/wiki/Installing-sharekit\r\n\r\nCan someone update the Getting Started page to help people like me? I'm running Xcode 4.2.1 targeting iOS 5.0 using ARC.\r\n\r\nPerhaps there needs to be a XCODE 3.X getting started page and a XCODE 4.X getting started page?\r\n\r\nThere were two big issues for me to get going on ShareKit 2.0\r\n\r\n1) Missing files from the project. The Facebook submodules need to be downloaded and placed into the correct directory. I think the old ShareKit 1.X had these files as part of the zip file download. It would be nice if the ShareKit 2.0 had all the files that are needed in the zip file, or instructions on how to get and maintain the extra files. I also needed to get the JSONKit files from GitHub.\r\n\r\n2) In the ShareKit demo app I had to delete the JSONKit.m file to get the app to compile. This may be a Xcode 4.2 issue or a iOS 5.X issue. I'm still a newbie to Objective-C, so I'm not sure what the real solution should be. I'm sure one of you knows!\r\n\r\nThanks! Brian.\r\n","number":143,"url":"https://api.github.com/repos/ShareKit/ShareKit/issues/143","comments":6,"assignee":null},"comment":{"user":{"login":"demoend","id":972500,"url":"https://api.github.com/users/demoend","avatar_url":"https://secure.gravatar.com/avatar/1dd0e8505084bf729091b82238c312a0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"1dd0e8505084bf729091b82238c312a0"},"created_at":"2011-12-27T15:37:42Z","updated_at":"2011-12-27T15:37:42Z","id":3282287,"body":"Thanks for looking over the issue I submitted.\r\n\r\nOK, so I must have not followed the directions correctly the first time. I did in deed try the git way and the zip file way. So, now I tried the git way again this morning. I had much better luck. Thanks!\r\n\r\nNow the Facebook and JSON files are there. Yeah!\r\n\r\nHowever, the test project does not compile. It seems that there are too many main() functions defined?\r\n\r\nThe install wiki instructions say... \"You should then just remove ShareKit.xcodeproj from your project, no use for it there...\"\r\nHowever, I also needed to remove the main.m file under the ShareKit submodules folder.\r\nThen, I see that there is another sample project under the Facebook called Hackbook, so I removed the whole sample folder from my test project.\r\n\r\nNow I try to compile the project again.... no more errors, but there are 5 warnings...\r\n\r\nIt still seems that the Install wiki page should be updated to reflect that fact that the user needs to remove other files to get the project to compile?? Or perhaps I'm doing something else wrong?\r\n\r\nIn the end, do you know if I should have any warnings?\r\n\r\nHere are two I'm trying to figure out what to do with... I'm thinking I just need to delete the files?\r\n\r\n[WARN]Warning: Multiple build commands for output file /Users/brian/Library/Developer/Xcode/DerivedData/ShareKitTest3-bcyocumultupgddndfebbrrnpkbb/Build/Products/Debug-iphoneos/ShareKitTest3.app/.gitignore\r\n[WARN]Warning: Multiple build commands for output file /Users/brian/Library/Developer/Xcode/DerivedData/ShareKitTest3-bcyocumultupgddndfebbrrnpkbb/Build/Products/Debug-iphoneos/ShareKitTest3.app/README.md\r\n\r\n\r\nThanks,\r\nBrian.","url":"https://api.github.com/repos/ShareKit/ShareKit/issues/comments/3282287"},"action":"created"}