Title: Using the obj-c port with X-Code 3.23 Post by: reduxdj on June 29, 2010, 09:55:09 I am having all kinds of problems compiling the current version to xCode, i get a boat load of errors like:
1. I've tried recompiling the puremvc project 2. I've tried to include all the classes with no success 3. Can't get this to work either way Undefined symbols: "_OBJC_METACLASS_$_Proxy", referenced from: _OBJC_METACLASS_$_TimerProxy in TimerProxy.o _OBJC_METACLASS_$_DeviceProxy in DeviceProxy.o _OBJC_METACLASS_$_LoginProxy in LoginProxy.o _OBJC_METACLASS_$_PowerProxy in PowerProxy.o _OBJC_METACLASS_$_ServiceProxy in ServiceProxy.o _OBJC_METACLASS_$_StatusProxy in StatusProxy.o _OBJC_METACLASS_$_IpProxy in IpProxy.o _OBJC_METACLASS_$_UserProxy in UserProxy.o "_OBJC_METACLASS_$_Mediator", referenced from: _OBJC_METACLASS_$_DeviceListMediator in DeviceListMediator.o _OBJC_METACLASS_$_LoginViewMediator in LoginViewMediator.o _OBJC_METACLASS_$_VoxSTRUCTUREMediator in VoxSTRUCTUREMediator.o "_OBJC_IVAR_$_Notifier.facade", referenced from: _OBJC_IVAR_$_Notifier.facade$non_lazy_ptr in StartupCommand.o _OBJC_IVAR_$_Notifier.facade$non_lazy_ptr in LogOutCommand.o _OBJC_IVAR_$_Notifier.facade$non_lazy_ptr in ValidateUserCommand.o _OBJC_IVAR_$_Notifier.facade$non_lazy_ptr in LoginUserCommand.o _OBJC_IVAR_$_Notifier.facade$non_lazy_ptr in GetDevicesCommand.o _OBJC_IVAR_$_Notifier.facade$non_lazy_ptr in TimerProxy.o _OBJC_IVAR_$_Notifier.facade$non_lazy_ptr in DeviceProxy.o _OBJC_IVAR_$_Notifier.facade$non_lazy_ptr in LoginProxy.o _OBJC_IVAR_$_Notifier.facade$non_lazy_ptr in PowerProxy.o _OBJC_IVAR_$_Notifier.facade$non_lazy_ptr in StatusProxy.o _OBJC_IVAR_$_Notifier.facade$non_lazy_ptr in IpProxy.o _OBJC_IVAR_$_Notifier.facade$non_lazy_ptr in UserProxy.o (maybe you meant: _OBJC_IVAR_$_Notifier.facade$non_lazy_ptr) "_OBJC_CLASS_$_Mediator", referenced from: _OBJC_CLASS_$_DeviceListMediator in DeviceListMediator.o _OBJC_CLASS_$_LoginViewMediator in LoginViewMediator.o _OBJC_CLASS_$_VoxSTRUCTUREMediator in VoxSTRUCTUREMediator.o "_OBJC_CLASS_$_Proxy", referenced from: _OBJC_CLASS_$_TimerProxy in TimerProxy.o _OBJC_CLASS_$_DeviceProxy in DeviceProxy.o _OBJC_CLASS_$_LoginProxy in LoginProxy.o _OBJC_CLASS_$_PowerProxy in PowerProxy.o _OBJC_CLASS_$_ServiceProxy in ServiceProxy.o _OBJC_CLASS_$_StatusProxy in StatusProxy.o _OBJC_CLASS_$_IpProxy in IpProxy.o _OBJC_CLASS_$_UserProxy in UserProxy.o "_OBJC_CLASS_$_SimpleCommand", referenced from: _OBJC_CLASS_$_StartupCommand in StartupCommand.o _OBJC_CLASS_$_LogOutCommand in LogOutCommand.o _OBJC_CLASS_$_ValidateUserCommand in ValidateUserCommand.o _OBJC_CLASS_$_LoginUserCommand in LoginUserCommand.o _OBJC_CLASS_$_GetDevicesCommand in GetDevicesCommand.o "_OBJC_IVAR_$_Mediator.viewComponent", referenced from: _OBJC_IVAR_$_Mediator.viewComponent$non_lazy_ptr in DeviceListMediator.o _OBJC_IVAR_$_Mediator.viewComponent$non_lazy_ptr in LoginViewMediator.o _OBJC_IVAR_$_Mediator.viewComponent$non_lazy_ptr in VoxSTRUCTUREMediator.o (maybe you meant: _OBJC_IVAR_$_Mediator.viewComponent$non_lazy_ptr) "_OBJC_METACLASS_$_Facade", referenced from: _OBJC_METACLASS_$_ApplicationFacade in ApplicationFacade.o "_OBJC_METACLASS_$_SimpleCommand", referenced from: _OBJC_METACLASS_$_StartupCommand in StartupCommand.o _OBJC_METACLASS_$_LogOutCommand in LogOutCommand.o _OBJC_METACLASS_$_ValidateUserCommand in ValidateUserCommand.o _OBJC_METACLASS_$_LoginUserCommand in LoginUserCommand.o _OBJC_METACLASS_$_GetDevicesCommand in GetDevicesCommand.o "_OBJC_IVAR_$_Proxy.data", referenced from: _OBJC_IVAR_$_Proxy.data$non_lazy_ptr in TimerProxy.o _OBJC_IVAR_$_Proxy.data$non_lazy_ptr in DeviceProxy.o _OBJC_IVAR_$_Proxy.data$non_lazy_ptr in PowerProxy.o _OBJC_IVAR_$_Proxy.data$non_lazy_ptr in ServiceProxy.o _OBJC_IVAR_$_Proxy.data$non_lazy_ptr in StatusProxy.o _OBJC_IVAR_$_Proxy.data$non_lazy_ptr in IpProxy.o _OBJC_IVAR_$_Proxy.data$non_lazy_ptr in UserProxy.o (maybe you meant: _OBJC_IVAR_$_Proxy.data$non_lazy_ptr) "_OBJC_CLASS_$_Facade", referenced from: _OBJC_CLASS_$_ApplicationFacade in ApplicationFacade.o ld: symbol(s) not found collect2: ld returned 1 exit status Title: Re: Using the obj-c port with X-Code 3.23 Post by: reduxdj on June 30, 2010, 12:42:50 I eventually got this to work, instead of using the compiled .a objective c class. I downloaded the project
and used the class files instead, and now this works. :) Title: Re: Using the obj-c port with X-Code 3.23 Post by: puremvc on July 04, 2010, 07:32:17 Sounds like we need to recompile with the latest X-Code...
-=Cliff> Title: Re: Using the obj-c port with X-Code 3.23 Post by: krange on September 14, 2010, 05:22:53 They might need a re-compile again for Xcode 3.24 now as I'm getting similar errors with the latest version...
Title: Re: Using the obj-c port with X-Code 3.23 Post by: uncleunvoid on November 24, 2010, 03:25:41 I also just added the files to my class list, works fine there...
Title: Re: Using the obj-c port with X-Code 3.23 Post by: Chordol on April 06, 2011, 03:46:30 Ditto for Xcode 4.0.1. I added the source files instead of the .a file and it works like a charm. Thanks reduxdj.
|