Cordova build ios

Hi guys I am using ubuntu I am not able to get how I will use functionality of ionic in ios like I am doing in android when I am running command "cordova build ios"
its showing this
</>
xcodebuild was not found. Please install version 7.0.0 or greater from App Store if xcodebuild we cant use in ubuntu then how I can build that in ios
</>

You will need to a) buy a Mac to be able to run XCode or b) look into “Ionic Package” or “Phonegap Build”. These are two services that give you a way to build a iOS app in the cloud, without owning a Mac.

(Note: To upload the app into the AppStore or generate necessary certificates and stuff for building the production version, you will need to manually interact with a Mac. But services like macincloud.com luckily exist and are pretty cheap.)