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
We added Podfile.lock to be able to use iOS caches in
dbd26a3
But we were not updating the file when updating phc
I added a private function that will update the Pod, with a retry,
because it's possible the Pod is not distributed yet
UI.message("ℹ️ Updating Podfile.lock with new version for #{pod_name}")
276
+
sh("pod update #{pod_name}")
277
+
commit_current_changes(commit_message: "Update Podfile.lock for #{pod_name}")
278
+
rescue=>e
279
+
ifretry_attempts > 0
280
+
UI.message("⚠️ Failed to update Podfile.lock for #{pod_name}: #{e.message}")
281
+
UI.message("⚠️ Retrying in 5 minutes...")
282
+
sleep(300)# wait for 5 minutes
283
+
retry_attempts -= 1
284
+
retry
285
+
else
286
+
UI.message("⚠️ Final attempt to update Podfile.lock for #{pod_name} failed. It's possible the pod has not been distributed yet. Proceeding without update.")
0 commit comments