Missing Apple Frameworks

I use several components from the ever awesome TMS Software and some other companies when compiling components, I was receiving errors when compiling the Apple platforms. The main error was that it could not find a file. In this case, it could not find ImageIO.

What’s happening is when you import the frameworks from Apple Platforms, not all frameworks are brought in. This is no problem, however, some of these are critical to the components.

To add is simple (this is based on RAD Studio 10.4.2 at the time of this writing):

  1. Open Delphi / RAD Studio
  2. Go to Tools > Options > Deployment > SDK Manager
  3. Select your default MacOSX SDK
  4. Click the ADD A NEW PATH ITEM button on the right side
  5. Change Path Type to Framework
  6. Enter $(SDKROOT)/System/Library/Frameworks for the path on the remote machine
  7. Enter ImageIO for the Framework Name
  8. Click OK.
  9. Repeat steps 4-8 with the following additional frameworks, one at a time – MessageUI, MobileCoreServices, MapKit, Social, WebKit, MultipeerConnectivity, CoreMotion, LocalAuthentication
  10. Repeat steps 3-9 for the iPhoneOS SDK and the iOS Simulator SDK

Leave a Comment

Scroll to Top