iOS Question B4ih2xml parsing error

Biswajit

Active Member
Licensed User
Longtime User
I'm creating a library wrapper using xcode 12.
In the terminal after running java -jar B4Ih2xml.jar lib.h lib.xml I'm getting these following warnings and errors.

B4X:
No shortname for class: B4IObjectWrapper
No shortname for class: B4IDateTime
Error: two or more methods with the same name: Sleep
No shortname for class: B4ICommon
No shortname for class: B4IControlWrapper
No shortname for class: B4ITextInputTraitsWrapper
No shortname for class: B4IRegex
No shortname for class: UIView
No shortname for class: NSString
Skipping: #define B4I_MEMCPY(Src, Dest, Count) memcpy(Dest, Src, Count)
No shortname for class: B4IBit
No shortname for class: B4IFile
Error parsing property: @property (readonly) NSString *  version;
parser._parseproperty (java line: 612)
java.lang.IllegalStateException: No match found
    at java.util.regex.Matcher.group(Matcher.java:536)
    at anywheresoftware.b4a.keywords.Regex$MatcherWrapper.Group(Regex.java:140)
    at b4j.example.parser._parseproperty(parser.java:612)
    at b4j.example.parser._parseline(parser.java:459)
    at b4j.example.parser._parseh(parser.java:307)
    at b4j.example.parser._parse(parser.java:213)
    at b4j.example.main._appstart(main.java:48)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:93)
    at anywheresoftware.b4a.BA.raiseEvent(BA.java:84)
    at b4j.example.main.main(main.java:29)
 

Biswajit

Active Member
Licensed User
Longtime User
Upvote 0
Top