''Install Prohibited" iphone SDK - iphone

I am a registered Apple dev with the certificates, and mobileprofiles that i need. I have made several apps in xCode that I would like to test on my 3GS, I have registered my 3GS as one of my allowed devices but it still will not install giving the install prohibited error. The Xcode is set to same profile as my iphone has. Just dont kmow what to do. well i guess i =ll download sdk 4.1

You will get this exact message if Restrictions are enabled on the device, specifically the restriction on installing Apps.

You need to upgrade your SDK to 4.0.1 to use it with iOS 4.0.1 devices.

Is the iPhone OS Deployment Target in your Build Settings (either for the project or for the target) set for an OS version higher than the one on your 3GS?

Related

Launching Xcode 4.0.2 application on iPhone/iPad from VMWare

I would like to test an application on my iPhone and iPad.
The iPhone is running 5.1 and the iPad is running 5.1.1
I am getting this error:
Xcode cannot run using the selected device. No provisioned iOS devices are available with a compatible iOS version. Connect an iOS
device with a recent enough version of iOS to run your application or
choose an iOS simulator as the destination.
I have a developer's license and have followed the provisioning wizard in the Apple website members section. I've installed everything like it said (certificate, provisioning profile in keychain, etc..) but am still getting this error.
I've tried compiling it on 4.3, 4.2, 4.1, and basically all of the options that are available in the build section.
In the Xcode Organizer, my devices show up with an Orange icon next to them. This is the 'error' message on this screen:
The version of iOS on “Personal iPad” does not match any of the
versions of iOS supported for development with this installation of
the iOS SDK. Please restore the device to a version of the OS listed
below, or update to the latest version of the iOS SDK; which is
available here.
This is all on VMWare on OS X 10.6.7.
I've read the other posts where people had a similar problem and tried the solutions proposed (which were mostly comprised of trying to run on older builds) and nothing worked so far.
Notice how you are compiling with an SDK version less than the version on your devices? That's a problem. For iOS 5 you need at least Xcode 4.2 (which comes with the 5.1 SDK).

5.0 Base SDK app won't install on iPad with 5.1 OS

I have an ipad device with 5.1 OS and am trying to run a 5.0 base SDK app on this device.
here's my error:
thanks for any help.
I believe from your screenshot that you are running Xcode 4.2 with the iOS 5.0 SDK, in order to deploy to devices running iOS 5.1 you will need to upgrade to the latest version of Xcode (4.3.2) which has the iOS 5.1 SDK and will allow you to deploy your build to a 5.1 device. This upgrade will require OS X 10.7 Lion. Even though you are targeting a version of iOS supported by your version of Xcode, you can not deploy to devices running a newer version of iOS than your SDK supports.
(Lion upgrade alternative https://stackoverflow.com/a/9621226/716216)
Your device UDID is not added in the developer profile you are currently using.
Go to the developer portal, add the device to your account, add it to your development profile, download the profile again, install it and use the new profile to test the build with.
i thnk you have selected the device as target, and your ipad is not properly attatched to it. if it attched, xcode will show ipad's name
more over. make sure device is added to provisioning profile u'r using

Base-SDK of v4.0 means it won't install on 4.1 or 4.2 devices?

I was using xCode v3.2.3 and SDK 4.0 to write iPhone apps that worked on my iOS v3.1.3 device... as well as v4.0. (Deployment target set to 3.1.3. Base SDK set to v4.0)
Does that mean everyone that uses my app will need a minimum of iOS 3.1.3 and a maximum of v4.0? Or will they also run on v4.1 and v4.2?
Second part of my question:
I now upgrade my iOS v3.1.3 to v4.2.1.
Xcode now says my v4.2.1 device is now no longer provisioned.
Doesn't a Base-SDK setting of v4.0 mean apps will also run (or at least install) on v4.x?
No. Base SDK just means that your app will be built against the iOS 4.0 libraries. Any 4.x device will be able to run a release build of your app, but for debugging, Base SDK and the iOS version on your device must match. In the end, you need to build your app with the newest available Base SDK anyway, because Apple won't accept apps built for older SDKs into the App Store.
No, they will. iOS has Backward compatibility.
I agree with Irene. I found the solution:
The hint came from here: Can't make Xcode 4 run a barely empty project using SDK 4.2 (runs fine in 4.3)
And this is how i resolve: my xcode 4.0 my SDK 4.3 and my Ipod touch device is 4.2.1 - You see it is backward compatible. There are 2 things you must do in order to resolve. 1) In your xcode 4.0, You click on your project name under Target to ensure you change the target not the Project setting. Find the row >IOS deployment target to the version of your device in my case it was back to 4.2.1 ipodtouch so i set 4.2 (do not worry about basesdk it is for your application not the same as your application's target. 4.3 basesdk requires you provide codesign so you have to select code sign if do not have one apply for one looking up in Apple website or google)
After setting your target to compatible version with your device you now can go to "set the active scheme" that is where you select which device to install and run on including the simulator. So you will find you device there select it and you are good to go.
And if you still can not get it going. You can try to select your project under Project this time adn set the ios deployment target to your version mine was 4.2 ipodtouch ios. Then go select "set the active scheme" that is where you select which device to install and run on including the simulator. So you will find you device there select it and you are good to go.

Does an app that made with ios sdk 4 install on device with os 4.2?

Does an app that made with ios sdk 4 install on device with os 4.2 ?
I made an app with ios sdk 4.0.1 but now i want to install it from xcode on ipod touch with os 4.2 but says No provisioned iPhone OS device is connected.
Yes. You can run Applications for previous versions of iOS on a device with iOS 4.2.
The other way around might not be true: you may not be able to run applications compiled specifically for iOS 4.2 on devices with previous versions of iOS.
Keep in mind that with iOS 4.2 SDK you CAN create applications for devices running lower version of iOS also. It depends on how you configure your project on info.plist and the APIs you use in your application.
Yes. There might be few cases of incompatibility, but they are very rare.
Edit: And in most cases, apps build against 4.2 will run on 4.0 just fine, if they use the new stuff wisely.
In almost all circumstances your app should run. It's very unlikely for it to produce any errors.

Can a user install iphone application developed using 3.1.3 in his iphone 3.0?

Can a user install my application from iTunesStore if he is having iPhone OS 3.0 or having lower version of iPhone OS and I have developed my application using iPhone SDK 3.1.3...
Can anyone help me with this...
Thanx in advance...
In you projects settings, use a build setting named "iPhone OS Deployment Target" to specify your minimal iPhone OS version.
To do that, double click the blue project icon (at the top of the project’s "Groups and Files" table), click the "Build" tab and find the setting in the "Deployment" settings section.
To use features from a later iPhone OS, see this question.
If you compile your application to target iPhone OS 3.1.3 then it will not run on 3.0 - instead the user will get a message telling them to update their OS when they try to install.
However, there's a good chance that you will be able to compile your app to target 3.0 as long as you're not using any specific 3.1+ and newer features. To do so, just change the Active SDK you target in Xcode before you compile. Then your app will run on both 3.0 and 3.1.3
If you set your Target SDk in Xcode to 3.1.3, you may be using features of the SDK not found on an iPhone running a lower OS. However, you can test for those features in your program and take alternative measures if the user does not have those features/frameworks available. There is nothing that will prevent your app from running on older iPhone OSes, other than the fact that using new features will cause the app to fail.
On the other hand, you use the Deployment SDk value of XCode to limit which iPhone OSes can actually run your app. This way you can limit the app to be available to only iPhones with later OS and not the earlier ones. The Apple iTunes App Store will use the Deployment SDk value to tell the user who is purchasing, what the minimum system requirement is too.