Archived

This forum has been archived. Please start a new discussion on GitHub.

ice2objc create different m file than ice Builder

hello,

i try to generate files using ice2objc (because i'm using Xcode 7),
when i use ice2objc to generate h,m files from i gets completely different files from the files generated using ice builder/plugin
the problem is ice2objc use different ice structures and because of that i could not compile it

for example:
when i define struct (in ice file) it generated as:
ice2objc: @interface FreeWinInfoArea : NSObject <NSCopying, ICEStreamBaseHelper>
ice builder:
@interface FreeWinInfoArea : NSObject <NSCopying>

and in m files, ice2objc also requires : #import <Ice/Internal.h>"

the project don't recognise: ICEStreamBaseHelper, import <Ice/Internal.h>"

could you help me generate the same files as ice builder does or tell me which configuration i should add to use slice2objc files?

Comments

  • dwayne
    dwayne St. John's, Newfoundland
    What version of Ice are you using? Are you sure you are using the same version in Xcode as you are using from the command line? You can run slice2objc -v to determine the command line version.
  • hello dwayne,

    i've found the problem, it was something wrong with my project,
    now slice2objc works fine and the project compiles successfully

    Thanks,