Xcode error: UIStackview before iOS 9.0

After converting one of my apps I wanted to try out UIStackview. After dragging in one I immediately get an error from Xcode saying UIStackview before iOS 9.0.


If I start a new project I don't get this error.


I converted everything to iOS 9, and it runs in the simulator.


Thanks for any help!

Accepted Reply

You need to change the deployment target of your application's target to iOS 9. Otherwise the app supports down to whatever OS that your deployment target is set to.

Replies

You need to change the deployment target of your application's target to iOS 9. Otherwise the app supports down to whatever OS that your deployment target is set to.

I've got this problem, too, and I've changed the application's target to iOS 9.


One interesting thing is that if I look in the project's target/build settings area, the section of the list with the iOS deployment target setting is under a header that says (null) - Deployment. It's as if there's something corrupt in a config file somewhere.


Have you seen this before, or do you know where I might find a file I could look at to do some clean-up?


Thanks