Can't install my app on a device

I’m trying to install an app on my device but I’m getting this error message every time I try to do so in xcode “An unknown error message ‘IncorrectArchitecture’, was received from the device.”
Please help, what am I doing wrong? [import]uid: 30766 topic_id: 13407 reply_id: 313407[/import]

check your build settings. any target settings there? or base sdk? [import]uid: 70635 topic_id: 13407 reply_id: 49242[/import]

this is what my build settings look like, since this is my first app I probably made a mistake there

settings = {
orientation =
{
default = “Portrait”,
},
iphone =
{
plist=
{
UIStatusBarHidden=true,
CFBundleIconFile = “Icon.png”,
CFBundleIconFiles = {
“Icon.png”,
“Icon@2x.png”,
},
},
}
} [import]uid: 30766 topic_id: 13407 reply_id: 49247[/import]

hm no. can’t see anything unusual here.

it has something to do with the (native) build settings
take a look, I found a chinese(?) thread with screenshots
http://www.cocoachina.com/bbs/read.php?tid-29112.html

have you installed the latest xcode?
and what device do you use? [import]uid: 70635 topic_id: 13407 reply_id: 49250[/import]

I just found out I had xcode 3.2.6 installed with an iphone 4 version 4.3.5 that should be the problem I’m downloading xcode 4.0.2. Since I’m on Snow Leopard I think thats the latest version for my OS right? [import]uid: 30766 topic_id: 13407 reply_id: 49256[/import]

What version of Xcode are we supposed to be using with the latest release of Corona…for awhile, I saw people having probs with XC4…have those been addressed?? [import]uid: 6175 topic_id: 13407 reply_id: 49323[/import]