D davemorris Active Member Licensed User Longtime User Aug 22, 2026 #1 Hi, Guys I am have a strange problem when I compile some old code with B4I v10. I have only done minor changes to the orginal code. Looking at my records and this was last compiled 1st Sept 2025 - therefore I assumed I used B4I v8.90 I did update the #MinVersion to 16 and have run "clean project" but the problem remains. Looking thro compiler output list it also throws an error /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/main.o /Users/administrator/Documents/UploadedProjects/<user id>/B4iProject/main.m:3:9: error: 'iCore.h' file not found (in target 'B4iProject' from project 'B4iProject') But the report and the end does not mention it (below) - so I am not sure it is important. Error: ** BUILD FAILED ** The following build commands failed: ScanDependencies /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/main.o /Users/administrator/Documents/UploadedProjects/<user id>/B4iProject/main.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'B4iProject' from project 'B4iProject') (1 failure) Any help would be appreciated. Kind regards Dave The complete compile output is in an attached file.
Hi, Guys I am have a strange problem when I compile some old code with B4I v10. I have only done minor changes to the orginal code. Looking at my records and this was last compiled 1st Sept 2025 - therefore I assumed I used B4I v8.90 I did update the #MinVersion to 16 and have run "clean project" but the problem remains. Looking thro compiler output list it also throws an error /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/main.o /Users/administrator/Documents/UploadedProjects/<user id>/B4iProject/main.m:3:9: error: 'iCore.h' file not found (in target 'B4iProject' from project 'B4iProject') But the report and the end does not mention it (below) - so I am not sure it is important. Error: ** BUILD FAILED ** The following build commands failed: ScanDependencies /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/main.o /Users/administrator/Documents/UploadedProjects/<user id>/B4iProject/main.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'B4iProject' from project 'B4iProject') (1 failure) Any help would be appreciated. Kind regards Dave The complete compile output is in an attached file.
Solution Erel Aug 24, 2026 @davemorris the reason for this error is the modified main.m in the Files\Special folder. You are using it to implement the background fetch feature. Change the #import line to: Code: Copy #import <iCore/iCore.h> Or download the updated file:https://www.b4x.com/android/forum/threads/background-fetch-downloads.56022
@davemorris the reason for this error is the modified main.m in the Files\Special folder. You are using it to implement the background fetch feature. Change the #import line to: Code: Copy #import <iCore/iCore.h> Or download the updated file:https://www.b4x.com/android/forum/threads/background-fetch-downloads.56022
Erel B4X founder Staff member Licensed User Longtime User Aug 23, 2026 #2 davemorris said: The complete compile output is in an attached file. Click to expand... The file is missing. And also add whether you are using the hosted builder or a local one. Upvote 0
davemorris said: The complete compile output is in an attached file. Click to expand... The file is missing. And also add whether you are using the hosted builder or a local one.
D davemorris Active Member Licensed User Longtime User Aug 23, 2026 #3 Hi Erel Thanks for going back so quickly - answers to your questions 1. I am using the hosted builder. 2. I am sure I attached the file but here it is again. (CompilerOutput.txt) Kind regards Dave Attachments CompilerOutput.txt CompilerOutput.txt 101.5 KB · Views: 103 Upvote 0
Hi Erel Thanks for going back so quickly - answers to your questions 1. I am using the hosted builder. 2. I am sure I attached the file but here it is again. (CompilerOutput.txt) Kind regards Dave
Erel B4X founder Staff member Licensed User Longtime User Aug 23, 2026 #4 I don't see the error cause in the logs. Can you send me the project to [email protected] ? If not possible then please post a screenshot of the libraries tab. Upvote 0
I don't see the error cause in the logs. Can you send me the project to [email protected] ? If not possible then please post a screenshot of the libraries tab.
Erel B4X founder Staff member Licensed User Longtime User Aug 24, 2026 #5 @davemorris the reason for this error is the modified main.m in the Files\Special folder. You are using it to implement the background fetch feature. Change the #import line to: Code: Copy #import <iCore/iCore.h> Or download the updated file:https://www.b4x.com/android/forum/threads/background-fetch-downloads.56022 Upvote 0 Solution
@davemorris the reason for this error is the modified main.m in the Files\Special folder. You are using it to implement the background fetch feature. Change the #import line to: Code: Copy #import <iCore/iCore.h> Or download the updated file:https://www.b4x.com/android/forum/threads/background-fetch-downloads.56022
D davemorris Active Member Licensed User Longtime User Aug 24, 2026 #6 Hi, Erel I tried the suggested change to the Files\Special\main.m file and it compiled without errors Erel said: #import <iCore/iCore.h> Click to expand... Thank for the help - I have marked your post as the solution. Regards Dave Morris Upvote 0
Hi, Erel I tried the suggested change to the Files\Special\main.m file and it compiled without errors Erel said: #import <iCore/iCore.h> Click to expand... Thank for the help - I have marked your post as the solution. Regards Dave Morris