Codesign error in iOS development

Source: Internet
Author: User

Codesign/users/wbw1985/library/developer/xcode/deriveddata/kamireader-plugin/archiveintermediates/kamireader/installationbuildproductslocation/applications/kamireaderr. app

CD/users/wbw1985/Paul/1.1 _ Kami/kamireader

Setenv codesign_allocate/developer/platforms/iphoneos. Platform/developer/usr/bin/codesign_allocate

Setenv path "/developer/platforms/iphoneos. platform/developer/usr/bin:/usr/sbin:/sbin"

/Usr/bin/codesign -- force -- sign "iPhone distribution: li xiaona "-- Resource-rules =/users/wbw1985/library/developer/xcode/deriveddata/kamireader-inputs/archiveintermediates/kamireader/installationbuildproductslocation/applications/kamireaderr. APP/resourcerules. plist
-- Entitlements/users/wbw1985/library/developer/xcode/deriveddata/kamireader-inputs/archiveintermediates/kamireader/intermediatebuildfilespath/kamireader. build/release-iphoneos/kamireader. build/kamireaderr. xcent/users/wbw1985/library/developer/xcode/deriveddata/kamireader-plugin/archiveintermediates/kamireader/installationbuildproductslocation/applications/kamireaderr. app

/Users/wbw1985/library/developer/xcode/deriveddata/kamireader-examples/archiveintermediates/kamireader/logs/applications/kamireaderr. app: Object File Format unrecognized, invalid, or unsuitable

Command/usr/bin/codesign failed with exit code 1

Command/usr/bin/codesign failed with exit code 1

Solution:

In the build settings of the project, find build variants and change both Debug and release to normal.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.