Apple Inc.
PREVENTING FRAMEWORK CONFLICTS FOR MULTI-OS APPLICATIONS
Last updated:
Abstract:
Embodiments described herein provide for system and methods to enable an operating environment that supports multi-OS applications. One embodiment provides for a non-transitory machine-readable medium storing instructions that cause a data processing system to perform operations to detect conflicts during a build process for a dynamic library, the operations comprising loading program code for the dynamic library to build for a first platform, determining a set of interfaces and data structures exported by the dynamic library for the first platform, determining a set of interfaces and data structures exported by the dynamic library for a second platform, parsing the set of interfaces and data structures to verify consistency of a build contract for the dynamic library, and generating a build error during a build process for the dynamic library upon detecting an inconsistent build contract specifying at least an application binary interface (ABI) for the dynamic library.
Utility
17 Aug 2018
5 Dec 2019