I don't use the packForXcode task because I'm using cocoapods local podspec to provide the shared module framework for the ios project.
Even after I build the project on AS which completes successfully, sometimes I can see the classes from Xcode, other times I can't.