Restricting installing app from itunes - iphone

How can I restrict a particular app from being installed via iTunes from device using Mobile Device Management or via other objectivec ways?

MDM has a feature to prevent installation of ANY apps. However, it doesn't have a feature to target (prevent installation) of some specific apps.

Related

Is it possible to install developed applications(xap)into device anywhere devices

I would like to test the Application developed for wp7. Is it possible to directly deploy the xap into a device anywhere device or is there any other procedure to do so?
Is it possible to just transfer the xap file to the zune interface and then to the device anywhere device?
To install an application onto a device using any means other than the official Marketplace is currently only possible to developer unlocked devices. To developer unlock a device you must be a registered developer on the App Hub, which then enables you to unlock 3 devices.
When the Mango update of the operating system is released later this year (November-ish), there will be two additional deployment options for doing private distribution of certified paid or free apps, or for doing 90-day (maximum) beta testing of free applications. Neither of these options will require a developer unlocked device.

iphone app run on device

WHats the easy way to accomplish this ..??
I am developing an iphone app and have also got my app installed in my ipod touch. I showed it to a friend of mine and he wants me to install in his ipod touch. I loaded the xcode project in his mac and everything works fine. Now I need to make this app run on his device. How can I do this ..???
For some reason I don't have access to the my personal mac through which I installed on my device.
Also his device is not sync to his itunes and he does not want to sync it.
See Installing Apps Wirelessly. Don't worry about the enterprise account requirement, that's not necessary any more.
You'll need to register your friend's device in the Provisioning Portal and digitally sign the app with a provisioning profile that references that device.
Your friend's device needs to be added to your provisioning file. If your friend's device UDID is not registered with your developer account and not in the provisioning file, then it won't install.
You will need access to your personal Mac for your Developer certificate and/or the private key for your Developer certificate.
Then after you add your friend's iPhone's UDID in the iOS Developer Portal, you can create a mobileprovision that will allow you to build an app that can be be installed on this iPhone.
You can sync this app and the mobileprovision file to the iPhone via iTunes, or slightly more complicated if you don't want to sync, put on a server with the mobile provision packaged in an appropriate format for wireless installation.

How to distribute an iPhone app for testing in the iPhone simulator on testing computers?

Can you distribute an iPhone app for testing in the iPhone simulator on computers that do not have the XCode development tools installed? Can you just install the simulator on a computer for testing?
I have a group of testers that are not developers and do not need to have the dev tools other than the ability to run the simulator to test the app.
Thanks
The official way to achieve your goal of user acceptance testing without requiring the users to have the development tools is to use Ad-Hoc deployment instead of the simulator.
To conduct an ad-hoc deployment you will need all your testers to have a device (iPhone, iPod touch, or iPad) and you will need to acquire their device's unique identifier UDID. Once you have that you will need to go into the iPhone developer website and create a new deployment signing certificate of type 'ad-hoc', making sure to specify that each of your testers has rights to that build.
By doing this your testers will be able to run the app on real hardware, and will only be required to have iTunes installed on either a Windows or Macintosh computer.

Is iPhone enterprise deployment appropriate for distribution to members of an association?

I've had a query about developing an app for members of an association and I can't determine from the Enterprise Deployment guide if this is an appropriate method for deploying the app.
Members own their own devices, so can an enterprise app be deployed while allowing the users to continue to use their own Appstore logins?
At any point, do the devices have to be physically connected to a machine running iTunes that is owned by the association or can a provisioning profile be distributed via the web or email? I see that profiles found in certain directories (e.g., ~/Library/MobileDevice/Provisioning Profiles/) will be automatically installed, so can the profiles and the app simply be emailed to members?
The Enterprise Deployment guide contains a lot of instructions on locking down the device. Can this be ignored?
I've had a query about developing an app for members of an association and
I can't determine from the Enterprise
Deployment guide if this is an
appropriate method for deploying the
app.
Sounds right for the type of deployment you're talking about. Just be aware if you're have the enterprise developer account you won't be able to do App store deployment with the same account.
Members own their own devices, so can
an enterprise app be deployed while
allowing the users to continue to use
their own Appstore logins?
Yes, Appstore apps and enterprise apps can coexist on the same device.
At any point, do the devices have to
be physically connected to a machine
running iTunes that is owned by the
association or can a provisioning
profile be distributed via the web or
email? I see that profiles found in
certain directories (e.g.,
~/Library/MobileDevice/Provisioning
Profiles/) will be automatically
installed, so can the profiles and the
app simply be emailed to members?
You can get the app binary and profile to the members anyway you like. Snailmail a CD... stick a USB drive on a pigeon... As long as they have access to the iTunes they sync their devices with, they'll be able to install your app.
The Enterprise Deployment guide
contains a lot of instructions on
locking down the device. Can this be
ignored?
Not sure which guide you're referring to. Please include link.
You need the devices UDID which is included in the provisioning profile for the app, that allows that device to run the app

How to add adhoc application on multiple iphone on the same computer in itunes?

How to install my app in adhoc release on multiple device with the same computer/itunes, when i try to do it, itunes sync the devices..so i clean them up ...
Apple has solved your problem with an Enterprise Utility called the "iPhone Configuration Utility" which you may freely download from their information webpage here: http://support.apple.com/downloads/iPhone_Configuration_Utility_2_0_for_Mac_OS_X
Once you install this and connect a device and close iTunes (which typically launches in response to the device connection) you can easily use its simple interface to manage your adhoc provision profiles, add the device and install or remove adhoc apps directly.
I used this app months ago to put the Crash Landing demo I'd built with the SDK directly on my wife's 2.1 iPhone 3G from my desktop dev Mac without messing up her own laptop Mac iTunes sync management of her apps, music, etc. FYI: I've not tried this since the June update to v2.0 of the Utility which accompanied the release of OS 3.0. edit: I couldn't resist testing this (yes, it still works)
The only downside I noticed to this method is that the iPhone/Touch user will have to later delete the app manually on their device, as their iTunes management won't list the app in the device applications tab to be unchecked.
it should just work, as long as the mobileprovision file that you're using includes all of the devices that you're trying to use. (also assuming that all of the devices are set to sync to that one computer's iTunes library.)
If the device is jailbroken you can install sshd and copy the application directly.