trying to build for ios 5.1.1 using xcode 5

I am getting a build signing error for an app I have developed using xcode 5.

I am targetting ios 5.1.1 so it can run on old ipads.

I have a developer registered ipad and it is being accepted by xcode as an ios device but when I try to build it complains about code siging in SDK 5.1 which I am using and the code signing is specified in the project build settings.

The code signing in the build settings is set as follows:

Code Signing Identity iOS Developer

Debug iOS Developer

iOS 5.1 SDK iOS Developer

Release iOS Developer

iOS 5.1 SDK iOS Developer


Code Signing Resource Rules Path

Debug iOS 5.1 SDK

Release iOS 5.1 SDK


Other Code Signing Flags

Debug iOS 5.1 SDK

Release iOS 5.1 SDK

Provisioning Profile iOS Team Provisioning Profile: xxxx


The message I get is build failed

check dependencies

CodeSign error: code signing is required for product type 'Application' in 'iOS 5.1'


Anyone any hints?

Don't bother trying to support iOS 5.1. I doubt Apple would accept an app built with Xcode 5.


If you want to support older iPads, use a newer version of Xcode and set your deployment target to iOS 9. Every iPad except the first version can run iOS 9. With Xcode 8 and 9 you can even support iOS 8 if you want.

I understand that Apple may not accept this into the store for general distribution but I would at least like to deliver the app to the iPad which is the original build and cannot run any iOS later than 5.1.1.

Does Xcode generate an App package that I can manually copy and install to the iPad?

Did you try to clean build folser (option clean) ? You may have invalid dependencies in your build files ?

Did clean no difference.

Changed build settings for signing to state Don't Code Sign as this app is not going to be delivered via apple web site.

Still get code signing error stating required in SDK 5.1

I cant seem to get round this problem.

It looks like Ive got to look for another development tool that can build and deliver to 5.1.1

trying to build for ios 5.1.1 using xcode 5
 
 
Q