unsupported resource found (something not a directory, file or symlink) Command /usr/bin/codesign failed with exit code 1
It's like duplicate but not duplicate. Please have a look.
Complete error log :
/usr/bin/codesign --force --sign 491E340B5E328D23372C090BB9ED8E9E2D610AE1 --entitlements /Users/aCompanyname/Library/Developer/Xcode/DerivedData/aAppName-cstkxztmaerbnbcjdfhqxaugmcbi/Build/Intermediates/ArchiveIntermediates/aAppName/IntermediateBuildFilesPath/aAapName.build/Release-iphoneos/aAapName.build/aAapName.app.xcent --timestamp=none /Users/aCompanyname/Library/Developer/Xcode/DerivedData/aAapName-cstkxztmaerbnbcjdfhqxaugmcbi/Build/Intermediates/ArchiveIntermediates/aAapName/InstallationBuildProductsLocation/Applications/aAapName.app
/Users/aCompanyname/Library/Developer/Xcode/DerivedData/aAapName-cstkxztmaerbnbcjdfhqxaugmcbi/Build/Intermediates/ArchiveIntermediates/aAapName/InstallationBuildProductsLocation/Applications/aAapName.app:
unsupported resource found (something not a directory, file or symlink) Command /usr/bin/codesign failed with exit code 1
It happens sudden when generating build. after spend some time on different forums i have checked all the things in Keychain access and developer account and also in xcode for code signing. Everything is looks good. cant find actual problem.
Please share solution or any idea if anyone have. Thank you.