iOS Question Strange debug compilation error with hosted builder


Well-Known Member
Licensed User
Longtime User
I don't see what I am doing wrong, but this morning, I cannot run or compile my project. See attached the content of the red window.

It ends with

Error: ** BUILD FAILED **

The following build commands failed:
    CompileC /Users/erel/Documents/UploadedProjects/<user id>/build/ /Users/erel/Documents/UploadedProjects/<user id>/B4iProject/b4i_main.m normal arm64 objective-c
(1 failure)

I tried to compile the release app with the same result.

Will appreciate any help. TIA


  • build_failed.txt
    115.4 KB · Views: 99


Well-Known Member
Licensed User
Longtime User
Where does this line come from: NSlogg(@"Failed to send reports: %@", error); ?

Inline OBJC code?

It is in CreateReporter. See below. I tried to comment that sub, but no joy.

Sub CreateReporter
    log("-- Create reporter")
    reporter = reporter.Initialize("KSCrashInstallationEmail").RunMethod("sharedInstance", Null)
    Dim recipients As List = Array("[email protected]") '<-------------------------------------------  change!!!!!!!!!!!!!
    reporter.SetField("recipients", recipients)
    reporter.SetField("reportStyle", 1) 'KSCrashEmailReportStyleApple
    reporter.SetField("subject", "Crash Report")
    reporter.SetField("message", "This Is a crash report")
    reporter.SetField("filenameFmt", "crash-report-%d.txt.gz")
    reporter.RunMethod("install", Null)
End Sub

#if OBJC
#import <KSCrash/KSCrashFramework.h>

- (void) sendReports:(KSCrashInstallation*)installation {
[installation sendAllReportsWithCompletion:^(NSArray* reports, BOOL completed, NSError* error)
             NSlogg(@"Sent %d reports", (int)[reports count]);
             NSlogg(@"Failed to send reports: %@", error);
#End If
Upvote 0