Configuration error with j2objc

Skip to first unread message

Vikalp Mishra

Feb 23, 2021, 2:22:08 AMFeb 23
to j2objc-discuss
Hello Tom,

I am trying J2objc-2.7 with one of my projects. I have setup my project environment and also able to convert Java files into objective-c and created framework, but when i try to use that framework with any other project i am getting errors which are not letting me proceed with the development.
I am getting errors like "could not build os_object module" "could not build objective-c module" also getting errors like "J2ObjC_header.h" file not found and similar. I have tried to added the solutions i found on Stackoverflow or J2objc_discussion but it could not help me build it.

Please help me so i can fix my issues.

Tom Ball

Feb 23, 2021, 10:44:52 AMFeb 23
to j2objc-discuss
Compare the build settings in the j2objc-2.7/examples Xcode projects with your own. In particular, look at what you have set (or haven't) in the Search Paths section. For example, headers not found errors are almost always due to missing Header Search Path settings.

FWIW, j2objc is a solution best suited for very large cross-platform apps. It requires a lot of set up, and is rarely worth the effort for small, independent apps. For smaller apps, better cross-platform solutions are recommended here: The 7 Best Cross-Platform Mobile Development Tools

You received this message because you are subscribed to the Google Groups "j2objc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
Reply all
Reply to author
0 new messages