Error: CUICatalog: Invalid asset name supplied: (null), or invalid scale factor : 2.000000

This one appears when someone is trying to put nil in [UIImage imageNamed:] Add symbolic breakpoint for [UIImage imageNamed:] Add $arg3 == nil condition on Simulator, $r0 == nil condition on 32-bit iPhone, or $x2 == nil on 64-bit iPhone. Run your application and see where debugger will stop. P.S. Keep in mind this also … Read more

Xcode duplicate line

Go to this folder which contains dark side of the force: Xcode 4.2 or prior: /Developer/Library/PrivateFrameworks/IDEKit.framework/Resources Xcode 4.3 or later: /Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Resources. Open IDETextKeyBindingSet.plist. Add a new dictionary and a new command item as the screenshot below (name them what you want): That’s: selectLine:, copy:, moveToEndOfLine:, insertNewline:, paste:, deleteBackward: Restart Xcode and go to Preferences – … Read more

Should *.xccheckout files in Xcode5 be ignored under VCS?

You should check in an Xcode 5 .xccheckout file; in general, files in xcshareddata should be committed. An .xccheckout file contains metadata about what repositories are used in a workspace. For a single project in a single repository that doesn’t make much difference. But if you’re using a workspace that has multiple projects from different … Read more

ERROR ITMS-9000: “Redundant Binary Upload. There already exists a binary upload with build version ‘1.0’ for train ‘1.0’”

More than one binary may be uploaded to App Store Connect for the same version, if the the Build number is increasing for each build uploaded to iTunesConnect. The build number just has to be unique (and higher) for each binary that is uploaded (select the Target, then Xcode -> General -> Build, see the … Read more

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