Hi,
We are trying to build our project on a remote machine (build machine) for distribution as we do not have the Developer ID certificate on the development machine.
We have generated necessary provisioning profiles against the Developer ID certificate and have it present along with the project.
We only have CLI access to the build machine and no root access.
In order to build the project on the build machine, we follow this process:
When the project is opened in xcode on local machine, under the Signing & Capabilities tab, there is no option to select the provisioning profile (Xcode prompts it as none required) but a provisioning profile can be selected through Build Settings tab.
Are we following the correct approach when it comes to building the project remotely?
Can someone please help out with this?
Thanks.
We are trying to build our project on a remote machine (build machine) for distribution as we do not have the Developer ID certificate on the development machine.
We have generated necessary provisioning profiles against the Developer ID certificate and have it present along with the project.
We only have CLI access to the build machine and no root access.
In order to build the project on the build machine, we follow this process:
Make changes to the project via Xcode on development machine (local machine)
Copy project and provisioning profiles on the build machine.
Change the name of the provisioning profiles with their respective UUIDs keeping the .provisionprofile extension.
Move the provisioning profiles to the ~/Library/MobileDevice/Provisioning Profiles directory.
Fire xcodebuild command with suitable arguments.
Code Block No profile for team 'TEAM_ID' matching 'PROVISIONING_PROFILE_NAME' found: Xcode couldn't find any provisioning profiles matching 'TEAM_ID/PROVISIONING_PROFILE_NAME'. Install the profile (by dragging and dropping it onto Xcode's dock item) or select a different one in the Signing & Capabilities tab of the target editor
When the project is opened in xcode on local machine, under the Signing & Capabilities tab, there is no option to select the provisioning profile (Xcode prompts it as none required) but a provisioning profile can be selected through Build Settings tab.
Are we following the correct approach when it comes to building the project remotely?
Can someone please help out with this?
Thanks.