- Home /
load file from Xcode
Hi all and thanks in advance,
i have my unity project and works fine in the editor but when i try to build it into Xcode it stops working. I think that it's becouse i load an XML file from script and when i build the game for iOS the script is unable to find the correct path of the XML because... well, becouse the folder doesnt exist in the Xcode project.
Anyone can help me and tell me how can i fix my script for making it working also in Xcode?
Thanks again
Are you sure you used the right file path to load your X$$anonymous$$L file? Where did you put your X$$anonymous$$L file to be loaded?
Answer by mastermax001 · Nov 08, 2012 at 12:12 PM
I've done it! The problem was that i was misunderstanding the path :) With application.datapath +"/Raw/yourfile" you will be able to recall your files from iOS :)