x

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"

Writing a plugin for an iOS framework

I'd like to write a UE4 plugin that links to an iOS framework. My guess right now is that I should take the static lib that the iOS framework wraps and put in the Binaries folder of plugin, and write a C++ API that calls methods in that framework/static lib. My questions are:

  1. Is the approach above correct?

  2. How do I get my game to link against that particular framework/static lib? Do I need to add a dependency in the *.Build.cs?

Product Version: Not Selected
Tags:
more ▼

asked Mar 29 '14 at 07:59 AM in Packaging & Deployment

avatar image

kevlar
6 2 3 4

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

2 answers: sort voted first

Hey Kevlar,

You should be able to add frameworks to your plugins build.cs like you suspect.

Just add:

 PublicFrameworks.Add("MyFramework");

Hope this helps. Terence

more ▼

answered Jun 24 '14 at 02:03 PM

avatar image

Pitbull-TBurns STAFF
151 6 2 3

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

While it's not specific to iOS this post is probably enough to get you pointed in the right direction.

Linking Static Libraries Using The Build System

more ▼

answered Apr 14 '14 at 10:45 PM

avatar image

lounges
5 3 5 6

avatar image Shadowriver Apr 14 '14 at 11:27 PM

It won't work, thats for VS2013 not XCode

(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