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

"The file is not a correct arm64 binary" - LoginWithAmazon.framework #2

Closed
anfriis opened this issue Jun 22, 2021 · 1 comment
Closed
Labels
wontfix This will not be worked on

Comments

@anfriis
Copy link

anfriis commented Jun 22, 2021

Thanks for an awesome tool!

I am trying to convert the LoginWithAmazon.framework using the following parameters:

.build/release/make-xcframework  \
  -ios LoginWithAmazon.framework \          
  -arm64sim \
  -output \output

and then I receive the following output:
Error: The file is not a correct arm64 binary. Try thinning (via lipo) or unarchiving (via ar) first.

Do you have any tips on how to proceed, if it is even possible?

@darrarski
Copy link
Owner

Thanks for reporting the problem. It's caused by the arm64-to-sim, which can not read the binary for some reason. The make-xcframework command works as expected, but will fail when -arm64sim option is used.

In order to fix the issue, we will need to update arm64-to-sim project. I am not sure how to do it at the moment, but I am opening an issue in its repository.

There is no change required in the xcframework-maker that could fix the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants