Open cdiddy77 opened 2 years ago
Found a solution here : In xcode, Project Navigator | Unity-iPhone | select Data folder | in Target Membership, check UnityFramework
Now I have a different error:
Setting UIViewControllerBasedStatusBarAppearance to NO is no longer supported.
Apple actively discourages that, and all application-wide methods of changing status bar appearance are deprecated
-> applicationWillEnterForeground()
-> applicationDidBecomeActive()
[Subsystems] Discovering subsystems at path /Users/charlesparker/Library/Developer/CoreSimulator/Devices/92D8AEF7-C54A-4306-8DF2-54FC08C6BA8A/data/Containers/Bundle/Application/C6A0BD42-8342-4A60-B26E-EE7C8BC6B3AD/rnun1.app/Frameworks/UnityFramework.framework/Data/UnitySubsystems
GfxDevice: creating device client; threaded=1; jobified=1
Initializing Metal device caps: Apple iOS simulator GPU
Initialize engine version: 2021.2.5f1 (4ec9a5e799f5)
2022-01-18 20:47:48.119650-0800 rnun1[38553:7462830] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x600001bfb6a0> F8BB1C28-BAE8-11D6-9C31-00039315CD46
2022-01-18 20:47:48.139772-0800 rnun1[38553:7462830] HALC_ProxyObjectMap::_CopyObjectByObjectID: failed to create the local object
2022-01-18 20:47:48.140002-0800 rnun1[38553:7462830] HALC_ShellDevice::RebuildControlList: couldn't find the control object
2022-01-18 20:47:48.930441-0800 rnun1[38553:7463028] fopen failed for data file: errno = 2 (No such file or directory)
2022-01-18 20:47:48.930795-0800 rnun1[38553:7463028] Errors found! Invalidating cache...
2022-01-18 20:47:50.223148-0800 rnun1[38553:7463028] fopen failed for data file: errno = 2 (No such file or directory)
2022-01-18 20:47:50.223879-0800 rnun1[38553:7463028] Errors found! Invalidating cache...
2022-01-18 20:47:50.470718-0800 rnun1[38553:7462512] Unbalanced calls to begin/end appearance transitions for <UnityDefaultViewController: 0x7fa1b70518d0>.
UnloadTime: 4.284932 ms
Nothing shows up in the UI
As far as I know, looking at the react-native unity and react-native unity view which this was modified from it doesn't support simulators and only physical devices.
Did you manage to resolve this?
Did you manage to resolve this?
Hi, what exactly do you mean?
I don't use the simulator. My app needs a camera and so the simulator is pointless anyway.
Running on iPhone 13 emulator. Using unity 2021.2.5f1.
My test app runs fine as standalone Unity app. When I follow instructions, and fix the RN code up a bit, then when I hit the start button, I see the following in xcode output window
When I poke around, I see that the path in the error message exists up to
.../UnityFramework.framework
, but there is no Data directory beneath it.