Skip to content

Commit 3c04c50

Browse files
committed
Documenting the target parameter
1 parent 1e81cd1 commit 3c04c50

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ Arguments:
4141
* Entrypoint - Name of the target XCProject (iOS) or Application class file directory (Android). For Android, if no application class is available, the CLI will create it in the directory and name file provided. For the CLI to create the file for you, you will need to provide the directory inside the project and file name with the extension where you want the Application file to be created. Example: app/src/main/java/com/onesignal/testapplication/BaseApp.java
4242
* LANG - programming language to use for ios (objc, swift) or Android (java, kotlin)
4343
* APPID - Optional. OneSignal App ID. Not yet used for iOS installs.
44+
* TARGET - Optional. Used for the iOS install if your App target name is different from the entrypoint name
4445

4546
Example Usage, run the following command on the root project directory where OneSignal SDK is going to be use
4647
* iOS: `onesignal install-sdk --type iOS --entrypoint MyApp --lang objc --appid <APPID>`

0 commit comments

Comments
 (0)