Code Monkey home page Code Monkey logo

Comments (8)

joshtynjala avatar joshtynjala commented on June 12, 2024 1

To build for a real iOS device, you need to specify signing credentials.

The easiest way that I've found is to specify the "team-id". You can do that in one of two ways:

  1. In project.xml: <config:ios team-id="XXXXXXXXXX"/>

  2. Adding it to your build command in the terminal: openfl test ios -final --certificate-team-id=XXXXXXXXXX

This page has a link to Apple's docs that explain how to find your team ID, and it also shows how to specify a certificate name and provisioning profile, if you prefer that over team-id:

https://lime.openfl.org/docs/advanced-setup/ios/

from moonshine-ide.

rat-moonshine avatar rat-moonshine commented on June 12, 2024

Initially, I tried to download iPhone NDLL from https://github.com/openfl/lime/actions/runs/4633932362.
Later, I tried to run lime rebuild ios which seems to complete successfully.

When trying re-runt he project from Moonshine-IDE, I see a new warning/error:

: error: The armv7 architecture is deprecated. You should update your ARCHS build setting to remove the armv7 architecture. (in target 'NewHaxeFeathersUIProject' from project 'NewHaxeFeathersUIProject')

: /Users/devsena/Desktop/Running Tasks/NewHaxeFeathersUIProject/bin/ios/NewHaxeFeathersUIProject.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'NewHaxeFeathersUIProject' from project 'NewHaxeFeathersUIProject')

I'm also curious to know whether we can toggle between iPhone and iPad simulator (?)

from moonshine-ide.

joshtynjala avatar joshtynjala commented on June 12, 2024

https://community.openfl.org/t/ios-armv7-architecture-is-deprecated/13698

This issue is currently fixed on the develop branch of Lime. I can merge the fix into 8.1.0-Dev or 8.2.0-Dev, if you need me to.

To use the fix, it will require rebuilding "tools".

from moonshine-ide.

rat-moonshine avatar rat-moonshine commented on June 12, 2024

I think it'd be beneficial for us as we may wants to look into mobile releases for GBAuth in upcoming days.

Please, also guide us with the steps to rebuild 'tools' (of if we can download NDLL like zip files).

from moonshine-ide.

joshtynjala avatar joshtynjala commented on June 12, 2024

This command is used to rebuild tools:

lime rebuild tools -clean -release

However, you should be able to download lime-haxelib.zip from Github and extract the rebuilt tools from there, similar to the ndlls. I think that the file is tools/tools.n.

If you're already downloading lime-haxelib.zip, it's probably easiest to install that directly instead of extracting it. It includes both tools and ndlls.

haxelib install lime-haxelib.zip

from moonshine-ide.

joshtynjala avatar joshtynjala commented on June 12, 2024

The Lime 8.1.0-Dev branch now contains the fix to Lime tools for iOS, and Github Actions completed successfully. 8.2.0-Dev seems to be affected by some kind of outage right now.

from moonshine-ide.

rat-moonshine avatar rat-moonshine commented on June 12, 2024

Thank you @joshtynjala .

I updated Lime as you suggested.

It appears I'm not very familiar with mobile setup/requirement for Haxe/Openfl project. I continue to see following error in Moonshine-IDE:

error: Signing for "NewHaxeFeathersUIProject" requires a development team. Select a development team in the Signing & Capabilities editor. (in target 'NewHaxeFeathersUIProject' from project 'NewHaxeFeathersUIProject')

warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'NewHaxeFeathersUIProject' from project 'NewHaxeFeathersUIProject')

However, running openfl test ios -simulator worked from Terminal, and opens the test project in simulator. -- If that confirms that my local Lime setup is correct now.

from moonshine-ide.

rat-moonshine avatar rat-moonshine commented on June 12, 2024

Thank you @joshtynjala . That helps.

from moonshine-ide.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.