I have never published an app to app store.
I have a chance to buy an apple mac from someone.
Is it possible to use that to publish to app store? What if the first owner was also a developer?
If I buy Mac with the only intention of publishing an app should I only go for a new one to get developer license or I can do it in a second hand Mac also?
1
So long as the computer is an “Intel-based Mac running Mac OS X Snow Leopard or later”, it doesn’t matter. In theory.
However, iOS 5.1 and up require a version of XCode which will only run on Lion. So you need a computer that’s capable of running Lion in order to do any serious development.
The most current and best supported versions of Xcode for developing iPhone apps often requires a Mac that runs the latest released version of OS X, currently Mountain Lion 10.8.4. Make sure the Mac meets the system requirements if this OS is not installed already.
You can delete the previous users keys and certificates from a used Mac. After paying Apple $99/annum to enroll in the iOS Developers program, you can install your own certificates and provisions, perhaps in a brand new clean User account.