Tag Archives: Code Snippet
03
Oct

Automatically patch CMVideoSampling.mm when using Xcode 6 and Unity 4.3.4

If you are using Unity 4.3.4 or earlier and have started using Xcode 6, you will find that your iOS builds fail due to a missing header in the CMVideoSampling.mm. The manual fix is to add the following line to the file, every time you do a new build. A better way is to automate […]

Continue Reading →
13
Mar

Unity 3.x to Unity 4.x iOS migration

When migrating an iOS project from Unity 3.x to 4.x I found that my app crashed with an error of “unrecognized selector sent to instance” on a system class (UIDevice) that I had a category extension for in a static library. Odd. There was nothing wrong with the code or the static library. The cause […]

Continue Reading →
This site uses Cookies - By using this site or closing this you agree to our Cookies policy.
Accept
x