I have a flutter application that used Objective-C as a base, then I've added some libs that are SWIFT based, so I switched the SWIFT support on, and from it, all the troubles began. I've added a SWIFT support:
config.build_settings['SWIFT_VERSION'] = '5.0'
use_frameworks!
and
platform :ios, '9.0'
to my Podfile. This actions removed all swift-lib related errors, but now I receive the error above about the codesigning.
I've read the information about this error and tried the following:
- Resetting the login keychain
- Entering the login keychain password in a prompt with "Always allow"
- Deleting Derived data
- Reinstalling Xcode
- Restarting macOS a million times
- Moving a developer cert to the System keychain
- Creating a completely new Apple ID and all certificates
Nothing helped, the error is this here and is the same.
Developer/Xcode/DerivedData/Runner-bwqlfsixhrzgsfakfinzgchwtvci/Build/Products/Debug-iphoneos/Runner.app/Frameworks/libswiftCoreLocation.dylib'
error: The specified item could not be found in the keychain.
Probing signature of /Users/alutikova/Library/Developer/Xcode/DerivedData/Runner-bwqlfsixhrzgsfakfinzgchwtvci/Build/Products/Debug-iphoneos/Runner.app/Frameworks/libswiftDispatch.dylib
error: The specified item could not be found in the keychain.
Probing signature of /Users/alutikova/Library/Developer/Xcode/DerivedData/Runner-bwqlfsixhrzgsfakfinzgchwtvci/Build/Products/Debug-iphoneos/Runner.app/Frameworks/libswiftMetal.dylib
error: The specified item could not be found in the keychain.
Probing signature of /Users/alutikova/Library/Developer/Xcode/DerivedData/Runner-bwqlfsixhrzgsfakfinzgchwtvci/Build/Products/Debug-iphoneos/Runner.app/Frameworks/libswiftQuartzCore.dylib
/usr/bin/codesign '-r-' '--display' '/Users/alutikova/Library/Developer/Xcode/DerivedData/Runner-bwqlfsixhrzgsfakfinzgchwtvci/Build/Products/Debug-iphoneos/Runner.app/Frameworks/libswiftQuartzCore.dylib'
error: The specified item could not be found in the keychain.
Any help would be greatly appreciated, since I'm completely stuck.