sharing on facebook sdk not found FacebookSDK is gone - ios

well guys, I feel a bit stupid but i have spent HOURS trying to figure out how to, and I just can't :(
i have gone here (facebook devs site)
https://developers.facebook.com/docs/getting-started/getting-started-with-the-ios-sdk/#samples
and also here to download https://github.com/facebook/facebook-ios-sdk
the thing is that, in every single "tutorial", they say, install the FacebookSDK, y have downloaded the .zip like one million times, and, first, you don't install a zip, so it's not about literally "installing", anyhow, I went through the folders and files, and I found one of the files I need, FBConnect.bundle and FacebookSDKResources.bundle
BUT, there's no such a thing like FacebookSDK.framework, I'm sure i have downloaded the correct file and everything, so the only thing I could say, and I'm not sure, it is that the file is incomplete, I have tried to run the samples, and they don't run, they say they can't find FacebookSDK.framework
Please, don't give me link to "follow the instructions", I've followed all of them, I wouldn't be here if not, what I need to know is if I already have the FacebookSDK.framewok? even when I cant see it (spotlight says I don't) neither in the files of the last version of github, and if I already have it, how can I correctly add it to my project (remember I dont have any FacebookSDK.framework, so is not as easy as drag en drop or those kind of things)
thanks for your help in advance

In case anybody found this annoying problem again.
https://developers.facebook.com/ios/downloads/
Find it form google "FacebookSDK-3.0.pkg" (why facebook make it complicate to download this?)

Related

Transferring Xcode Project from one computer to another brings random errors?

I have a Xcode project I got from another developer. Initially when I opened it it has a bunch of errors (most of which were un-updated frameworks). I got it to work after a while and I fixed it. I want pass it back to the manager since I'm leaving uni in a few months. I copied it over to my friends Mac to see what would happen if I just took the project and all it's folders and made it a zipfile. It didn't work for some reason. It gave me an error:
error: using bridging headers with framework targets is unsupported
But why did that come up? I mean it's the same code on the slightly different versions of Xcode (13.1 versos 14.1) but I doubt there was a massive change between the two that would cause this. I want to be able to pass these app later in the future without having to care about this stuff. I made a GitHub (link below) would cloning that work? Also the laptop I chose was just a fresh reset. Would it be due to not having coco-pods installed?
I feel like I could go through and fix it all on that laptop and document that but then I'm afraid that every time I put it on a new one it would come up with random errors every single time making my documentation moot.
https://github.com/AbdullahMSaid/SonicExperiment-Works
With big help this was Fixed.
Things that fixed it.
Having the correct version of Xcode
Turning everything from absolute path to relative
Lots of other code fixes. But those are my project specific.
You don't need bridging headers in framework. Use should have something like "YourFramework.h" where you can import your .h files.

Command /usr/bin/ditto failed with exit code 1 on Xcode 7 beta 5

I am experiencing two different errors while trying to build/run my app. I tried doing a Clean, deleted the DerivedData (multiple times), looking at other possible solutions but nothing has worked.
Here is a link to a Dropbox where I put two screenshots of my the errors in my build log (Not a scam, I just can't post them here because StackOverflow is stupid and won't let me post images): https://www.dropbox.com/sh/l7l736nl2bfwcvt/AAA-e0-8FUpvqJmAEgwgA1nAa?dl=0
Please note that "Golden Words" is the name of the project (it's a campus newspaper). I have absolutely no idea what the "Golden_Words-Swift.h" file is. I never created such a thing so I don't understand why Xcode is trying to find such a file.
Note that the "MapViewController.swift" file is a View Controller where I just use some basic MapKit features. As a beginner, I truly don't understand what "MapViewController.o" is, nor why Xcode is looking for it.
I really hope one of you can help me completely fix these errors :) My app has been plagued by errors for weeks now which has made it impossible for me to make any progress. If you want more details, ask away!

More FacebookSDK/Facebook.h issues - file not found

Alright, guys. I'm going freakin' crazy with this one. It is utterly ridiculous that the FacebookSDK causes so many issues. I know there are a couple questions on here regarding this issue, but they all seem to be outdated.
I pulled my Xcode project onto a new computer, and can't build it because I get the "FacebookSDK/FacebookSDK.h" file not found error. There are answers such as This one, but I've followed the steps in every single answer and haven't found one that works. I've just made a fresh pull from my working project from the original machine to the new one. I'll take some screenshots showing my current settings for various fields mentioned in other answers, and maybe I Just have something wonky that is interfering.
Here are the contents of the SDK that I just downloaded
Here are the contents of my Xcode project folder. There isn't anything else Facebook in here.
Here are the frameworks inside my Frameworks group and inside the Link Binary with Libraries section of Build Phases
There are a couple frameworks that are red, and that's OK for now. They were not in the repo, and are instead referenced from Documents or Downloads, and they played nice when I moved the files over and linked them. I just reset my repo to when I pulled it to make sure I didn't have anything from weird stuff I tried that prevents a proper solution from working.
Framework search paths. You can also see that my library search paths is empty. I labeled the stuff I wanted to hide, as it was identifying information
For some reason, my Documents for the new machine is already under the framework search paths. I did not add this myself.
Any ideas on what I can try? This is endlessly frustrating. I've wasted an entire day of development on trying to get Facebooks SDK re-integrated on a new machine.
I was also face the same problem every time I got the checkout for new version from svn.What I did was just removed the Facebook SDK and add again from the backup.It taken me out that time.Please try this might be it works for you.

iOS - missing Platform Libraries

First of all, I've never worked on iOS, so this may or may not be a stupid question, I don't know :)
I have an iOS App, and I need to run it.
In the 'Project Navigator' I have a folder/package called 'Reuse and Platform Libraries'. Inside, I have another four folders but 3 of them seem like missing.
I am not sure if this is the case. I've tried googling their name but without results so I assume they are not some open source libraries.
Can someone clear this up for me? Do I need to install some XCode packages?
Thanks!
I suggest you search the folder of the project for those files, sometimes when copying a project the paths get screwed up because they were set as absolute paths and not relative paths.
If you can't find the files, it's most likely that the library is a private one used by the previous developers, and usually kept out of the project folder so they probably forgot to send it along. I'd suggest simply asking them to send the files over :).
There is also a slight chance they are not needed to run the file, in which case, just deleting them from the sidebar should make the project run.

Integration googleDrive in ios application

I use DropBox and SkyDrive in my applications and they work like a charme with a very good documentation, but GoogleDrive is really hard to integrate (to be polite :) ).
I'm not talking about coding but integration in xcode.
i follow this tutorial.
In step 3 i have 8 point to do, the problem is in point n°7, there's no Sources path, i search in the svn folder i download and it's not there. and of course without linking headers i have this issue "GTMOAuth2ViewControllerTouch.h no such file or directory"(i think that compiler stop there but there's more error).
what can i do ?
I know this is really old, but I had this problem and found a solution.
When you add the "User Header Search Paths" to the source directory, you need to make sure you set it to recursive so it gets all of the contents of that directory. Hope that helps.
The Source directory is immediately under the trunk that you checked out.
There is a Google Developer video (embedded at the bottom of the tutorial) that shows all the steps listed in the tutorial. Unfortunately the presenter does skip some troubleshooting and the steps he's following are very slightly different to the current version of the tutorial, but it is still helpful.

Resources