iOS plugin cleanup