What is the SDK version you are using? And what are the compile issues you are getting?
The Ionic SDK includes the libraries for both Android and iOS. If you decide to only deploy on a particular platform, you may remove the unused libraries to reduce the size. For example, if you only deploy to Android, you could delete the iOS libraries.