If it may be forgiven to resurrect a very old question, it's worth pointing out that these are not the "homotopy groups of spheres" that appear in synthetic homotopy theory / homotopy type theory. Those are internal group objects in the $\infty$-topos, not external "ordinary" groups. So in particular it is still true that "$\pi_1(S^1)=\mathbb{Z}$" in the terminal category, because both "$\pi_1(S^1)$" and "$\mathbb{Z}$" denote a (or rather the) object of the terminal category and hence are equal --- it's irrelevant that in that case this internal $\mathbb{Z}$ doesn't have the external $\mathbb{Z}$ as its set of global elements. Similarly, in $\infty Gpd^A$ for a set $A$, we have "$\pi_1(S^1)=\mathbb{Z}$", but the internal object $\mathbb{Z}$ has the external group $\mathbb{Z}^A$ as its set of global elements.
There is a conjecture that internally all the homotopy groups of spheres are always isomorphic to the classical ones. This is still open (indeed the meaning of "always" has yet to be formulated precisely), but it seems to be true for all Grothendieck $\infty$-toposes, because inverse image functors preserve spheres, loop spaces, truncations, and the construction of specific finitely presented abelian groups.