Code signing failed: unsealed contents present in the bundle root

Hi,

I can not send an application to the store.

I have already removed all the certificates and profiles in the member center. I’ve generated new ones and the error remains.

I do not know what might be more. :S

I’ve tested with the last daily build and the last stable build and it stays the same.

The log I get:

abr 21 12:24:29.548 Building: Signing application with "iPhone Distribution: Tiago Eirinha (PJH94V2P89)" "iPhone Distribution: Tiago Eirinha (PJH94V2P89)" abr 21 12:24:29.761 ERROR: build command failed: DEVELOPER\_BASE="/Applications/Xcode.app/Contents/Developer" abr 21 12:24:29.761 export PATH="$DEVELOPER\_BASE/Platforms/iPhoneOS.platform/Developer/usr/bin:$DEVELOPER\_BASE/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" export CODESIGN\_ALLOCATE="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign\_allocate" /usr/bin/xattr -cr "/Users/tiagoeirinha/Desktop/Flat Out.app" && "/usr/bin/codesign" --verbose -f -s "9BD9CC96C639097F2742D5F31B985458E81D85C9" --entitlements "/var/folders/fd/2d3ckbsj6fbgr79svm7xvtnm0000gn/T/CLtmpD4Lc3o/entitlements.xcent" "/Users/tiagoeirinha/Desktop/Flat Out.app" abr 21 12:24:29.761 ERROR: with exit code 1 and output: abr 21 12:24:29.762 abr 21 12:24:29.776 /Users/tiagoeirinha/Desktop/Flat Out.app: unsealed contents present in the bundle root abr 21 12:24:29.777 BUILD ERROR: ERROR: code signing failed: /Users/tiagoeirinha/Desktop/Flat Out.app: unsealed contents present in the bundle root abr 21 12:24:29.777 abr 21 12:24:29.791 iOS build failed (12) after 34 seconds abr 21 12:24:30.106 ERROR: Build Failed: ERROR: code signing failed: /Users/tiagoeirinha/Desktop/Flat Out.app: unsealed contents present in the bundle root

Can someone help me?

Thank you!

I’ve also tested it on another Mac and the problem is the same.

Every time I have seen this it is caused by a file in the root of the project that Apple feels shouldn’t be there or is corrupt. The first step is to look at each file you have in the root of the project. 

  1. Make a backup first of course.

  2. Look for text files, corrupted image files, none supported file types (illustrator files), sym-links and others. Remove those.

  3. The file can be in one of the plugins. So start commenting those out until it builds.

I’ve also tested it on another Mac and the problem is the same.

Every time I have seen this it is caused by a file in the root of the project that Apple feels shouldn’t be there or is corrupt. The first step is to look at each file you have in the root of the project. 

  1. Make a backup first of course.

  2. Look for text files, corrupted image files, none supported file types (illustrator files), sym-links and others. Remove those.

  3. The file can be in one of the plugins. So start commenting those out until it builds.