In the new Xcode, you can do this in the user interface:
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
source share