No license is going to fix your issue if the device vendor is unwilling. Look at the current state of Android devices. It is using gcc as the default compiler. Even if Apple used gcc they would lock their devices the same way. Compiler is not the reason for this.