I'm wondering if there is a way to limit the usage of a list of frameworks or APIs.
Take for example a class-room with shared computers where students will use SPM to create CLI programs to learn programming (i.e. not iOS development).
Is there a way to limit the compiler or somehow (at compile or even runtime) say - this code should not be able to load CoreData or Foundation.URLSession
Even if something that is not completely secure is OK, I'm just trying to to come up with valid ideas atm.