Hello, I have ran into a horrible error that no matter where I look I can not figure out or find a good solution. According to some sights, changing you base sdk to 5.1 (instead of latest iOS(5.1)) would fix it... which it did not for me.
The main error says:
Title: "Cannot run on the selected destination"
description:
"The selected destination does not support the architecture for which the selected software is built. Switch to a destination that supports that architecture in order to run the selected software."
*This error only happens when I try to use the virtual iphone or iPad. When I try to use my actual iphone (with proper certification and provisions) says "A valid provisioning profile for this executable was not found"
I have ran into this error over and over again even if I create a new app folder or even download a fresh new agk folder... It would work a couple of times then when I would change the sdk from 4.2 to 5.1 and change the code signing it will run into that error. I would thank anyone who can help me! I have been trying to figure this out for hours now

.
edit: I just got a download in the app store for an updated Xcode! and it fixed the issue... the problem is now I get this error:
title: "Xcode cannot run using the selected device"
description: "Choose a destination with a supported architecture in order to run on this device."
again thank you for the help!
sov the game creator!