Bug: Running `asc bundle-ids list`
raven opened this issue ยท 9 comments
๐ Environment
- OS: macOS
- Version/Release: 0.1.0
๐ฌ Description
Running asc bundle-ids list
fails after some significant amount of delay.
asc users
succeeds speedily ~3seconds
๐ฆถ Reproduction Steps
asc bundle-ids list
๐ค Expected Results
A list of bundle ids
๐ฒ Actual Results
After ~3mins20sec of non-responsiveness, macOS killed it with bus error
$ time asc bundle-ids list
[2] 21383 bus error asc bundle-ids list
asc bundle-ids list 10.57s user 0.59s system 5% cpu 3:19.87 total
I can see whilst I am running asc
that it is utilising networking:
๐ณ Logs
Where might I find those?
Tell me what you need to help diagnose ๐
@raven Can you run it in Xcode and see where it is getting caught up. I have a feeling it is awaiting on results and not getting anything or getting stuck in a loop.
@raven also please try other commands to see if you get any similar issues.
What role did you give your API Key?
I also think it is most likely an issue with some output getting swallowed in a publisher chain and waiting on await.
The default timeout is .distantFuture
but maybe it shouldn't be?
What role did you give your API Key
developer
also please try other commands to see if you get any similar issues.
- โ
asc users
- โ
asc certificates list
- โ
asc devices list
- โ
โ
asc profiles list
( wow that was some output that flew past )- Exited with
1
status code - This failed differently than the original issue. The output streamed past, and then ended with:
Error: dataCorrupted(Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "included", intValue: nil), _JSONKey(stringValue: "Index 366", intValue: 366), CodingKeys(stringValue: "attributes", intValue: nil), CodingKeys(stringValue: "certificateType", intValue: nil)], debugDescription: "Cannot initialize CertificateType from invalid String value DEVELOPMENT", underlyingError: nil)).
- Exited with
- โ
asc testflight apps list
- โ
asc testflight builds list
took a very long time to complete (3164
builds)
Would be great if there was some kind of messaging to stderr "This can take a long time..." or some other cli ux that indicated activity (--verbose
, ncurses
etc).
As AvdLee/appstoreconnect-swift-sdk#111 was merged this issue should be fixed. See #207
Will there be a release to accomodate this fix?