.app files

How do i change a .app file to xcode or at least open it. When i try to open it it says "You cant open the application "App Name" because it is not suported by this type of mac." What do i have to do to get it in xcode
Comments
You do not need XCode to publish the .app to the App Store.