I am developing iPhone apps. Xcode generates an .app bundle, which is a folder with files inside. I set the app as a shared artifact with the copy pattern (*.app/). I used the forward slash at the end to make sure it included all the sub-files and folders. But it did not seem to copy an alias and an executable correctly. All I know is that Xcode code signing scripts are now not working:
error: Codesign check fails : build/AdHoc-iphoneos/Installer.app: a sealed resource is missing or invalid
/Users/william/bamboo-home/xml-data/build-dir/INST-ADHOC-PACKAGE/build/AdHoc-iphoneos/Installer.app/CodeResources: resource added
I prepared a screenshot to show the differences.