I cant archive my iOS app for some reason but its working all fine on the Build on debug and release mode both.
That's the error i am getting :
Warning: unable to build chain to self-signed root for signer "Apple Development: (MY DEVELOPER NAME) (ID)"
/Users/USERNAME/Library/Developer/Xcode/DerivedData/PSHotels-cmlgwueeqxkynaewfwzpeiuqoeyr/Build/Intermediates.noindex/ArchiveIntermediates/Serai Rooms/InstallationBuildProductsLocation/Applications/Serai Rooms.app/Frameworks/Alamofire.framework: errSecInternalComponent
Command PhaseScriptExecution failed with a nonzero exit code
Things i already tried :
- Deleting derived data
- Lock and unlock the login fro Keychain
- Restarting Mac and Xcode