Bug Report
1) Camera Access Crash
You recently fixed a bug that caused Codea to crash when the camera didn’t have access. By using cameraSource()
you can now check for -1
. However, when the project is exported to XCode it will crash with the following error.
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[AVCaptureDataOutputSynchronizer initWithDataOutputs:] dataOutputs must all contain a valid connection'
I tried to use a NSSetUncaughtExceptionHandler
, but swift wouldn’t catch it and just kept crashing.
2) Missing Assets on Exported Projects
Projects exported to XCode crash because of missing asset. Blocks.assets: Blank White.png
If I copy the file by hand and put it in the Assets folder in XCode under the Blocks.assets
folder it works. I am not using that asset in my project. I might have used it before, but my code never references it.
3) Font not Being Loaded
The font Inconsolata
did not display correctly after being exported to XCode. fontSize()
did not effect it so I couldn’t control the size and the font was not correct. I wonder if other fonts are affected by this issue.
4) Dependency Assets not Found
A few weeks ago you added support for Dependencies to use their own assets from their own project’s assets folder. Which works great. When exported and run in XCode the images can not be found.
5) Overlay Displayed while Loading
When a project is loaded on the iPad from XCode no matter the settings, the parameters overlay will show for a second or less and then disappear. I would like the overlay to never be visible.
In the ViewController.swift file you have:
self.setViewMode(CodeaViewModeFullscreenNoButtons, animated: false)
I tried moving it around, but it did not solve the issue. I have `displayMode(FULLSCREEN_NO_BUTTONS) set first thing in my code. But the overlay seems to be displaying while loading the app. Even though I am using a loading screen. On faster devices the overlay only flashes for split second, but it is still visible.
6) Icon not Correctly Set
The app icon doesn’t get set correctly and some sizes didn’t match. But after a little bit of fiddling, I got all the icons setup. I just thought you should know.
End Report
Sorry for posting so many things at once. Today was the first time in a long time I had a chance to work on my project. If you need me to explain more or if I am doing something wrong, let me know!