changed apiclient for cocoapods