I receive this error when attempting to compile a project. B4i takes me to the end of a sub. If I comment out all the code in the sub it does the same thing. If I comment out the calls to that sub, it goes to the end of the next sub in the project. If I comment out all the subs but the default subs, it compiles and installs. Then if I uncomment everything after a successful install, it compiles and installs correctly.
Any ideas?
B4X:
Parsing code. 0.06
Compiling code. 0.11
Compiling layouts code. 0.05
Compiling debugger engine code. 3.03
Building Xcode project 0.05
Sending data to remote compiler. Error
B4i line: 769
End Sub
init methods must return a type related to the receiver type
Out: Build settings from command line:
ARCHS = armv7
CODE_SIGN_IDENTITY = iPhone
CONFIGURATION_BUILD_DIR = /Users/administrator/Documents/UploadedProjects/xxxxx/Payload
OTHER_CODE_SIGN_FLAGS = --keychain xxxxxxx
PRODUCT_NAME = Minesweeper
PROVISIONING_PROFILE = xxxxx
Any ideas?