Can't build since iOS customs delegate commit


#1

Hi !

I’ve pulled the last juce develop branch, and I can’t build my project now, I have this error message :

Undefined symbols for architecture x86_64:
  "juce::JUCEApplicationBase::main(int, char const**, void*)", referenced from:
      _main in Main.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation) 

Any idea of what is causing that, or where to search ? I’m using OSx 10.9, and examples project build properly


#2

Did you re-save your project with the projucer?


#3

I always do save and open in IDE yeah…


#4

That’s really odd. The definition is in JUCE/modues/juce_events/messages/juce_ApplicationBase.cpp:204. Any idea why the linker is not finding this. Maybe try cleaning your project?


#5

Trying to clean it right now, but I don’t really know where to look… Mainly main or MainComponent ?


#6

I mean, have you tried cleaning your project in X-code by hitting Command+Shift+K.


#7

Well, it fixed it ! Didn’t knew that would help ! Thanks a lot