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"

IOS - How to add a framework with bundle.

Hello, I am trying a create a plugin for UE which requires me to add a framework and a bundle.
I know,how to add framework as i have been able to create few plugins successfully,but,i don't know,how to add bundle.
I have looked into the source code and found that TapJoy plugin is using a bundle,but,when i try to create an alias and then move that alias in a new folder which is named as resources just like in TapJoy plugin it does not work during runtime.
It gives me an error something like. cp No such file or directory.

My build.cs

                 new UEBuildFramework(

Thank you!

Product Version: UE 4.10
more ▼

asked Nov 24 '15 at 05:04 AM in C++ Programming

avatar image

130 6 7 15

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

1 answer: sort voted first

Ok,today after playing around in XCode and Unreal engine,i finally found the solution for my problem.
It was really small and i should have read the XCode error more carefully before.
The problem was when UE was trying to unzip the file,it was ignoring the space in the folder name "Unreal Project" and was trying to consider it as "UnrealProject",while it was trying copy the .bundle from the Resources folder during compiling in XCode.
I wonder whether it is a bug,because,i thought that this thing was fixed.
Anyways,i am posting the entire guide for including a framework with bundle just in case anybody else faces the same issue as i was facing.
1) Make a something.embeddedframework (or any folder name you like) folder in a ThirdParty folder .
2) Copy and paste the something.framework in this something.embeddedframework folder.
3) Make a Resources folder in something.embeddedframework folder.
4) Copy and paste the something.bundle in this something.embeddedframework/Resources folder.
5) In your build.cs add this code..

                  new UEBuildFramework(

6) As of UE 4.10 make sure that you remove any spaces in your folder names in the entire path.
The easiest way to check is by going to the folder you to check,open the terminal and just drag and drop the folder.
Check if you have anything like \ in the path in any specific folder name,if you find anything like that,just rename the folder with no spaces in it.

I hope that,it helps you.

more ▼

answered Nov 28 '15 at 02:24 PM

avatar image

130 6 7 15

avatar image furiontang Nov 27 '17 at 12:56 PM

if i have 2 bundles in 1 framework what should i do using UEBuildFramework()? As i can only use one bundlename in the constructor

avatar image Superflare Jan 11 '18 at 08:54 AM

Sorry for being so late. I was very busy with my work and other stuffs and also,due to some reasons i was not getting any notifications. I hope that,you have found solution to your problem.

I have not tried it,but,i think, you can simply copy and paste the same code with different bundle name. It should work. I hope that it helps you.

avatar image Tapocheck May 02 '19 at 10:26 AM

Hello, did you found a way to add 2 bundles?

avatar image Dario-A Aug 03 '18 at 11:51 AM

Just noting that your framework cannot be a dynamic framework. It must be static. As of UE 4.20, dynamic frameworks don't seem to be supported.

(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