iosgitlab-ci

No signing certificate "" found: No "iOS Development" signing certificate matching team ID " " with a private key was found


I created the certificate in apple dev account and run the command in my gitlab runner "xcodebuild -project Unity-iPhone.xcodeproj -scheme Unity-iPhone -archivePath ./dist" but i always get the error mentioned above any solutions ?


Solution

    1. Open your Xcode project.

    2. Go to Signing & Capabilities under your project’s TARGETS.

    3. Check Automatically manage signing to let Xcode handle certificates and profiles.