Force iOS Device to Download App - ios

I wonder if it is possible to force an iOS Device to download an app.
I have a 1 Year Apple Developer Account and i can create Profiles.
I heard that if Users install your Profile Configuration you can do some actions.
Now i thought instead of connecting a Device over USB to PC and Load an IPA to the Device , to Force a Device UDID (with a Installed Profile) to download an App without having it to be connected to pc

You cannot do this with a normal app.
However you may want to look into:
Entreprise apps. If you distribute an enterprise app, and setup MDM (mobile device management) you can push an app to a device
MDM, if you own the set of devices, you can setup mobile device management on them and push app updates.
You could look at solutions like rollout.io which provide a wrapper for the JS bridge into iOS to allow you to deploy simple updates and bug fixes to a live app.
You cannot, force push an app or update to a live app store user.

Related

Install iOS apps using adhoc without plugging the iOS Device on Mac computers

I am currently working on a private iOS app, and was asked to distribute it to only a handful of people without publishing to app store. I know about ad hoc and already created provisioning profile and all the requirement, archived and sent to the iOS device. My first try using ad hoc, sent to iPhone using airdrop, the app automatically installed on the device, all worked great, but all of that while plugging the iPhone in to mac computer that I used for developing the app.
My question is can we do that without plugging it in? I recreates the step with the same phone and on another phone without plugging it in and the apps can't be installed. Or is there difference in steps when plugged in or not.
In order to install an ad-hoc package to a remote device, you will need to put the IPA file on a web server and also upload the Manifest file.
However, If you don't have a handy server, there are many free services that you can use for that. To mention a few: TestFairy, Diawi.

How to make an enterprise app that does not contain uninstall option in ios

I am making an enterprise application for iPhone, it does not contain uninstall option how to make this application in ios. Lang:Objective c
There is no uninstall on iOS, you can just remove any app you installed. You press the app and after some time the icon wobble and a cross is show, click the cross and the app gets removed.
You however restrict device and disallow the user to remove some app, this is done with Mobile Device management MDM.
You can register devices to an MDM server and push setting to the device, allow/disallow install of apps, force install of apps, restrict apps, etc..
There is no way to create iOS app that could not be removed.
But, you can use iPhone/iPad/iPod settings to forbid uninstall:
https://support.apple.com/en-us/HT204396
Or you can use MDM to setup restrictions:
Configuring devices with MDM To enable management, securely enroll
your devices with an MDM server using a configuration profile—an XML
file that allows you to distribute configuration information to an iOS
device. These profiles automate the configuration of settings,
accounts, restrictions, and credentials; they can be delivered through
MDM if you need to configure many devices and prefer a low-touch,
over-the-air deployment. Profiles can also be sent as an email
attachment, downloaded from a web page, or installed on devices
through Apple Configurator 2.
Take a look at MDM docs:
http://images.apple.com/business/docs/iOS_Deployment_Overview_Business.pdf
The only way you can prevent Deleting ( uninstalling ) apps is to go to
Setting app->General->Restrictions
From there 'Enable Restrictions' and setting up a password for parental control,
Then turn off 'Deleting App' switch control.
This is usually good for devices belonging to a company or an organization in the hands of members or employees. Otherwise you can not prevent users from deleting an app from their devices they own.

iOS Application Installation

I am trying to develop an enterprise environment where the specified app in the app store gets installed in all the iOS devices connected to the company infrastructure, which has a windows based AD to verify the users.
I went through various materials, and I found over the air profile delivery and few other methods like MDM to push the configuration. But it seems only the configuration can be pushed using these features.
In Apple Configurator and iPhone Configuration Utility, the devices should be connected to the computer physically. I would like to install the app in all the company-owened devices (around 1000 devices) without asking any permission from the user. Is there any way to do this?
You can't take over people's devices without their permission. Nor can you stealth-install an app. You can use MDM to register devices on which you can do this, but they need to be registered first. Apple is currently making MDM features more powerful for the Enterprise environment. As an Enterprise developer, you don't have to use the app store for your app - you can distribute it over your own web server. So even if you go the MDM route, you'll have to register those 1000 devices first. Once you do that, you have a lot more control.

Check if MDM server is connected

We have an app that needs to read from com.apple.configuration.managed when it is installed from our MDM server, JAMF. This works perfectly fine.
The problem scenario is:
The data MDM data persists if a user downloads the app from JAMF, uninstalls, then reinstalls from TestFlight or the AppStore. When the user reinstalls from TestFlight or the AppStore, the app still reads the old data from com.apple.configuration.managed.
Is there a way to check if the device is actually connected to an MDM server? That way it won't read from the configuration profile if it's not
Many of the MDM vendors have iOS SDKs that you can add to your app that will allow the app to communicate with the MDM and verify whether the device is enrolled. I do not have any experience with JAMF and a quick Google search did not return anything promising.
Some of the MDM vendors have gotten creative in how their App SDK communicates with the MDM to identify the device that the app is running on now that iOS 7 makes it impossible for the app to obtain the device's UDID.
That being said, the best solution I can think of would be to have the MDM push down the device's UDID to the app in the managed config (com.apple.configuration.managed) and then use a web service call back to the MDM to query whether the device is currently enrolled.
Then in your app you would simply check for the existence of the managed config, and if it exists pull out the UDID and make a web service call to your MDM to determine whether the device is enrolled.

How to automatically install an app on your iphone?

I'm looking to find a way to install an app automatically on an iphone. An example would be:
I have an app called my.app.
It's located on my desktop on my mac.
When I plug in my iphone to my computer it automatically installs my.app on to my iphone.
Is this possible? Any ideas of how I could possible do this or get a workaround?
Or, it needs to prompt the user to install it. The app doesn't need to automatically install; it just needs to automatically prompt the user on the iPhone to ask if they want to install it or not.
Legally, you can't. Apple (and maybe some authorized third party) is in charge to deliver the packages using the App Store.
However, if you don't "care" about the legal part, try jailbreaking the phone.
If you set up your device with apple configurator (you can find it in the Mac app store) as supervised device you can edit it's profile to include all the apps you want. If you update the profile (add, remov, update apps) the device will be updated when you plug it in while apple configurator is running.
If your intent is only to bypass the app store you could use web deployment (requires a valid ad hoc or enterprise distribution profile just like apple configurator - or a jailbroken device). See this guide: http://help.apple.com/iosdeployment-apps/#app43ad871e

Resources