Comments (8)
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:
-
In project.xml:
<config:ios team-id="XXXXXXXXXX"/>
-
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.
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.
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.
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.
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.
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.
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.
Thank you @joshtynjala . That helps.
from moonshine-ide.
Related Issues (20)
- "Reset to Default" do not clears recently opened items' list HOT 8
- Jump CMD+Click to specific framework class displays hash HOT 2
- LotusScript Compilation and Validation HOT 12
- Support for YAML-Based NSFODP Projects
- Fine-Tuned Control for "Reset all Settings"
- Topicbox Integration HOT 2
- Visual clarity between Tab and Space characters in Moonshine-IDE editors HOT 3
- Workspace Dropdown Should Match Width of Control HOT 2
- Notes ID Profiles for Vagrant Instances HOT 3
- Report Warning for Project > Build on Vagrant for Domino 12.0.2
- Deploy to Vagrant Server popup should have ability to edit launch url HOT 9
- Generated Apache Royale CRUD project out of ODP NSF shouldn't use 127.0.0.1 HOT 1
- Design Backups for Database Actions
- Workflow View HOT 3
- Project-Specific Action Bar HOT 1
- Secure Vagrant REST API Communications
- Focus In/Out Errors for Text Editors HOT 4
- Build nsf database on Vagrant throws error HOT 16
- Create full build process on GitHub Actions HOT 2
- Moonshine Notarization Problem for 3.3.4 Release HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moonshine-ide.