You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have follow the steps to create a framework.
Then i open an objective-c project and embedded the framework.
I am not able to place this line "unity_init(CommandLine.argc, CommandLine.unsafeArgv);" in AppDelegate.
It said Use of undeclared identifier 'CommandLine'.
If i comment out this line and run the app, it will crash and mention "GfxDevice: creating device client; threaded=1
gfx device intialization failed"
Please help.
The text was updated successfully, but these errors were encountered:
You cannot comment out this otherwise Unity will not initialize. Most likely the bridging header file is not properly configured that's why it complains of undeclared identifier.
Check out this repo with most up to date Unity (2017.2) / Xcode (9.1) support and a demo project you can play with all the settings.
I have follow the steps to create a framework.
Then i open an objective-c project and embedded the framework.
I am not able to place this line "unity_init(CommandLine.argc, CommandLine.unsafeArgv);" in AppDelegate.
It said Use of undeclared identifier 'CommandLine'.
If i comment out this line and run the app, it will crash and mention "GfxDevice: creating device client; threaded=1
gfx device intialization failed"
Please help.
The text was updated successfully, but these errors were encountered: