yea but most programs have some libraries. it seems unlikely that one entity will own all the code (unless you happen to be the FSF). unless the libraries are less-than GPL licensed and compatible with the App store terms, then you are stuck.
it sounds to me that in many or even most circumstances, the GPL and the App store cannot mix unless Apple makes some allowances. it would be great to hear from the FSF exactly what would be required.
As long as the libraries aren't statically linked you are okay there... at least as far as libraries that are part of the stock system goes. (otherwise we'd never be able to build against, say, a differnet libc or anything like that)
"However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable."
it sounds to me that in many or even most circumstances, the GPL and the App store cannot mix unless Apple makes some allowances. it would be great to hear from the FSF exactly what would be required.