-
Notifications
You must be signed in to change notification settings - Fork 25
Set Wits Environment
Hyojin Kim edited this page Mar 31, 2020
·
6 revisions
For using Wits, Tizen Studio CLI binaries should be added to your $PATH
for accessing to tizen
and sdb
command-line utilities.
-
For bash:
$ echo 'export PATH="$HOME/tizen-studio/tools/ide/bin:$PATH"' >> ~/.bash_profile $ echo 'export PATH="$HOME/tizen-studio/tools:$PATH"' >> ~/.bash_profile
-
For Ubuntu Desktop:
$ echo 'export PATH="$HOME/tizen-studio/tools/ide/bin:$PATH"' >> ~/.bashrc $ echo 'export PATH="$HOME/tizen-studio/tools:$PATH"' >> ~/.bashrc
-
For Zsh:
$ echo 'export PATH="$HOME/tizen-studio/tools/ide/bin:$PATH"' >> ~/.zshrc $ echo 'export PATH="$HOME/tizen-studio/tools:$PATH"' >> ~/.zshrc
-
For Fish shell:
$ set -Ux fish_user_paths $HOME/tizen-studio/tools/ide/bin $fish_user_paths $ set -Ux fish_user_paths $HOME/tizen-studio/tools $fish_user_paths
Configure Tizen Studio Certificate Profile Name
and the path
of your profiles.xml to .witsconfig.json
The default path
on MacOS
is /Users/{your-mac-username}/tizen-studio-data/profile/profiles.xml
and on Windows
is C:/tizen-studio-data/profile/profiles.xml
.
The name
should be your pre-configured certificate profile name which is foundable at the one of these locations:
-
Tizen Studio (Recommended)
Tools > Certificate Manager > Certificate Profile (Actived one)
-
Tizen TV SDK 2.4 (legacy)
window > Preferences > Tizen SDK > Security Profiles
If your profiles.xml
is not exist at the one of the default locations, you might have it in the following legacy location.
-
Tizen TV SDK 2.4 (legacy)
/{your-workspace}/.metadata/.plugins/org.tizen.common.sign/profiles.xml
{
"connectionInfo": {
"width": "1920",
"deviceIp": "192.168.250.250",
"hostIp": "192.168.250.250",
"port": 8498,
"isDebugMode": false
},
"profileInfo": {
"name": "yourProfileName",
"path": "C:/tizen-studio-data/profile/profiles.xml"
},
"optionalInfo": {
"proxyServer": "http://192.168.250.250:8080"
}
}
-
connectionInfo (mandatory)
- deviceIp [string] : Device(TV) Ip address
- hostIp [string] : Host(PC) Ip address
- socketPort [integer] : TV port. It is generated randomly in WITs.
- width [string] : Resolution
- isDebugMode [boolean] : Setting true, chrome inspector is launched automatically. / Setting false, nothing happened.
-
profileInfo (mandatory)
- name [string] : Tizen Studio Certificate Profile name
- path [string] : Tizen Studio Certificate Profile path
-
optionalInfo (optional)
- proxyServer [string] : In case you are behind proxy ex) http://192.168.250.250:8080
- on
Windows
andMacOS
both, Wits recognises path segment only one separator(/
).