When I´m running my automatic (command line) build, sign and upload script for my app, an error occurs when installing the app: 'Application signature not valid'.
It worked perfect for years before and stopped working 2 weeks ago (maybe due to Xcode update).
The same error occurs when I´m using HockeyApp for Mac OS to build the ipa and upload it.
When I´m doing the same manually in Xcode, then exporting it as .ipa, everything works well.
What could be the problem? I think xcodebuild is doing something different in the signing process than the manual Xcode .ipa-export.
My automatic build process (shortened)
xctool -workspace $WORKSPACE -scheme $SCHEME -configuration $BUILD_CONFIGURATION -sdk iphoneos clean archive
xcrun -log -sdk iphoneos PackageApplication -v "$PRODUCT_PATH" -o $OUTPUTDIR/$APPNAME.ipa" -sign "$DEVELOPER_NAME" -embed "$PROVISIONING_PROFILE"