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
a. Don not include chinese characters;
b. Add -i to package to .ipa，that is ./ljiospkg -i projectPath configurationFile
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
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。
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.