osx - Objects are being released when compiling to macOS X -


I'm rewriting an app for OS X (which is running in Warchualboks). When I compile, all my stuff is released then I'm a newbie programmer and this is my first Mac app, so I do not completely know that this is a problem.

I have installed RAD Pazer for OS X. The terminal I get the following error message:

  __NSAutoreleaseNoPool (): Object autoreleased place with a pool 0x4237a10 class NSPathStore2 - just __NSAutoreleaseNoPool () leaked Class objects 0x664dc3c a pool location with autoreleased - just leaking  

These are just a large variety or two examples of error messages that begin with __NSAutoreleaseNoPool ().

Red Studios does not provide an error message when compiling for XE-5 OS X or a Win32 Target platform.

I hope you have enough information.

Update:

I also added a TCalendarEdit my form when I click on OS X, I would crash the program and following me runtime Pajhr terminal error message:

  malloc: error object 0x127e99d4: Perhaps the wrong checksum - object to the empty object was modified after being freed.  

Update 2:

It does not seem that everything is released. This code works:

  Process TForm4.Button1Click (Sender: Tubbed); Start label 1. Text: = 'Bledebla'; End;  

When I point this way TCalendarEdit functionality, all right:

  var calendar Batten: Tibtn; Process TForm4.Button7Click (Sender: TObject); Start Calendar 1. View: = True; Calendar1.Position.X: = Button7.Position.X; Calendar Button: = Button 7; End; Process TForm4.Calendar1 Date Selected (Sender: Tubect); If CalendarButton = Button6 then Button 6.Text: = DateToStr (Calendar1.Date); If the calendar button = button 7 then button 7 Text: = Date Tusat (Calendar 1.Det); Calendar 1 View: = Wrong; End;  


Comments