parameters: (self, configname, output_binary)
return_statement: return ['%s code-sign-bundle "%s" "%s" "%s" "%s"' % (
          os.path.join('${TARGET_BUILD_DIR}', 'gyp-mac-tool'), key,
          settings.get('CODE_SIGN_RESOURCE_RULES_PATH', ''),
          settings.get('CODE_SIGN_ENTITLEMENTS', ''),
          settings.get('PROVISIONING_PROFILE', ''))
      ]
docstring: Return a shell command to codesign the iOS output binary so it can
      be deployed to a device.  This should be run as the very last step of the
      build.
docstring_summary: Return a shell command to codesign the iOS output binary so it can
      be deployed to a device.  This should be run as the very last step of the
      build.
docstring_tokens: Return a shell command to codesign the iOS output binary so it can be deployed to a device . This should be run as the very last step of the build .
function: def _GetIOSPostbuilds(self, configname, output_binary):
      """Return a shell command to codesign the iOS output binary so it can
      be deployed to a device.  This should be run as the very last step of the
      build."""
      if not (self.isIOS and self.spec['type'] == 'executable'):
        return []
  
      settings = self.xcode_settings[configname]
      key = self._GetIOSCodeSignIdentityKey(settings)
      if not key:
        return []
  
      # Warn for any unimplemented signing xcode keys.
      unimpl = ['OTHER_CODE_SIGN_FLAGS']
      unimpl = set(unimpl) & set(self.xcode_settings[configname].keys())
      if unimpl:
        print 'Warning: Some codesign keys not implemented, ignoring: %s' % (
            ', '.join(sorted(unimpl)))
  
      return ['%s code-sign-bundle "%s" "%s" "%s" "%s"' % (
          os.path.join('${TARGET_BUILD_DIR}', 'gyp-mac-tool'), key,
          settings.get('CODE_SIGN_RESOURCE_RULES_PATH', ''),
          settings.get('CODE_SIGN_ENTITLEMENTS', ''),
          settings.get('PROVISIONING_PROFILE', ''))
      ]
function_tokens: def _GetIOSPostbuilds ( self , configname , output_binary ) : if not ( self . isIOS and self . spec [ 'type' ] == 'executable' ) : return [ ] settings = self . xcode_settings [ configname ] key = self . _GetIOSCodeSignIdentityKey ( settings ) if not key : return [ ] # Warn for any unimplemented signing xcode keys. unimpl = [ 'OTHER_CODE_SIGN_FLAGS' ] unimpl = set ( unimpl ) & set ( self . xcode_settings [ configname ] . keys ( ) ) if unimpl : print 'Warning: Some codesign keys not implemented, ignoring: %s' % ( ', ' . join ( sorted ( unimpl ) ) ) return [ '%s code-sign-bundle "%s" "%s" "%s" "%s"' % ( os . path . join ( '${TARGET_BUILD_DIR}' , 'gyp-mac-tool' ) , key , settings . get ( 'CODE_SIGN_RESOURCE_RULES_PATH' , '' ) , settings . get ( 'CODE_SIGN_ENTITLEMENTS' , '' ) , settings . get ( 'PROVISIONING_PROFILE' , '' ) ) ]