Reputation: 1954
I need to play an mp3 file in my application, and I have added it to my Project Navigator in the "Supporting Files" folder. When I build the application on the simulator, it runs fine.
When I attempt to build on my device, I get stuck in this stage:
This goes on for about 3 minutes and then I get two "An unknown error has occurred" windows that pop up.
I have tried resetting my MBP, iPhone, and Xcode. I have also tried cleaning my build folder. I thought this would be a simple/common problem, but my research has come up without a solution.
I found this thread, which advises to turn of "Parallelize Build," but that did not work either.
Has anyone experienced this problem and found a solution?
EDIT: Whenever I add any new media files (music/pictures) I get stuck on copying them.
Upvotes: 4
Views: 2008
Reputation: 1363
In the info.plist you can add the key: Application supports iTunes file sharing and set it to YES. Then you be able to manage your app data using the iTunes. Open iTunes, go to your device and open the application tab.
Down in this page go to file sharing section and there you have your app Documents folder to pass all you data.
I hope this result useful.
Upvotes: 1