My project will not compile w/o error on a Mac

I am converting an older RealBasic project to XOJO.

My app will assemble correctly however I get the following error when compiling:


Termination Reason: DYLD, [0x1] Library missing

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
Library not loaded: /System/Library/Frameworks/PowerMgrLib.framework/PowerMgrLib
Referenced from: /Applications/Xojo 2019 Release 1.1/*/PianoMID MIDI.debug.app/Contents/MacOS/PianoMID MIDI.debug
Reason: image not found


I can successfully run the XOJO examples. What am I missing???

Tnx,

Steven.

PowerMgrLib is probably an old Carbon library - check your code for any Declares that use it?

Thanks Michael.

It was the Declare call to an outdated library.