Ok i’m starting to take a real look at Tizen stuff.
So far this looks like the another half-baked installer with no clear reason as to why I must manually do something that should have been done automatically with a click of a button.
What is the “tizen2.3-certificate-extension”? Because it doesn’t exist. Where did you get it from. The Tizen docs give no explanations for why this is even needed just to test out an app…
Ok sorry my bad. So much scattered Tizen docs. I don’t know what I should be looking at.
Reminds me of BB10. Or “x11” docs because i’m being a winny kid right now
Now in Unity when I try a simple Build&Run I get the error: “Default profile path is not set in the Tizen CLI configuration”
If I build a test native tizen app via there IDE and try to run it I get the error:
“Cannot install application.
Error code: FATAL_ERROR
Error message: Success
Command: /usr/bin/pkgcmd -q -i -t tpk -p /opt/usr/apps/tmp/org.reign.projtest-1.0.1-arm.tpk
Management: Installation or uninstallation is not working temporarily.”
The IDE shows my device there so idk whats wrong.
I have installed the extension as you suggested. That worked. I rebooted Unity and the Tizen IDE for testing but still same errors.
So the “.crt” file loaded but now I have to load a Base64 Device ID. I can’t find this anywhere on the phone.
I really expected this device to compete with Android and how open it was. Guess I was mistaken.
Well got the Tizen Native IDE to build, deploy and run a test GLES2 app on the device.
Unity still has issue and gives the error: “Profiles path in Tizen CLI configuration does not exist”
What is the profiles path in the CLI configuration?
I don’t know how Unity isn’t working when the native IDE is able to. One reason I wish Unity would start building out to native IDE’s like it does for xCode and WinRT.
Even entering my “Signing Profile Name” doesn’t work. Iv’e also updated to Unity 5.1.1p4.
The “Signing Profile Name” defined within Unity should be the same name when entered into the “Generated Developer Certificate Signing Request” window within the Tizen IDE correct? Its not clear where the value comes from as its not working.
No there are no spaces. There are the characters “-” used in place of spaces but I don’t see how this would effect it?
The path to that key name should be loading from a different path anyway.
Also note everything works correctly in the Tizen IDE and I can build and run apps from it on the device. I don’t need to enter any key name in that IDE either. Not sure why Unity needs this. Maybe a list of available names should be shown instead of manually typing one as I don’t see whats wrong.
It shouldn’t be a problem but could you try a path without “-” as well? A bug fix will be coming in the next patch release that should resolve this.
Also, could you verify that the Tizen CLI configuration is correct?
tizen-sdk/tools/ide/bin/tizen cli-config -l
tizen-sdk/tools/ide/bin/tizen cli-config -g -l
will show you the configurations. Ensure that default.profiles.path key is set to a valid path.
Unity needs the profile name because there could be several on any given machine. Just like how you need to choose your signing information for Android and BB10. If you would like a list of profiles rather than entering the name then please submit a feature request.
So I open the profiles.xml file and see it does in fact have the name iv’e been using.
Its has two profile names: <profilename=“Reign”> and <profilename=“default”>.
I tried both and neither work.
I’ve also removed the “-” character in the file path so my full Unity project file path is now: “~/Dev/Reign/ReignUnityPluginUnity5/” or “HardDrive/Users/andrew/Dev/Reign/ReignUnityPluginUnity5/”
Android signing information works great as you keep the key in a file location of your choosing and its super easy to back-up. BB10 doesn’t let you choose and can only have one installed at a time. Tizen seems like it has multiple which is good but requires you to make a temp Eclipse project for it which doesn’t make any sense. Maybe i’m wrong and Tizen has a command line alternative. If that was the case it might be better to have a UnityUI option that does it for you like BB10.
Let me know if you need any other information, i’m not sure if I hit some bug or something is messed up in my environment.
Well that fixed the build error (man I need to read those terminal lines more). Now it fully builds the tpk file tries to upload it, then run it but fails with no error at all.
Tizen IDE still uploads and runs apps just fine. I notice there error messages kinda suck though. If there is an upload error it still returns error code 0. So maybe thats why you don’t know if it didn’t upload correctly?