care for dyn switch between Xcode/iOS vers

as with [aerogear-push-helloworld/pull/31](https://github.com/aerogear/aerogear-push-helloworld/pull/31) let's apply the same technique here