bogo / arm64-to-sim

Transmogrify native iOS frameworks to run in iOS Simulator on Apple silicon.
https://bogo.wtf/arm64-to-sim.html
MIT License
532 stars 86 forks source link

Proposal to publish as a library #14

Open arasan01 opened 2 years ago

arasan01 commented 2 years ago

Hi,

I am currently using your excellent results to make my app for simulator compatible. To make this more useful, I am developing an extension of the provided CLI tool, such as batching, add definition files, etc. If possible, I would like to refer to this repository directly as a SwiftPM dependency and use the implementation as a library.

I have two wishes for this.

  1. Add a semantic versioning tag to the repository to make it easier to track releases
  2. Change error handling using Throw, Error protocol

The proposal for 1. can make this project even more attractive as a library, which is very valuable.

The proposal for 2. is an additional attractive element in making it a library. The part that currently issues fatalError should be changed to throw using the Error protocol. In the tool I am currently developing, the fatalError part has been rewritten, so the implementation is different and not good. I am considering submitting a pull request for this.

Your results have been very helpful, thank you.