Fixed: iOS build was broken because of deprecated APIs