I\'m migrating from Xcode 3.5 to Xcode 4 and while I\'m trying to Archiving my app for AdHoc distribution. I received this error
Precompile MyApp_Prefix.
You can solve this problem by selecting General tab of AppNameTests and select your app from the drop down list and enable "Allow testing Host Applications APIs"