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..
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.
Nov 28 '15 at 02:24 PM