Has anyone gotten Firebase to work with Unity 5.6.0f3?
I get runtime errors when trying to playtest the demo Testapp for Realtime Database in unity and linking errors when trying to run on iOS.
The runtime error in the Unity Editor is: Failed: System.UnauthorizedAccessException: Access to the path "/Applications/Unity/Wikitude_Unity_1-4-0_1-3-0_2016_09_13_15_16_45" is denied.
The linking errors are: Apple Mach-O Linker (ld) Error Group "OBJC_CLASS$_FIRApp", referenced from:
"OBJC_CLASS$_FIROptions", referenced from:
clang: error: linker command failed with exit code 1 (use -v to see invocation)
If you got it to work with Unity 5.6.0f3, did you have to do anything special?
Thanks!
Answer by agentargyle · May 15, 2017 at 04:33 PM
Okay, not sure why it needed access to Wikitude or why that is even there, but Firebase tech support said to check the permissions on the Wikitude directory. For some reason they were set to "custom" for the admin user so I changed that to read / write and eliminated the runtime error in the unity editor while play testing. The layout is all messed up, but I was able to write to the database.