iOS profiles:manage:devices doesn't work
sfransen opened this issue · comments
iOS profiles:manage:devices doesn't work
error: undefined method `name' for nil:NilClass. Use --trace to view backtrace
The add device to provision profile doesn't work.
It started this last weekend.
Anyone have a clue in what is happening.
I really need this features I have 460 provision profiles in my license.
Please help.
but the add device to provision profile is not fixed yet.
On Mon, Apr 13, 2015 at 10:22 PM, Anton Katkov notifications@github.com
wrote:
Looks like this issue is about the same with issue #195
#195 that is fixed by this
pull request #196 #196
Isn't it?—
Reply to this email directly or view it on GitHub
#201 (comment).
I tried raising page number to even 5000 and it still not working
Seeing the same thing here.
Version 1.3.3
Not working in that version
Sent from my iPhone5
On Apr 14, 2015, at 7:49 AM, Daniel Jimenez notifications@github.com wrote:
Version 1.3.3
—
Reply to this email directly or view it on GitHub.
#195 is for list only and Page doesn't help this bug name is not defined
error: undefined method `name' for nil:NilClass. Use --trace to view backtrace
Same here. #196 fixed the list issue, but profiles:devices:add now fails for me:
/Library/Ruby/Gems/2.0.0/gems/cupertino-1.0.2/lib/cupertino/provisioning_portal/commands/profiles.rb:139:in
block (5 levels) in <top (required)>': undefined method name' for nil:NilClass (NoMethodError)
anyone working on this one?
Ok I have it working You have to make sure your page number is greater then number of devices you have in your Licenses in my case I need the number to be 50001 as I have 5000 in my license
line 118 in agent.rb change to
device_data_url += "&pageSize=5001&pageNumber=1&sort=name=asc"
and this is working again for me.
Thanks @sfransen. That seems to have resolved the issue for me.