简体   繁体   English

如何在 Mac 上的 iPhone 模拟器上运行 ElectronJS 应用程序?

[英]How can I run ElectronJS app on iPhone Simulator on a Mac?

I'm planning on working through the guide to deploy my ElectronJS app to the app store.我计划通过指南将我的 ElectronJS 应用程序部署到应用程序商店。

However, I'd like to test my app on a iPhone first and I have a Mac, Xcode and iPhone Simulators available.但是,我想先在 iPhone 上测试我的应用程序,并且我有 Mac、Xcode 和 iPhone 模拟器可用。

ElectronJS App On Simulator?模拟器上的 ElectronJS 应用程序?

I'd like to know the steps to run my Electron app on the simulator so I can test it.我想知道在模拟器上运行我的 Electron 应用程序的步骤,以便我可以测试它。

I have googled but not found anything, except this (related to Swift app) . 除了这个(与 Swift 应用程序相关)之外,我已经 google 了但没有找到任何东西。

I know how to run a normal Swift app from Xcode in a Simulator, but I'm unsure how to run the Electron app.我知道如何在模拟器中从 Xcode 运行普通的 Swift 应用程序,但我不确定如何运行 Electron 应用程序。

It does not seem that it is possible at this time to run an Electron App on an iPhone or iPad device ( and in turn not on a simulator either).目前似乎不可能在 iPhone 或 iPad 设备上运行 Electron 应用程序(也不能在模拟器上运行)。

I didn't notice until after I posted my question, but the Electron documentation seems to be for the Mac App Store, not the App Store (for iphones and ipads).直到我发布我的问题后我才注意到,但Electron 文档似乎适用于Mac App Store,而不是 App Store(适用于 iphone 和 ipad)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何以编程方式确定我的应用程序是否在 iphone 模拟器中运行? - How can I programmatically determine if my app is running in the iphone simulator? iPhone:运行.app到iPhone模拟器 - iPhone : run .app to iPhone Simulator 如何确定Springs and Struts应用程序是否正在iPhone 6模拟器中扩展? - How can I tell if a Springs and Struts app is scaling in the iPhone 6 simulator? 为什么应用程序在iPhone模拟器中崩溃? 我怎样才能解决这个问题? - Why is app crashing in iPhone simulator; how can I fix this? 我的iPhone应用程序不会在新的iPhone 5模拟器中使用信箱运行。 我怎么把它拿到信箱? - My iPhone App won't run with letterboxes in the new iPhone 5 simulator. How do I get it to letterbox? 如何在XCode 6 iOS模拟器中运行/录制iOS应用程序? - How can I run / record an iOS app in the XCode 6 iOS Simulator? 如何将我的mac剪贴板中的东西粘贴到iPhone模拟器中? - How can I paste stuff from my mac's clipboard to the iPhone simulator? 无法在Xcode iPhone模拟器中运行Unity3d应用 - Can't run Unity3d app in Xcode iPhone simulator 由于缺少文件,因此无法在iPhone Simulator上运行该应用 - Can't run the app on iPhone Simulator because of missing files 我可以在模拟器中运行旧的应用程序存档吗? - Can I run an old app archive in the Simulator?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM