iPad launch images in Xcode 5 accept just retina or non retina but not both

I struggled with this also, but I’ve found this is solved when you have a non-retina image named image.png and its retina counterpart is named [email protected]. So to fix yours you’ll need to name the first “Default-Portrait-1024~ipad” and the second “Default-Portrait-1024@2x~ipad”. The part preceding the “@2x~ipad” needs to be the same for it to recognize … Read more

Error “Cast from pointer to smaller type ‘int’ loses information” in EAGLView.mm when update Xcode to 5.1 (5B130a)

Apparently the clang version in Xcode 5.1 and above is more strict about potential 32bit vs. 64 bit incompatibilities in source code than older clang versions have been. To be honest, I think, clang is too restrictive here. A sane compiler may throw a warning on lines like this but by no way it should … Read more

Xcode 5 crashes when running an app with SDL 2

It looks like the problem is that SDL2 isn’t properly signed. There’s a ticket to fix the issue at https://bugzilla.libsdl.org/show_bug.cgi?id=2058. When you spawn an application from Xcode 5 with lldb, Xcode loads a plugin that will inspect modules your application loads, presumably to give you insight into your program. Xcode is set up to crash … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)