You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today we can only update a profile instead of automatically one it it isn't properly selected. It should be possible to select a profile automatically instead.
There are a few problems to solve:
I ve failed to implement a working command line pbxproj editor properly using plistBuddy and I am currently using sed
echo"INFO Replacing ${current_pp_uuid} with ${new_pp_uuid} in $file"# this doesn't work as it converts the file into XML and we lose the comments# echo ./pbxproj_pp_uuid.sh $file "$configuration" set $new_pp_uuid
sed "s/${current_pp_uuid}/${new_pp_uuid}/"${file}>${file}.new
but didn't work in my tests. At least, it converted the file to XML and I wanted to keep the original format in order to ensure the config wasn't changed elsewhere.
So we would also need to modify the CODE_SIGN_IDENTITY. This isn't hard in itself, but today I am not managing certificate at all in neither the apple_dev_center.rb script nor the xcode related ruby & bash scripts.
Today we can only update a profile instead of automatically one it it isn't properly selected. It should be possible to select a profile automatically instead.
There are a few problems to solve:
This should have called something like
but didn't work in my tests. At least, it converted the file to XML and I wanted to keep the original format in order to ensure the config wasn't changed elsewhere.
You can test this using something like
Now XCode may still be able to read XML so this is perhaps not such a big problem.
But for the selection to work, one needs to modify more than just the value of the PROVISIONING_PROFILE.
These are the changes in the project file when I manually go from the default selection to a particular PP:
So we would also need to modify the CODE_SIGN_IDENTITY. This isn't hard in itself, but today I am not managing certificate at all in neither the apple_dev_center.rb script nor the xcode related ruby & bash scripts.
https://github.com/quadion/iOSValidation is an interesting thing to look at for certificate management
The text was updated successfully, but these errors were encountered: