iOS Question B4I remote server log

Sergio Haurat

Active Member
Licensed User
Longtime User
Hi B4I developers, I made this project before paying Apple and the remote build service. The project was just for fun and to learn how to use the B4X tool. It is about data management for handball matches, my children play that sport.


After several days and a lot of patience I have managed to make the B4A and B4I projects compatible and without compilation errors. When I want to do testing on iOS, the remote server log writes a bunch of text with an error that I don't understand (I attach the file).

Thank you so much
 

Attachments

  • B4i Version 8.51.txt
    100.6 KB · Views: 56
Solution
It does jump to the error when I run it.

Change line 129 to:
B4X:
Dim b() As Byte = v.Text.ToUpperCase.CharAt(0).As(String).GetBytes("ASCII")
If (b(0) >= fromChr And b(0) <= toChr) Then

Erel

B4X founder
Staff member
Licensed User
Longtime User
The error is in b4i_clvindexscroller. Something breaks the parser.

The generated OBJC line is:
B4X:
if ((([@[[self.bi CharToString:[[[_v Text] ToUpperCase] CharAt:(int) (0)]],@""] componentsJoinedByString:@""])[[ GetBytes:@"ASCII"] getByteFast:(int) (0)]>=__ref->__fromchr /*int*/  && ([@[[self.bi CharToString:[[[_v Text] ToUpperCase] CharAt:(int) (0)]],@""] componentsJoinedByString:@""])[[ GetBytes:@"ASCII"] getByteFast:(int) (0)]<=__ref->__tochr /*int*/ )) {
 
Upvote 0

Sergio Haurat

Active Member
Licensed User
Longtime User
The class is from some post, the compiler does not indicate the line number to know where the error could be?

 

Attachments

  • CLVIndexScroller.bas
    4.7 KB · Views: 63
Upvote 0
Top