/ Usr / bin / codesign command error with exit code 1 - resource rules are out of date

CodeSign /Users/johannes/Library/Developer/Xcode/DerivedData/LoyaltyApp-elaicsznnwccdxdpbkrhdgrmkbgj/Build/Products/Debug-iphoneos/Nerstranda.app
    cd /Users/johannes/Projects/Xcode/LoyaltyApp
    export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"

Signing Identity:     "iPhone Developer: Thomas Sorensen (Z48XZBVS3Q)"
Provisioning Profile: "iOSTeam Provisioning Profile: *"
                      (d8fc10a6-1a72-49c1-b0b6-00e9b46960bf)

    /usr/bin/codesign --force --sign 368251C7130CB04A93AAEB9C7392A94B27A7B9FF --resource-rules=/Users/johannes/Library/Developer/Xcode/DerivedData/LoyaltyApp-elaicsznnwccdxdpbkrhdgrmkbgj/Build/Products/Debug-iphoneos/Nerstranda.app/ResourceRules.plist --entitlements /Users/johannes/Library/Developer/Xcode/DerivedData/LoyaltyApp-elaicsznnwccdxdpbkrhdgrmkbgj/Build/Intermediates/LoyaltyApp.build/Debug-iphoneos/Nerstranda.build/Nerstranda.app.xcent /Users/johannes/Library/Developer/Xcode/DerivedData/LoyaltyApp-elaicsznnwccdxdpbkrhdgrmkbgj/Build/Products/Debug-iphoneos/Nerstranda.app

Warning: --resource-rules has been deprecated in Mac OS X >= 10.10!
368251C7130CB04A93AAEB9C7392A94B27A7B9FF: no identity found
Command /usr/bin/codesign failed with exit code 1

      

I have no idea what this means, can anyone help?

EDIT: It seems to be working to start a different target. I have multiple targets for my project (if this information helps)

+3


source to share


1 answer


I even contacted Apple about it because I have such a short time on me until I have to deliver this product ...

But then I realized it helped me ShurupuS.



Preferences> Accounts> Show Details> Refresh Button (Left Corner)> Close Xcode> Open Xcode> Product> Clean> Run

+9


source







All Articles