I have a problem with my app. After adding certificates for using remote Push Notifications I wanted to test it on my iPhone (7S). Than xCode asked me for keychain access. But I had forgotten my password, so I denied it and looked it up. Than I tried to rerun the app, but xCode crashes every time with the same error (see bellow). I tried restarting xCode, removing my account from Xcode and add it again, deleting certificates and download it again... But nothing worked. Hopefully somebody can help...
Here the Errorcode:
Probing signature of /Users/<MYNAME>/Library/Developer/Xcode/DerivedData/CBG-App-cbcnuiuwufasepbebirhstwqwkst/Build/Products/Debug-iphoneos/CBG-App.app/Frameworks/libswiftAVFoundation.dylib
/usr/bin/codesign '-r-' '--display' '/Users/<MYNAME>/Library/Developer/Xcode/DerivedData/CBG-App-cbcnuiuwufasepbebirhstwqwkst/Build/Products/Debug-iphoneos/CBG-App.app/Frameworks/libswiftAVFoundation.dylib'
/Users/<MYNAME>/Library/Developer/Xcode/DerivedData/CBG-App-cbcnuiuwufasepbebirhstwqwkst/Build/Products/Debug-iphoneos/CBG-App.app/Frameworks/libswiftAVFoundation.dylib: code object is not signed at all
Codesigning /Users/<MYNAME>/Library/Developer/Xcode/DerivedData/CBG-App-cbcnuiuwufasepbebirhstwqwkst/Build/Products/Debug-iphoneos/CBG-App.app/Frameworks/libswiftAVFoundation.dylib
/usr/bin/codesign '--force' '--sign' '7319A6E748656B8031B1B216ED08967067862C10' '--verbose' '/Users/<MYNAME>/Library/Developer/Xcode/DerivedData/CBG-App-cbcnuiuwufasepbebirhstwqwkst/Build/Products/Debug-iphoneos/CBG-App.app/Frameworks/libswiftAVFoundation.dylib'
/Users/<MYNAME>/Library/Developer/Xcode/DerivedData/CBG-App-cbcnuiuwufasepbebirhstwqwkst/Build/Products/Debug-iphoneos/CBG-App.app/Frameworks/libswiftAVFoundation.dylib: unknown error -1=ffffffffffffffff
error: Task failed with exit 1 signal 0 {
/usr/bin/codesign '--force' '--sign' '7319A6E748656B8031B1B216ED08967067862C10' '--verbose' '/Users/<MYNAME>/Library/Developer/Xcode/DerivedData/CBG-App-cbcnuiuwufasepbebirhstwqwkst/Build/Products/Debug-iphoneos/CBG-App.app/Frameworks/libswiftAVFoundation.dylib'
}