However, the protocol defined in the ipsw package seems to define it as a bool instead.
Output:
How can we reproduce this?
Retrieve an ips file from iOS15+ using idevicecrashreport or the Settings app.
❯ ipsw symbolicate crashes/duetexpertd-2024-05-15-113431.ips
Error: failed to parse IPS file: json: cannot unmarshal number into Go struct field IPSPayload.isCorpse of type bool
Usage:
ipsw symbolicate <CRASHLOG> [IPSW|DSC] [flags]
Aliases:
symbolicate, sym
Flags:
-d, --demangle Demangle symbol names
-h, --help help for symbolicate
-u, --unslide Unslide the crashlog for easier static analysis
Global Flags:
--color colorize output
--config string config file (default is $HOME/.config/ipsw/config.yaml)
--no-color disable colorize output
-V, --verbose verbose output
⨯ failed to parse IPS file: json: cannot unmarshal number into Go struct field IPSPayload.isCorpse of type bool
[duetexpertd-2024-05-15-113431.ips.tar.gz](https://github.com/user-attachments/files/16112716/duetexpertd-2024-05-15-113431.ips.tar.gz)
### ipsw version
```bash
Version: 3.1.480, BuildCommit: 2fffe45e5437a6f0ac4527edc4336fb80d853bbb
Search
[X] I did search for other open and closed issues before opening this
Code of Conduct
[X] I agree to follow this project's Code of Conduct
What happened?
On iOS 15+, the
isCorpse
field is an int:However, the protocol defined in the
ipsw
package seems to define it as a bool instead.Output:
How can we reproduce this?
ips
file from iOS15+ usingidevicecrashreport
or the Settings app.Aliases:
symbolicate, sym
Flags:
-d, --demangle Demangle symbol names
-h, --help help for symbolicate
-u, --unslide Unslide the crashlog for easier static analysis
Global Flags:
--color colorize output
--config string config file (default is $HOME/.config/ipsw/config.yaml)
--no-color disable colorize output
-V, --verbose verbose output
⨯ failed to parse IPS file: json: cannot unmarshal number into Go struct field IPSPayload.isCorpse of type bool
Search
Code of Conduct
Additional context
No response