Everytime I build console is showing this message.
CodeSign /Users/admin/Desktop/AppStoreBuild/Project201/build/Debug-iphonesimulator/Project.app (in
In my case it was an accidentally turned on option. I'm using common root .xcconfig files both for iOS and macOS, for the iOS target the Enable hardened runtime option remained on so replacing the line
ENABLE_HARDENED_RUNTIME = YES
by the
ENABLE_HARDENED_RUNTIME[sdk=macosx*] = YES
in the .xcconfig file solved the issue