How to install an iOS app programmatically? - iphone

I am working on pushing an application on to device.
I was able to download the ipa file (also related profile) programmatically.
The next thing that i have to do is to install this downloaded application file programmatically.
I have done a lot of search and found that sandboxing and other iOS limitations wont allow me to install this app.
I need to know is there a way to install iOS apps programmatically (code or scripts) on the device.
Android provides a mechanism to install apps programmatically using Intents.
Want to know if there is anything analogoues or similar to what Android provides in iOS

You can't, at least not from the device. (Caveat: I mean a non-jailbroken device.)
What you can do is make an IPA available on a website and download it to a device. This is how enterprise deployment works, and you can use the same trick for ad hoc builds.
There's a project on GitHub that automates this: BetaBuilder.
This probably isn't what you're looking for, but it's the closest that you can currently get as far as I'm aware.

You can install it programmatically from a Mac with this tool:
https://github.com/phonegap/ios-deploy
I've used it successfully.

Related

Flutter app on my iPhone without Apple Store

Good evening, I was wandering if there is the possibility to fully download (not just debug) an app made by me with Flutter on my own iPhone without passing through the App Store and without the developer account of Apple. Thanks in advance!
Edit: If I develop the app with React Native instead of Flutter is the same or in that case can I download it?
Actually, you can't do that because you have to need developer account to install the app on your phone. That's iOS requirements, but you can create free amount then you create free certificate just one week.
https://developer.apple.com/forums/thread/47843
To install a Flutter app on an iOS device you need to either generate an IPA file or publish your application in the App Store. To be able to achieve that you need two things :
A MacOS machine with XCode
An Apple developer account
For 1 there are solutions. If you do not own a Mac you can use services like appollo to configure and build your app. It's pretty easy to use.
For 2, you do not really have a choice. To be able to install an app on a physical device you have to add the device UDID in your developer account. Otherwise the IPA will not be installed.

Install an iPhone app for testing without the App Store

I am a new iPhone developer and I have an app that I want to install on a tester's phone. This is to test before it gets submitted to the app store. I won't have access to the physical phone. I want to send them a package to install. First, is this possible? If so, what is the best way to go about it? Thanks.
Try using the Test Flight service.
The following services is used to Test the Beta Testing in Mobile Applications.
TestFlight - beta distribution of iOS apps (Not used jailbroken devices).
knappsack - It allows air installation of your apps
hockeyapp - It work All Platforms Except Blackberry
appblade - supports all three of the platforms you are looking for.
You can also generate an IPA file (Build and Archive / share) and send it to your tester. He will be able to install it to his device using Itunes.
If his device is not jailbroken then you will need to add his UDID to the mobile provisioning you are using to sign the application.
If you need more detail about anything, I will expand this answer.
Good luck!

Flash CS5.5 Iphone App OTA distribution and or sync without removing apps

I've been having some fun with Flash developing IOS apps. I currently have two devices provisioned but each device is synced with a different iTunes account. My work iPad and personal iPhone.
I'm currently using my work iPad as the testing device. Adding the .ipa to iTunes and syncing. It works great.
I would like to be able to add the .ipa file to my iPhone too, but iTunes will erase all my apps in order to sync and I don't want that.
Is there anyway to get around this?
Can I go about this using the over the air wireless distribution method? Flash has publish settings for adhoc deployment does this deal with OTA? Also don't you need a .plist file and to get OTA to work?
Any ideas or suggestions would be appreciated.
Thanks,
Tegan
It is possible to distribute flash created IPAs using adhoc OTA distribution. Apple has information on creating the necessary manifest plist here. You do not need an enterprise developer account for this to work but you will need access to a web server to host the files and talk to the apple servers (this can be hosted locally). Once everything is set up you can visit the web server from your iPhone and download the app. We distribute internal testing builds using this system and it functions very nicely.

How to install AdHoc IPA file to iPhone without backing up apps of iPhone?

I want to install an AdHoc IPA file to an iPhone, but I don't want to back up the apps of iPhone into iTunes, because the iPhone is not mine, and there are too many apps in it. Is that possible?
You could also use Xcode (at least Xcode 4, haven't tried it with earlier versions):
Open the Organizer and select 'Applications' under your device in the Devices tab. Now use the Add button to add your ipa to the device.
This web app may be what you need: http://testflightapp.com/
Take a look at Hockey, from the project description:
Hockey is a iOS Ad-Hoc updater framework. It can be used for all apps that target the Apple AppStore and improves the beta testing process dramatically. All beta testers. It consists of two components, a server and a client framework.
The server component is required for all scenarios. But it also can work standalone without the client library. It provides a web interface which beta testers can use to install the latest AdHoc provisioning profile and also the latest beta version via Safari right from the device. One server installation is able to handle multiple applications via different bundle identifiers
This procedure was published this morning, so I am not sure if it works as advertised. Basically it talks you through setting up Adhoc distribution OTA in something like ten easy steps.

iPhone development using flash

I'm looking to develop an iphone app using flash. I understand Apple are allowing apps made using flash into the appstore...
I don't own a mac, I'd be doing this on Windows. But to get it to the appstore, I'd need to enroll as a registered developer.
Before I spend money to do this, can I a) upload test apps via Windows? b) submit to apple from windows?
Thanks
James.
No to both of those (AFAIK). I think you will need a mac to upload your app to itunes connect.
I'm also pretty sure that the toolkits that build flash iPhone apps will use the command line compiler from a mac as well to build the final binary so I'm not sure that you can even develop the app without a mac.
Sorry for the bad news :(
PS I'd love someone to correct my answer - I'd like people to be able to build on any platform they wanted but I can also see why apple don't want this :)