Home Help Center

Xcode 3.2.2 (SN 64b) + Ice 3.3.1 working?

annekatannekat Member Christophe AvareOrganization: Thales Research & TechnologyProject: none at the moment ✭✭
Hi all,

I have seen that IceTouch 1.0 should work ok with the latest Iphone SDK.
That's not the case for me.
The Xcode plugin does not run the slice2objc compiler.
I have reinstalled Xcode, Ice 3.3.1 and IceTouch with no success.

In the target 'rules' tab i have tried to manually add a rule for the sourcecode.slice type, but when i select 'Slice' as the compiler, a 'Unknown compiler com.zeroc.compilers.slice' is displayed.

I have also followed Matthew's webcast for a simple C++ project, and the slice compiler is never called in any case.

Note: the .ice files do have the 'sourcecode.slice' type associated.

Any hints or additional specific configuration that i have missed?

Comments

  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Hi Christophe,

    Is the plugin correctly installed in your ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins directory? If yes, can you try to run Xcode in 32 bit mode by checking the "Open in 32 Bit Mode" check box in the "Get Info" panel of the Xcode application?

    Cheers,
    Benoit.
  • annekatannekat Member Christophe AvareOrganization: Thales Research & TechnologyProject: none at the moment ✭✭
    Xcode problem solved with 32 bit mode

    Thank you Benoit,

    That was the missing part of the configuration.

    Regards
  • annekatannekat Member Christophe AvareOrganization: Thales Research & TechnologyProject: none at the moment ✭✭
    Additional information for SN 64bits

    For tracking purpose:

    Examples must be compiled using 32 bits mode if SN is started in 64 bits:

    make CFLAGS='-arch i386' CXXFLAGS='-arch i386'

    Appropriate flags must be set in Xcode build properties or you get link errors like:
    ld: warning: in /opt/IceTouch-1.0/lib/libIceObjC.dylib, file was built for i386 which is not the architecture being linked (ppc)
    Undefined symbols:
      "_ICEInternalLookupString", referenced from:
          -[DemoHello dispatch__:is:os:] in Hello.o
      ".objc_class_name_ICEUnknownUserException", referenced from:
          [email protected][email protected][email protected] in Hello.o
      ".objc_class_name_ICEInitializationData", referenced from:
          [email protected][email protected][email protected] in Server.o
      ".objc_class_name_ICEObject", referenced from:
          [email protected][email protected][email protected] in Hello.o
          .objc_class_name_DemoHello in Hello.o
      ".objc_class_name_ICEUtil", referenced from:
          [email protected][email protected][email protected] in Server.o
      "_ICEInternalCheckModeAndSelector", referenced from:
          +[DemoHello shutdown___:current:is:os:] in Hello.o
          +[DemoHello sayHello___:current:is:os:] in Hello.o
      ".objc_class_name_ICELocalException", referenced from:
          [email protected][email protected][email protected] in Server.o
      ".objc_class_name_ICEObjectPrx", referenced from:
          .objc_class_name_DemoHelloPrx in Hello.o
      ".objc_class_name_ICEUserException", referenced from:
          [email protected][email protected][email protected] in Hello.o
      ".objc_class_name_ICEOperationNotExistException", referenced from:
          [email protected][email protected][email protected] in Hello.o
    ld: symbol(s) not found
    
Sign In or Register to comment.