I created an Appcelerator iOS Module via CLI like this:
(appc new -n moduleName --id com.my.moduleId
)
Beside the ComModulenameModule
I have created the ViewProxy
and View
.h
and .m
files so I can use native views.
I haven't written a single line of code, and the compiler already gives me the error:
Cannot find interface declaration for 'TiModule', superclass of 'ComModulenameModule'
.
Why is that happening? The module was generated via CLI, so it should have all the structure to deal with the Titanium framework
. It should "come from factory"
.
#import "TiModule.h"
@interface ComModulenameModule : TiModule { //Cannot find interface declaration for 'TiModule', superclass of 'ComModulenameModule'
Same error goes for the TiUIView
.
By the way, I think the imports are correct.
Can someone help me please? Thanks in advance!
The only thing that fixed it, was to format my Mac and reinstall everything. I tried creating a new user, tried another version of XCode, nothing. The only resolution was formatting.