IBM Worklight / MobileFirst 6.x / 7.0 - "The code object is not signed at all." error with buildtime.sh script

I had an error loading the Worklight app in iTunes.

Application verification fails with the following error:

Invalid signature. The code object is not signed at all. The binary path [MyApp.app/buildtime.sh] contains an invalid signature. Make sure you signed your application with a distribution certificate, not a special certificate or development certificate. Make sure that the code signing settings in Xcode are correct at the target level (which override any values ​​at the project level). Also, make sure the package you download was created using the Release target in Xcode, not the target of the simulator. If you are sure that the code signing settings are correct, select "Clear All" in Xcode, delete the "build" directory in Finder, and restore your release target. For more information, consulthttps://developer.apple.com/library/ios/documentation/Security/Conceptual/CodeSigningGuide/Introduction/Introduction.html

My problem is that I submitted the same application 2 weeks ago and it worked fine. Today, the version has only the contents of www / folder, and with this error, it fails.

I searched for this problem and found the Codesign API Dropbox API in Xcode 4.6.3: "the code object is not signed at all", etc., but I tried to add the --deep parameter, and this did not work for me.

Could this relate something to the buildtime.sh script? When I read it, it just updates the build time value in the worklight.plist file:

#!/bin/bash
# Licensed Materials - Property of IBM
# 5725-I43 (C) Copyright IBM Corp. 2006, 2013. All Rights Reserved.
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.

# Update buildtime in project 
echo -n ${TARGET_BUILD_DIR}/${PRODUCT_NAME}.app/worklight.plist | xargs -0
/usr/libexec/PlistBuddy -c "Set :buildtime `date +\"%s\"`"

, : https://github.com/AppGyver/steroids/issues/918, , , sh, , buildtime.sh script.

script run script Xcode, .

?

- ​​ Worklight? buildtime.sh script Apple?

+4
1

MFP: https://developer.ibm.com/mobilefirstplatform/2015/05/01/recent-changes-in-apples-app-submission-process/

, Apple , .sh, ( .ipa) .

Worklight/MobileFirst .sh , buildtime.sh, . , . , .

: ( ) buildtime.sh Xcode ( " " > " " ).

iFixes (IBM APAR PI39826, Worklight/MFP Studio/CLI, ) IBM Fix Central:

  • 6.0.0.2-IF201504301500
  • 6.1.0.2-IF201504301501
  • 6.2.0.1-IF201504301522
  • 6.3.0.0-IF201504301455
  • 7.0.0.0-IF201504301556

iFix :

  • ,

iFix buildtime.sh .

.sh , , Xcode.

+5

All Articles