How to migrate iOS to SDK 3.0