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
I believe this PR introduced a comparison between DateTime and Time objects which seems to not work on my machine. Prior to that PR, there was no datetime-time comparison. I'm not exactly clear why this breaks for me but seemingly not for others, I'm not a ruby expert, but ideally a more compatible comparison can be made that is more environment-tolerant.
Complete output when running fastlane, including the stack trace and command used
We're using the spaceship API in ruby roughly like this:
Call Spaceship.provisioning_profile.development.all(mac: is_mac) to get profiles
Loop over the profiles using forEach
Among other checks, we look at profile.valid? which causes this exception
Here's the relevant parts of the stack trace. I'm trimming out our script's stack frames here.
/Users/jboulter/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/fastlane-2.220.0/spaceship/lib/spaceship/portal/provisioning_profile.rb:490:in `>': comparison of Time with DateTime failed (ArgumentError)
from /Users/jboulter/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/fastlane-2.220.0/spaceship/lib/spaceship/portal/provisioning_profile.rb:490:in `valid?'
New Regression Checklist
Regression Information
Regression Description
#21691
I believe this PR introduced a comparison between DateTime and Time objects which seems to not work on my machine. Prior to that PR, there was no datetime-time comparison. I'm not exactly clear why this breaks for me but seemingly not for others, I'm not a ruby expert, but ideally a more compatible comparison can be made that is more environment-tolerant.
Complete output when running fastlane, including the stack trace and command used
We're using the spaceship API in ruby roughly like this:
Spaceship.provisioning_profile.development.all(mac: is_mac)
to get profilesprofile.valid?
which causes this exceptionHere's the relevant parts of the stack trace. I'm trimming out our script's stack frames here.
Environment
The text was updated successfully, but these errors were encountered: