We are creating a MacOS application in a large corporate company where we need to enable push notifications for our desktop application.
To support notifications, we need to create our application with a provisioning profile -
xcodebuild PROVISIONING_PROFILE="<provision profile id>"
This results in an error -
Check dependencies
Code Signing Error: No signing certificate "<Cert name>" found:
No "<Cert name>" signing certificate matching team ID "<team id>"
with a private key was found.
It looks like we need a private key installed on our machine. Access to the private key is limited, as we work in a large enterprise, where many applications are released under a single distribution certificate.
Is it possible to create a Mac OS application without a private key (while maintaining the functionality of push notifications)? Ideally, we would like to create an application without a private key during development and sign it later when we want to release it for the whole world.
-
xcodebuild clean build CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO PROVISIONING_PROFILE="<profile id>"