Fixed remaining issues in iOS samples