Home > Mobile >  While archving app from xcode getting this error
While archving app from xcode getting this error

Time:01-23

CodeSign /Users/macbook/Library/Developer/Xcode/DerivedData/appname-asdasdasd/Build/Intermediates.noindex/ArchiveIntermediates/appname/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/NotificationServiceExtension.appex
    cd /Users/macbook/Documents/Projects/
    export CODESIGN_ALLOCATE=/Users/macbook/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
    export 

PATH="/Users/macbook/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Users/macbook/Downloads/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    
Signing Identity:     "Apple Distribution:teamname”

Provisioning Profile: "org_notificationService_profile"
                      

    /usr/bin/codesign --force --sign 0746A1A86EB886A02E571C83E3 --entitlements /Users/macbook/Library/Developer/Xcode/DerivedData/appname-fadmxslohyadleahgtrunjqbwjgw/Build/Intermediates.noindex/ArchiveIntermediates/appname/IntermediateBuildFilesPath/appname.build/Release-iphoneos/NotificationServiceExtension.build/NotificationServiceExtension.appex.xcent --timestamp=none /Users/macbook/Library/Developer/Xcode/DerivedData/appname-fadmxslohyadleahgtrunjqbwjgw/Build/Intermediates.noindex/ArchiveIntermediates/appname/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/NotificationServiceExtension.appex

Command CodeSign failed with a nonzero exit code

Created new distribution certificate and clean and build project again but still error is same If anyone knows then please let me know

CodePudding user response:

After some research on this finally solved.

Following steps required to follow after updating xcode 13:

hope this is helpful

  •  Tags:  
  • Related