vinivendra / Gryphon

The Swift to Kotlin translator.
https://vinivendra.github.io/Gryphon/
Other
609 stars 46 forks source link

Gryphon fails with an error during compilation but Xcode can compile without error #121

Open chriscallan opened 1 year ago

chriscallan commented 1 year ago

Describe the bug What went wrong? What did you expect to happen instead? Downloaded and built my project using Xcode and can deploy onto my ifone, but running "gryphon init Artemis.xcodeproject/ --target=Artemis-Demo" results in a build failure for Gryphon

How to reproduce it run "gryphon init Artemis.xcodeproject/ --target=Artemis-demo" on the project, but it's a private repo so that's kind of out of the question. Not sure how to repro/troubleshoot the issue as I'm not an affle developer and was simply trying to urge the current mobile (ifone) developers from undertaking an entire second code base when all they want is feature parity. As the tool fell flat on its face right out of the gate it makes it a very tough argument to folks that barely want to be involved with an Android app in the first place.

Your environment (please complete the following information):

Screenshots and code snippets

Bonus: Gryphon's verbose output gryphon.txt

vinivendra commented 1 year ago

Hi @chriscallan, this is possibly a similar issue to what we’re seeing in #127, but it’s hard to know without more information. The logs show that the Swift compilation command failed in the xcodebuild call for one of your frameworks, but not much else. If you can, please provide a way for us to reproduce this issue, for instance with a minimal test case.