iOS TouchAction throws KeyNotFound Exception

I’m using TouchAction with coordinates to perform a Tap action on the screen of an iOS device.
I did a through check but did not found any similar bug.
On the line: Driver.PerformTouchAction(t); , I get a KeyNotFoundException and I have no idea what key can’t be found.
Any ideas anyone?

use something like:

PointOption pointOption = new PointOption().withCoordinates(x,y);
driver.performTouchAction(new TouchAction(driver).tap(pointOption)).release();

Hi Aleksei, thanks for the answer.
I tried using the code you offered but I now have another problem:

I will mention the I code in C# with Visual Studio IDE.

what is your java-client version?

package io.appium.java_client.touch.offset; -> 
public static PointOption point(int xOffset, int yOffset) {
        return new PointOption().withCoordinates(xOffset, yOffset);
    }

I’m using Appium C# client and not Java Client.
Thus, this solution does not work for me.
Is there any other way to solve the problem?

try examples -> https://github.com/appium/appium-dotnet-driver/blob/master/src/Appium.Net/Appium/MultiAction/TouchAction.cs