Code signing error during gym build of iOS

I have done the manual signing but still getting the same error.
One more thing, I have only one repo where one folder for iOS and in the root folder I have the circle.yml file, not in the iOS folder where are all the xcode workspace are located, is that the reason for code signing failing?