"Error running codesign" when building Symantec App Center App

Article:TECH197552  |  Created: 2012-09-28  |  Updated: 2013-07-26  |  Article URL http://www.symantec.com/docs/TECH197552
Article Type
Technical Solution

Product(s)

Issue



In the App Center Builder tool, when trying to execute the build and upload, the following error occurs.

  


Error



Error running codesign
 
/var/folders/7m/34qw_wz14nb85g6jsq_3x9f00000gp/T/53D5F967-036E-4B69-8A6A-C0B003D451B8-9957-0000EC214CE49F8E/Payload/AppDist.app: replacing existing signature
codesign_allocate: object: /private/var/folders/7m/34qw_wz14nb85g6jsq_3x9f00000gp/T/53D5F967-036E-4B69-8A6A-C0B003D451B8-9957-0000EC214CE49F8E/Payload/AppDist.app/AppDist malformed object (unknown load command 37)
/var/folders/7m/34qw_wz14nb85g6jsq_3x9f00000gp/T/53D5F967-036E-4B69-8A6A-C0B003D451B8-9957-0000EC214CE49F8E/Payload/AppDist.app: object file format unrecognized, invalid, or unsuitable
  

Environment



  • Symantec App Center 4.x

  


Cause



This error occurs if the Command Line Tools for Xcode are an old version, or are not installed.

  


Solution



  1. Ensure Xcode 4.5, or later, is installed on the Mac OS X computer
      
  2. Download and install the latest Xcode Command Line Tools for the applicable Mac OS X version: 
     
    https://developer.apple.com/downloads/index.action

  

 

For more information, see Building a native iOS App Center App using the App Center Builder.




Article URL http://www.symantec.com/docs/TECH197552


Terms of use for this information are found in Legal Notices