Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OSStatus error -67028 When Building Ad Hoc iOS App

I'm getting an error when trying to do an archive build for ad hoc distribution on iOS for an iPhone-only app. The app is signed with the proper certificates and has the proper provisioning profile (checked with a friend who was able to sign properly as well, so it's not a code signing issue).

enter image description here

Whenever I try to distribute with the Xcode archive panel, I get the following error message in an alert sheet:

OSStatus error -67028

I've never encountered this error before. I'm able to build and have the app run fine in both the simulator and device, but for whatever reason, I'm completely unable to get the distribution feature of Xcode to work to create an ad hoc build.

Has anyone ran into this issue before?

Things I've checked are:

  • Code signing (generated all new certs and profiles to start from scratch)
  • Files and frameworks

enter image description here

The only thing that I could find with the files and frameworks that might be off is that the main Storyboard file (Main_iPhone.storyboard) couldn't be found in the Copy Bundle Resources, although the storyboard loads properly in Xcode and allows editing, and can be found in the Finder under the Base.lproj folder.

like image 201
coryb Avatar asked Dec 14 '13 18:12

coryb


1 Answers

I had the same issue with the HockeyApp SDK. What I actually did was

  1. Remove HockeyApp SDK by selecting "Remove reference" from the Frameworks folder.
  2. Drag&Drop the Folder HockeySDK.embeddedframework to the XCode Frameworks folder
  3. Deselect the "Copy items into destination group's folder (if needed)"
  4. Select "Create groups for any added folders"
  5. Select your target
like image 62
Amel Mahmuzić Avatar answered Sep 25 '22 01:09

Amel Mahmuzić