Is it possible to update the certificate profiles using fastlane? #22071
Replies: 1 comment
-
Hello, healthcare gov marketplace It appears that the method update! does not exist for Spaceship::ConnectAPI::Profile. Instead, you need to use the correct method to update the profile, which is typically handled via a different API call or update pattern. Below is an updated version of your script to correctly update the profiles. Here is how you can do it: Fetch the existing profile. def profile_refresh(team_name, git) certificates = Spaceship::ConnectAPI::Certificate.all team_devices = devices.select do |device| Spaceship::ConnectAPI::Profile.all.each do |profile|
end Explanation Hope this will help you. Best Regard, |
Beta Was this translation helpful? Give feedback.
-
I'm trying refresh my profile using Fastlane. But I'm getting error at profile.update! as function not found. I tried google to figure out the method for update operation, but I couldn't find anything. any help would be appreciated. I'm trying to fetch certificates from apple store and renew the expired one
Beta Was this translation helpful? Give feedback.
All reactions