I am a beginner on iOS development. And I am following this which seems to be great.
I have:
Ubuntu with phone gap installed
iPhone 5 for testing
Have installed phonegap in iPhone
Created a simple hello world using phone gap
The project pings and runs perfectly on my mobile (I think that is like emulator)
What I want?
Generate ipa file (like apk file in android I think) so that I can send that executable file to one of my friend for testing purpose.
Question:
How to create ipa file on Ubuntu using phone gap and where will that be located?
Edit:
As suggested here (which is for Windows), is it compulsory to pay $99 to just test and distribute to my friends?
You can't create an IPA file using Ubuntu. You will need a Mac to create that file or use a cloud service like Phonegap Build.
You need a MAC to build IPA. There are somethings that you can try if you are not a MAC user:
Asking your friends for MAC (Nah! not a preferred way)
Hiring an IOS app developer
Buying a MAC (If you have enough money RN in your hands :) )
Buying a MAC VPS server
The third option will be great. You can rent or buy a cloud MAC server from somewhere. They may cost $20 - $100 per month according to the system specs. You can search for them.
Related
We are starting to work with react-native at my company. We have one mac and the rest of the team is running on windows.
Is there a way to write the app on windows with the ios device connected to the windows machine or local wifi. Then launch the build on the mac (from the windows pc) and get the app launched on the ios device ? So it would like using the mac only as a build/package server.
Hope i am clear enought.
Thanks.
We can launch the build on windows using Virtual Machine, the detailed steps for doing that can be found in the following link:
https://blog.udemy.com/xcode-on-windows/
Honest advice
The functionality of developing IOS apps on windows is something that Apple intentionally wants to block and hence tries to give you hard time doing that by purposeful hindrances in the software that slow you down in such attempts.
To do that, you will need to install Xcode, which requires MacOS, which you would have to install on a virtual machine if you ever want to use on windows, which itself is against the apple terms and policy
So, even if it works, you wouldn't be smoothly developing in such blocked environment. So I believe it isn't worth spending time on.
I am writing this since I have tried it myself, and want to help you to not waste your time. Since most websites during search including on youtube, this subject is for clickbait with videos with more dislikes than likes. The most you can get is the following
Use cloud services like MacInCloud, MacStadium, XcodeClub ( They are expensive )
Install MacOS on virtual machine like VirtualBox or Vmware ( Apple intentionally hinders such activities and you will have hard time installing it let alone using it for bearable development )
Build and use hackintosh ( expensive, I prefer buying mac )
I hope this saves your time
You should explore the option of running macOS in VMWare on Windows machines for building purposes.
EDIT:
Now using:
expo build:android
expo build:ios
Way simpler.
Old question, but for’people who are still searching for an easy solution, take a look at https://appcenter.ms
App center let you to build iOS app in the cloud, it’s free (unless you need lot of builds), easy (you just need to know how provisioning profile and certificate works and host your code on a online fit repo).
We use it to build and deploy app on iOS and android for 3 year (even if we work on Mac)
We only have 2 main issues: it’s slow 30 minutes for an iOS build, and not extremely stable. Sometime we need to relaunch build 3-5 times.
Well, you can setup a virtual machine.
Install VM Ware software and add MacOS image to run the operating system.
Then setup Xcode and build the react native iOS app.
We are starting to work with react-native at my company. We have one mac and the rest of the team is running on windows.
Is there a way to write the app on windows with the ios device connected to the windows machine or local wifi. Then launch the build on the mac (from the windows pc) and get the app launched on the ios device ? So it would like using the mac only as a build/package server.
Hope i am clear enought.
Thanks.
We can launch the build on windows using Virtual Machine, the detailed steps for doing that can be found in the following link:
https://blog.udemy.com/xcode-on-windows/
Honest advice
The functionality of developing IOS apps on windows is something that Apple intentionally wants to block and hence tries to give you hard time doing that by purposeful hindrances in the software that slow you down in such attempts.
To do that, you will need to install Xcode, which requires MacOS, which you would have to install on a virtual machine if you ever want to use on windows, which itself is against the apple terms and policy
So, even if it works, you wouldn't be smoothly developing in such blocked environment. So I believe it isn't worth spending time on.
I am writing this since I have tried it myself, and want to help you to not waste your time. Since most websites during search including on youtube, this subject is for clickbait with videos with more dislikes than likes. The most you can get is the following
Use cloud services like MacInCloud, MacStadium, XcodeClub ( They are expensive )
Install MacOS on virtual machine like VirtualBox or Vmware ( Apple intentionally hinders such activities and you will have hard time installing it let alone using it for bearable development )
Build and use hackintosh ( expensive, I prefer buying mac )
I hope this saves your time
You should explore the option of running macOS in VMWare on Windows machines for building purposes.
EDIT:
Now using:
expo build:android
expo build:ios
Way simpler.
Old question, but for’people who are still searching for an easy solution, take a look at https://appcenter.ms
App center let you to build iOS app in the cloud, it’s free (unless you need lot of builds), easy (you just need to know how provisioning profile and certificate works and host your code on a online fit repo).
We use it to build and deploy app on iOS and android for 3 year (even if we work on Mac)
We only have 2 main issues: it’s slow 30 minutes for an iOS build, and not extremely stable. Sometime we need to relaunch build 3-5 times.
Well, you can setup a virtual machine.
Install VM Ware software and add MacOS image to run the operating system.
Then setup Xcode and build the react native iOS app.
I am trying to create an iOS app but i don't have apple computer, is it possible to build iOS app inside a Mac hosted in a virtual machine ?
Actually I have an application's Android version and i need to create a iOS version too
You can opt to have hackintosh if you're desperate.
But like the other guy said, you can google it(the way to use VM as Hackintosh).
it's common thing now to build an iOS app on virtual machines (because macs is bit pricey ...) so i think there will be so many example to do that.
though if you want to publish your app or even simulate it on devices, you have to create a developer account to get license,provisions, keys, etc..
i heard it cost you about 100$ or so to join with dev account.
You can:
Download iOS from some torrent and run it on VirtualBox locally, breaking Apple's SLA.
Rent a Mac from one of the following providers, costs $20 - 50 per month
https://www.macstadium.com
https://macincloud.com
https://xcloud.me
I am about to embark on some mobile development projects but I'm doing a little homework first. My primary goal is to deploy to Android and iOS, but the latter is posing some problems because I do not have access to (nor do I have any interested in acquiring) a Mac.
Phonegap offers a cloud service where you can upload your mobile development project and they will do the building for you - no Mac required. From the Phonegap Build FAQ:
Simply upload your web assets - a ZIP file of HTML, CSS and
JavaScript, or a single index.html file - to PhoneGap Build, point us
to your Git or SVN repository, or let us set up a git remote endpoint
that you can push to. Then we’ll undertake the compilation and
packaging for you. In minutes, you’ll receive the download URLs for
all mobile platforms.
I am leaning toward the development and native UI capabilities of Appcelerator, but since I do not have a Mac, is there any hope for me using Titanium for iOS development using something akin to PhoneGap's Build service?
If you dont have a Mac you will not be able to develop, test, deploy, or put in the app store applications for iOS, with or without using Titanium.
Regardless, even if you were able to use a cloud build technology with Titanium (which does not exist) you wont be able to deploy your final application to the App Store because you have to have XCode for that, the same goes for PhoneGap. Check this here:
Note: Since PhoneGap Build uses Apple's standard development process to build applications, >you will need to sign up for their developer program to build iOS applications on PhoneGap >Build. You will also need a Mac to configure your certificate and provisioning profile.
Bottom line, unless you use a mac, your not legally deploying to the App Store.
Don't be forgetting the registration fees that come with signing up as Both a google play & iOS developer.
I fear that using a remote service is going to cost you dearly in time, as you'll be significantly increasing your test cycle.
The cost of a second hand Mac mini is hardly going to impact any development budget, even charity work. And as the previous poster note, you can't legally deploy your completed build without a mac. If you made macs, wouldn't you do the same?
There are services cropping up like Mobundler.com and Foundry22.com which let you do end to end development without a Mac.
Foundry22 is a service similar to PhoneGap build, for Titanium SDK. Similar to PhoneGap build, it requires p12 bundle for iOS signing and Java keystore for Android. You can use service like Mobundler to create those using just your browser. You still need to pay to become part of iOS developer program.
The answer here is outdated.
There is an Icenium platform which will allow you to build and put your app on App Store without using Mac at all.
http://docs.icenium.com/publishing-your-app/distribute-production/publish-ios
So I have a HTML 5 app and I have access to Apple Developer Center (iOS Dev Center to be more exact). The question is can I actually use it without buying (lending) Mac? Meaning, can I create/download my developer certificate and a provisioning profile from Windows or Linux?
According to this article, you no longer need a Mac?
https://web.archive.org/web/20150303180446/http://community.phonegap.com/nitobi/topics/detailed_guide_for_setting_up_building_ios_apps_without_a_mac
Edit: Link updated
For those wondering how to sign their app for iOS in Windows, here's how you can do so: building an iOS signing key for PhoneGap in Windows.
You still need an Apple Developer Account, there's no getting around that.
No it's not possible.
You can build your phonegap application in the cloud without a Mac (with some limitations depending on the build plan you choose).
As #stu sais, you may be able to make a certificate for Apple Store using Windows.
But, finally, you will need a Mac with Xcode installed to updload your application to the App Store.
Yes, it's possible, via PhoneGap Build. https://build.phonegap.com/
Eventually you need a Mac to submit your iOS apps. You can simply try the Remote Mac Server MacinCloud with your PC. You can install PhoneGap and develop iOS in the Cloud.
You can make a cert for apple store using windows. Anyone who says otherwise has no idea. I'm doing it my self. Just install ssl into windows and run it from cmd prompt. Find a tutorial on how to create a certificate for mac store using ssl from cmd.