Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How do I update a 3rd party (git) dependency?


I need to update the iOS Facebook SDK to the latest version due to iOS9 compatibility issues (sigh). However, the Facebook SDK is a 3rd party dependency and is not stored in the GitHub repository and it's downloaded automatically when I sync with my branch, downloading the old SDK and overwriting my changes.

Is there any way to update the dependency on my branch so it uses the new version instead?

Best regards

Product Version: UE 4.9
more ▼

asked Oct 08 '15 at 10:19 PM in C++ Programming

avatar image

358 8 11 26

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

If the Facebook SDK is bound in as a submodule or still has its own git repository, you just can use your git shell, navigate to the FacebookSDK Repository and do a git pull

more ▼

answered Oct 09 '15 at 07:21 AM

avatar image

58 3 8 7

avatar image manoelneto Oct 13 '15 at 01:58 PM

It's a submodule, but doesn't seem to have its own repository. It's downloaded by GitDependencies.exe from Epic's CDN.

I downloaded the latest SDK and put it in a different folder (so it doesn't get overwritten by the dependency downloader), but I'm struggling a bit with this whole "embeddedframework" thing. I got the engine to compile and it runs, but calling Facebook's logInWithReadPermissions does nothing on the device. Not even a message error on the console.

I'll download the FB SDK source code and build it to see if I can figure out what's going on, but I suspect a bundle isn't being included in the IPA and I have no idea how to get it there.

avatar image Stane Oct 14 '15 at 12:36 AM

If it is downloaded as a git submodule it should have its own repository, which you can update with git. In the root folder of the FacebookSDK should be the hidden folder .git If that is the case, just install git, open that folder with the git shell and run git pull :-)

avatar image manoelneto Oct 20 '15 at 03:49 PM

It's not a git submodule, there's no .git folder. Also, the SDK files are organized differently from the actual Facebook's github repo: each framework is placed inside a folder which is then placed inside a zip file.

BTW, I figured it out and got it working. Had to fix a few things in the OnlineSubsystemFacebook to get it working properly with the latest SDK. I'll try to find some spare time to make a pull request or something.

avatar image Stane Oct 21 '15 at 05:04 AM

Great!, Good to hear you got it running!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question