Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ipsw swift-dump --arch option #454

Closed
2 tasks done
obj-p opened this issue Apr 23, 2024 · 1 comment
Closed
2 tasks done

ipsw swift-dump --arch option #454

obj-p opened this issue Apr 23, 2024 · 1 comment
Assignees
Labels
bug Something isn't working triage

Comments

@obj-p
Copy link

obj-p commented Apr 23, 2024

What happened?

Providing an arch option is not read by the command. It will still prompt like the following:

% ipsw swift-dump --arch arm64 /Applications/Xcode.app/Contents/SharedFrameworks/PreviewsXcodeUI.framework/Versions/Current/PreviewsXcodeUI 
? Detected a universal MachO file, please select an architecture to analyze:  [Use arrows to move, type to filter]
> Amd64, x86_64
  AARCH64, ARM64

How can we reproduce this?

% ipsw swift-dump --arch arm64 /Applications/Xcode.app/Contents/SharedFrameworks/PreviewsXcodeUI.framework/Versions/Current/PreviewsXcodeUI 
? Detected a universal MachO file, please select an architecture to analyze:  [Use arrows to move, type to filter]
> Amd64, x86_64
  AARCH64, ARM64

ipsw version

% ipsw version
Version: 3.1.475, BuildCommit: b7d163e6730d3db38ffb6b4071e4e2e3ebbc4577

Search

  • I did search for other open and closed issues before opening this

Code of Conduct

  • I agree to follow this project's Code of Conduct

Additional context

Could it be due to the "class_dump.arch" string:

if len(viper.GetString("class-dump.arch")) > 0 {

@obj-p obj-p added bug Something isn't working triage labels Apr 23, 2024
@blacktop
Copy link
Owner

Could it be due to the "class_dump.arch" string:

if len(viper.GetString("class-dump.arch")) > 0 {

Great catch! it was a dump copy-pasta typo error and is fixed in master now.

Thanks!

@obj-p obj-p closed this as completed Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

No branches or pull requests

2 participants