回到顶部
TOP

一、iOS Auto Package(For non-Flash Game)

a)Package Flow:

1. Correct integration of lengjing iOS SDK,and import Xcode project.

2. Download Package Script.

3.Add iOS channel parameters ,startup page and app icons on LengJing Dashboard channel management part.Download config file after finishing setting(Chrome is recommended).

4.(OS X)Run package script:./ljiospkg projectPath configurationFile

parameter explanation:projectPath is a xcode project directory; configurationFile is the file downloading on step 3.

Sample: ./ljiospkg /Users/xiaoming/xcode_projects/tianchaoxiaojiang/ /Users/xiaoming/Downloads/14461.zip

Caution:

a. Don not include chinese characters;

b. Add -i to package to .ipa,that is  ./ljiospkg -i projectPath configurationFile

5.An app/ipa package will be generated in build directory in Xcode project root directory(Xcode project will be kept)

b)Details:

91F728B6-28F2-4A12-980D-182AFE724FEA

Generate an .app package:./ljiospkg  /Users/allen/Documents/res/LJIOSDemo /Users/allen/Downloads/9274.zip

生Generate an .ipa package:./ljiospkg -i /Users/allen/Documents/res/LJIOSDemo /Users/allen/Downloads/9274.zip

Generate a channel project: ./ljiospkg -k /Users/allen/Documents/res/LJIOSDemo /Users/allen/Downloads/9274.zip

Find channel version:./ljiospkg -l

Download a certain channel resource: ./ljiospkg – -download xy

Download all channel resources:./ljiospkg – -download all

c)Common issues and solutions

Q:I upload an icon onto the dashboard,while the output channel package does not take?

A:Config your icon in xcassets

Q: How to debug channel package in xcode ?

A:The package script provides a command to convert an origin project into a channel project

(run ./ljiospkg -k projectPath configFile to start converting,run ./ljiospkg -r projectPath to restore)

Q: Compile error: xcrun: error: active developer path….xcode-select…

A:Too many xcodes are installed, and it is impossible for xcodebuild command to determine which one to use.To check Xcode install path:sudo xcode-select -switch <xcode_folder_path>

Q: Script error: ImportError: No module named AppKit?

A:Library pyobjc lacks,solution:sudo easy_install -U pyobjc-core sudo easy_install -U pyobjc

Q: package failed for “解析渠道参数错误”?

A:Check if config file is downloaded by Safari,and Chrome is recommended。

二、iOS Package Manually(For Flash Game)

Game developed by Flash Air will need to add channel resources and settings manually,channel resources downloading url are below:

51下载

爱苹果下载

爱思下载

楚游下载

当乐下载

海马玩下载

乐8下载

乐嗨嗨下载

同步推下载

iTools下载

PP助手下载

XY助手下载

We do not support 果盘(叉叉助手),快用,91助手 for flash air.

 


 

PS:

1、An config item of the application life cycle entry is necessary for each channel.Flash air is CTAppController,Unity is UnityAppController,cocos2dx is AppController ,in common case.

2、Most channels are in need of URL Schemes configuration which is mainly used for payment skip.Some require bundle identifier,while others have different points.

向上
向下