Oli*_*etz 1 ant android ios jenkins temenos-quantum
我的目标是为Jenkins CI构建一个 Kony 项目。所以基本上我需要知道如何在 unix 命令行上构建项目。使用 Kony Studio 时,我的项目构建没有问题。
我已经成功地建立起使用的是Android的apkant的build.xml项目目录。这也为 ios 构建了一个 .kar 文件。我现在如何使用命令行通过 xcode 触发 ipa 构建?
环境:Mac OSX 10.10.2 和 Kony Studio 6.0。
您需要复制“ com.kony.ios_5.5.x.jar ”文件并将其重命名为“ com.kony.ios_5.5.x.zip ”。
Unzip the "com.kony.ios_5.5.x.zip",
The unzipped folder contains 5 files, one of it is "**iOS-GA-5.5.x.zip**".
Make sure that you DO NOT delete any of these 5 files.
Unzip the "iOS-GA-5.5.x.zip" , it will give you the "VMAppWithKonylib" folder.
Now, close all the xcodes you might have open.
Then delete data at path Users/(UserName)/Library/Developer/Xcode/DerivedData
Now go to Terminal
Navigates upto Gen folder using cd (e.g. cd /Users/foo/Desktop/VMAppWithKonylib/gen)
Type pearl extract.pl <KAR file path> and launch the Xcode and do a build. (e.g. perl extract.pl /Users/foo/Downloads/konyappiphone-193.kAR)
Now type open <xcodeproj path>. (e.g. open /Users/foo/Desktop/VMAppWithKonylib/VMAppWithKonylib.xcodeproj)
Run Code Online (Sandbox Code Playgroud)
现在该应用程序将在 xcode 中运行。存档并继续 IPA 生成。
| 归档时间: |
|
| 查看次数: |
2482 次 |
| 最近记录: |