7

Is there any way to do it in Ubuntu Itself??

I have tried ...

$ ionic plaform add ios 


WARNING: Applications for platform ios can not be built on this OS - linux.

5 Answers 5

13

Actually using Ionic Framework you sort of can.

Let me explain, won't be able to build it locally in your PC, but Ionic does provide a packaging service called "Native Builds" where you upload your project to their servers and they handle that for you.

You can read more about it here: http://ionic.io/platform#packaging

Sign up to request clarification or add additional context in comments.

3 Comments

That is a good point. It's not that convenient not to be able to test the app locally on an iPhone but it's still a way of getting it out there.
Yupp, it's not ideal, but sometimes you gotta work with whatever tools you have. I'm saving for a Mac Book tho, it makes things faster
it might be helpful
6

No, you need a Mac with Xcode to develop for iOS.

Edit: To be clear, you can not build your Ionic project for iOS on Ubuntu. However, You can of course develop on Ubuntu and use another machine for the actual Xcode build process.

2 Comments

Thank You for your reply
You will face the following error: UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): xcodebuild was not found. Please install version 7.0.0 or greater from App Store
3

Only in OS X, you can use ionic platform add ios. But if you just develop apps without native plugins support and want to verify whether UI is compatible or not, you could use ionic serve --lab. This command will show UI for android and IOS in your default browser.

1 Comment

@Gopinath Glad that can help you.
1

You cannot use ionic build ios on Ubuntu.

But you can test your ionic app with the ionic view application on your Apple device.

You should upload your ionic app with : ionic upload

1 Comment

ionic upload does not access Social sharing ,and get pictures from device .... (Plugins Activities)
0

You can try Virtual Box with mac OS (install xcode + shared folders), but get ready for 9 hell circles of installing

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.