osx - XCode file not compiling -


i'm getting following 2 errors via xcode:

 warning: no rule process file '$(project_dir)/sqlite toolbox/en.lproj/mainwindowcontroller.m' of type file architecture x86_64 

followed by:

 undefined symbols architecture x86_64:   "_objc_class_$_mainwindowcontroller", referenced from:       objc-class-ref in appdelegate.o ld: symbol(s) not found architecture x86_64 

previously project building fine, attempted localization. had mainwindowcontroller.xib highlighted , choose localize option.

after that, project stopped compiling. looks me reason xcode refusing compile mainwindowcontroller.m, i'm not sure how go fixing that. (i have confirmed exist in build phase compile source steps.

any ideas on how fix this?

that sounds if inadvertently have localized "mainwindowcontroller.m" file. following steps worked in test project fix situation:

  • remove "mainwindowcontroller.m" project (using "remove reference" option!)
  • in finder, move "mainwindowcontroller.m" "en.lproj" folder main folder.
  • drag "mainwindowcontroller.m" onto xcode project add again.

Comments

Popular posts from this blog

Winapi c++: DialogBox hangs when breaking a loop -

vb.net - Font adding using PDFsharp -

javascript - jQuery iScroll clickable list elements while retaining scroll? -