Screen Shot 2557-09-28 at 1.34.20 AM

In the new Xcode, you can do this in the UI:

1. Select your project in top left
2. Select target in next column
3. Click on Info tab
4. In Custom iOS Target Properties, hover mouse over any row and click +
5. In popup, select “Application supports iTunes file sharing”, then set Value to YES on right
6. Click Validate Settings at bottom to make sure all is good

reference: http://stackoverflow.com/questions/3241107/how-to-implement-itunes-built-in-app-file-sharing-feature#_=_