简体   繁体   English

如何将 iOS 项目从 Kony Visualizer 导出并运行到 Xcode?

[英]How to export and run iOS project from Kony Visualizer to Xcode?

我不习惯使用 kony 平台,我创建了简单的应用程序,但我想将其导出并作为本机 iOS .xcocdeproj运行。

Kony Visualizer gives you different ways of building and viewing your app, depending on your needs. Kony Visualizer 为您提供构建和查看应用程序的不同方式,具体取决于您的需求。 In Kony Visualizer Enterprise, you can build your app either from the Product menu, or from a command line.在 Kony Visualizer Enterprise 中,您可以从产品菜单或命令行构建应用程序。 And you can view your built app either by previewing it on a mobile device, or by using device emulators and simulators that you configure.您可以通过在移动设备上预览或使用您配置的设备模拟器和模拟器来查看您构建的应用程序。 Please refer to this docs link to build for iOS using Kony Visualizer.请参阅此文档链接以使用 Kony Visualizer 为 iOS 构建。

Please do this below steps.请按照以下步骤执行此操作。

  1. once Kar file was build.一旦构建了 Kar 文件。 go to your visualizer installation folder and go to plugins and then you can find com.kony.ios_8.2.28.v201811051627.jar file if you are using 8.2.28 version just for example.转到您的可视化器安装文件夹并转到插件,然后您可以找到 com.kony.ios_8.2.28.v201811051627.jar 文件(例如,如果您使用的是 8.2.28 版本)。

  2. Copy above file and rename it as zip file and unzip it.复制上述文件并将其重命名为 zip 文件并解压缩。

  3. once unzip was done inside you can find another zip file please unzip.一旦在里面完成解压,你就可以找到另一个 zip 文件,请解压。 ( ex: 8.2.28.zip) (例如:8.2.28.zip)
  4. you can see folder called VMAppWithKonylib.您可以看到名为 VMAppWithKonylib 的文件夹。
  5. now go open command-line tool and go to VMAppWithKonylib location.现在打开命令行工具并转到 VMAppWithKonylib 位置。
  6. now go to gen folder location inside your commandline.现在转到命令行中的 gen 文件夹位置。 gen folder will inside VMAppWithKonylib. gen 文件夹将在 VMAppWithKonylib 中。 7.now run this command - perl extract.pl konyappiphone.KAR 7.现在运行这个命令 - perl extract.pl konyappiphone.KAR
  7. once extract done now go to VMAppWithKonylib and open project in xcode.提取完成后,现在转到 VMAppWithKonylib 并在 xcode 中打开项目。

let me know if you are facing any more issues.如果您遇到更多问题,请告诉我。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM