-
Notifications
You must be signed in to change notification settings - Fork 460
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
Strange issue with compilation and iOS Simulator #1276
Comments
You don't technically need the I'm not sure why |
Thanks for you answer :) Well, I've restored AssetPaths to original version and I've tried to compile with "lime test ios": it can't find asset directory again. This is the full log:
Unfortunately, I haven't an Apple Developer Certificate, so, even if the compilation succeeds, I won't be able to sign the app, test it in a phone and verify it doesn't crash at runtime. |
Aaaaaand it's time for a dirty hax (pun intended). |
The only change there is this? #if ios
directory = "../" + directory;
#end What about |
Well, actually that FlxAssets.hx works! Thanks, you save my life 👍 Mac builds work, I've just tried. |
@Gama11 |
@acavestro Cool, I'm gonna commit these fixes then. Can't test this myself unfortunately. @modjke Any idea why these are necessary? Especially the |
@Gama11 |
Wondering if @jgranick has any insight on why this is necessary for iOS builds. |
@Gama11 @acavestro |
@modjke Is there any need to conditionalize the |
@Gama11 yes, i'm not sure why, but for any other build target |
Hm, ok... Wanna open a pull request with the improved verison? |
@Gama11 Sure, why not, give me a minute or two, i'm kinda new to github :) |
Hi,
I'm trying to learn HaxeFlixel with the fabulous tutorial on HF website. It compiles without problems on Flash, Windows, Mac and Android.
The first time I tried to compile it for iOS with lime test ios - simulator, I got a strange error message that said something like "Can't find asset/ directory". I googled a bit and I find out a fix that could probably work. I edit my AssetPaths.hx from:
to
I tried again and this time the compilation was successful but when iOS Simulator started and I clicked on "Play", app crashed with this message:
I googled another bit but this time I didn't find a solution.
Thanks in advance
Antonio
The text was updated successfully, but these errors were encountered: