S sdleidel Active Member Licensed User Longtime User Apr 22, 2018 #1 B4i Version: 4.81 Parse den Code. (0.06s) Kompiliere den Code. (0.18s) Kompiliere Layoutcode. (0.07s) Building Xcode project (0.61s) Sende Daten an entfernten Compiler. Error B4i line: 607 wait for (API.User_Nickname_Check(Create_Kid_Tem type of property '_api' ('b4i_api *') does not match type of accessor '_api' ('void') .... Error: ** BUILD FAILED ** The following build commands failed: CompileC build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_main.o B4iProject/b4i_main.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler (1 failure) The Code in the Modul is: Code: Copy Create_Kid_Temp_Alter=Slider_Kids_Reg1_Alter.Value wait for (API.User_Nickname_Check(Create_Kid_Temp_Nickname)) Complete (Result As Boolean) and the Sub in API Codeblock is: Code: Copy Sub User_Nickname_Check(Nickname As String) As ResumableSub Return from this Sub is true or false... In the Debug Mode, the App ist running... ? Why not in Release ?
B4i Version: 4.81 Parse den Code. (0.06s) Kompiliere den Code. (0.18s) Kompiliere Layoutcode. (0.07s) Building Xcode project (0.61s) Sende Daten an entfernten Compiler. Error B4i line: 607 wait for (API.User_Nickname_Check(Create_Kid_Tem type of property '_api' ('b4i_api *') does not match type of accessor '_api' ('void') .... Error: ** BUILD FAILED ** The following build commands failed: CompileC build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_main.o B4iProject/b4i_main.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler (1 failure) The Code in the Modul is: Code: Copy Create_Kid_Temp_Alter=Slider_Kids_Reg1_Alter.Value wait for (API.User_Nickname_Check(Create_Kid_Temp_Nickname)) Complete (Result As Boolean) and the Sub in API Codeblock is: Code: Copy Sub User_Nickname_Check(Nickname As String) As ResumableSub Return from this Sub is true or false... In the Debug Mode, the App ist running... ? Why not in Release ?
Erel B4X founder Staff member Licensed User Longtime User Apr 23, 2018 #2 Can you send me the project to [email protected]? Upvote 0
S sdleidel Active Member Licensed User Longtime User Apr 23, 2018 #3 Hi Erel, i have send you the ZIP... Thanks for your help. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Apr 23, 2018 #4 The error message is confusing here. The error is on this line: Code: Copy wait for API.User_LoginCompleted(email , password) The syntax is wrong. The compiler was updated to correctly mark such errors. Upvote 0
The error message is confusing here. The error is on this line: Code: Copy wait for API.User_LoginCompleted(email , password) The syntax is wrong. The compiler was updated to correctly mark such errors.
S sdleidel Active Member Licensed User Longtime User Apr 23, 2018 #5 Hi Erel, thanks for your Feedback... The error message of the line is then wrong, or completely different... But what is wrong with the syntax... What did I miss? Upvote 0
Hi Erel, thanks for your Feedback... The error message of the line is then wrong, or completely different... But what is wrong with the syntax... What did I miss?
Erel B4X founder Staff member Licensed User Longtime User Apr 23, 2018 #6 If you want to call and wait for API.UserLogin then the syntax should be: Code: Copy Wait For (API.User_Login) Complete (Success As Boolean) See the resumable subs video tutorial: https://www.b4x.com/etp.html Upvote 0
If you want to call and wait for API.UserLogin then the syntax should be: Code: Copy Wait For (API.User_Login) Complete (Success As Boolean) See the resumable subs video tutorial: https://www.b4x.com/etp.html
S sdleidel Active Member Licensed User Longtime User Apr 26, 2018 #7 Hi Erel, Wait for (Api.User....) That give me an error in the editor... Or must I type Wait for ("Api.User...") ? I have see the Video, but there is no example when you use Codemodule... Thanks Sascha Upvote 0
Hi Erel, Wait for (Api.User....) That give me an error in the editor... Or must I type Wait for ("Api.User...") ? I have see the Video, but there is no example when you use Codemodule... Thanks Sascha
Erel B4X founder Staff member Licensed User Longtime User Apr 27, 2018 #8 sdleidel said: That give me an error in the editor... Click to expand... Which error? Upvote 0
S sdleidel Active Member Licensed User Longtime User Apr 27, 2018 #9 Ok the error is when you type: wait for (API.User_Login) Complete (success As Boolean) I think you must write: wait for API.User_Login Complete (success As Boolean) The ( ) is the Problem... Right ? Upvote 0
Ok the error is when you type: wait for (API.User_Login) Complete (success As Boolean) I think you must write: wait for API.User_Login Complete (success As Boolean) The ( ) is the Problem... Right ?
Erel B4X founder Staff member Licensed User Longtime User Apr 29, 2018 #10 sdleidel said: The ( ) is the Problem... Right ? Click to expand... No. Resumable subs tutorial: Upvote 0