Repair en error when using the iOS 3.0 sdk

Repair en error when using the iOS 3.0 sdk