Formulate Pro and Sierra

125 views
Skip to first unread message

Eberhard Lisse

unread,
Sep 29, 2016, 11:52:00 AM9/29/16
to FormulatePro
Hi,

since update to 10.11 FormulatePro 0.0.6 crashes all the time.

When I try to compile the source with Xcode 8 I get an issue:

FPTextAreaB.m:103:23: Null passed to a callee that requires a non-null argument

Anyone have any idea how to get FormulatePro working on Sierra?

el

Brian Stevens

unread,
Jul 21, 2017, 12:10:01 PM7/21/17
to FormulatePro
"Anyone have any idea how to get FormulatePro working on Sierra?"
el

Just today I sent this fix to FMP's author but you are welcome to use the fix:
I built a 64-bit version using Xcode 8.3.2 on macOS Sierra.

In file FPTextAreaB.m and this method, - (NSDictionary *)archivalDictionary
old code    
NSData *d = [_textStorage RTFFromRange:NSMakeRange(0, [_textStorage length]) documentAttributes:nil];

new code:
NSData *d = [_textStorage RTFFromRange:NSMakeRange(0, [_textStorage length])
                documentAttributes:@{NSDocumentTypeDocumentAttribute: NSRTFTextDocumentType}];  //Brian 20170720


I built a 64-bit version using Xcode 8.3.2 on macOS Sierra.


The only other change is in Build Settings for the target:
 


 

Best Regards,

Brian,  BrilorSoftware
Developer of PropertyMaintenanceTracker, VehicleMaintenanceTracker, PPCToTrash, CCNX, SDT, co-developer FutureBASIC and other Macintosh shareware and freeware.
 
Reply all
Reply to author
Forward
0 new messages