I want to import files which are translated by j2objc in Cocoa Touch Framework in Xcode, and get some error.
My implementing steps as the following:
In PeopleProject -> Pepole.java:
class Pepole{
.....
}
Create a framework(named:
objCFrameWork) and language is Objective-C in xcode(not static library).
Config for j2objc(Build Rules,Settings.xcconfig)
Settings.xcconfig
New a file(Campony) in framework project and import People.h
@interface Company : NSObject @property(nonatomic) People *CEO; @endAdd a demon(
objCFrameWorkDemo) using theobjCFrameWorkCompany *c = [[Company alloc] init]; [c.CEO sayWithNSString:@"Hello"];
6.Build objCFrameWork successfully.
7.Build objCFrameWorkDemo failed.


