Skip to main content
Inspiring
April 25, 2018
Answered

Undefined symbols for architecture x86_64 InterfaceFactory

  • April 25, 2018
  • 2 replies
  • 2087 views

I'm trying to follow the starting programming guide and I created the WriteFishPrice project with dolly

After adding the missing files The Xcode gave me the next error while compiling in Release (the debug mode is coupled well but I need the release)

Undefined symbols for architecture x86_64:

  "InterfaceFactory::InterfaceFactory(IDType<ImplementationID_tag>, void* (*)(IPMUnknown*), void (*)(void*), int (*)(), void (*)(IPMUnknown*, IPMStream*, IDType<ImplementationID_tag>, int), void (*)(IPMUnknown*, IPMStream*, IDType<ImplementationID_tag>, int), void (*)(IPMUnknown*, IDType<ImplementationID_tag>))", referenced from:

      __GLOBAL__sub_I_WFPActionComponent.cpp in WFPActionComponent.o

      __GLOBAL__sub_I_WFPDialogController.cpp in WFPDialogController.o

      __GLOBAL__sub_I_WFPDialogObserver.cpp in WFPDialogObserver.o

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

I don't know what configuration is missing or what else do I need to add.

This topic has been closed for replies.
Correct answer LucySS_00

Solved, I forgot to select Release in the Target Membership of the added file

2 replies

LucySS_00AuthorCorrect answer
Inspiring
April 25, 2018

Solved, I forgot to select Release in the Target Membership of the added file

LucySS_00Author
Inspiring
April 25, 2018

I'm using the SDK for CC 2018 and Xcode 8.2.1 in Sierra