简介
对于LRN应用,iOS和Android可以使用相同的appId
, 但是对于平台来说, 它们是不同的应用;
使用
bash
lrn create-app --help
Usage: lrn create-app --name <NAME> --app-id <APP_ID> --package-id <PACKAGE_ID> -o <PLATFORM>
Options:
-n, --name <NAME> APP名称
-a, --app-id <APP_ID> APP ID
-p, --package-id <PACKAGE_ID> Package ID
-o <PLATFORM>
平台
Possible values:
- ios: iOS
- android: Android
-h, --help Print help (see a summary with '-h')
举个🌰:
bash
lrn create-app --name newproject --app-id newproject --package-id com.github.newproject -o ios
lrn create-app --name newproject --app-id newproject --package-id com.github.newproject -o android