How to build ios app?

i have using netbeans IDE and ubuntu how to build ios using these ???

You can use those tools to build an app that will work in the browser and on Android. However, right not, to actually build for iOS, you must have a Mac with Xcode installed and an iOS developer account.

For now, to simulate running the app on an iOS device, you can use the PhoneGap Developer app.

So, you develop the app on your machine using Ionic. Then, you load the app into the PhoneGap Developer app.

Here’s an overview of it:
http://www.raymondcamden.com/2014/4/21/PhoneGap-Developer-App

You could also use the PhoneGap Build service to build ios apps remotely

its works on mac only ??? not in windows??