Appium Java client 8.3.0 not detecting @AndroidFindBy and @iOSXCUITFindBy

Can anybody help me to resolve mine?

1)I have initialised iOS driver with AppiumDriver.

XCUITestOptions ios =
new XCUITestOptions()
.setPlatformName(“iOS”)
.setDeviceName(“iPhone 14 Plus”)
.setOrientation(PORTRAIT)
.setBundleId((“xxx”))
.setAutomationName(“XCUITest”)
.setNoReset(true)
.setApp(app.getAbsolutePath());

driver = new AppiumDriver(url, ios);

  1. Base class which extends pageObject to initiate driver

public class baseClass extends PageObject {

public BaseClass(WebDriver driver) {
    PageFactory.initElements(new AppiumFieldDecorator(driver, Duration.ofSeconds(30)), this);
}.  **// I can't use AppiumDriver as parameter as PageObject din't have AppiumDriver. So it will throw error.** But still it's invoking AppiumDriver only even in my page class when i try to print the driver name
  1. Page class

public class page extends baseClass {

public page(WebDriver driver) {
    super(driver);   //** I can't use AppiumDriver as parameter as PageObject din't have AppiumDriver. So it will throw error.** But still it's invoking AppiumDriver only even in my page class when i try to print the driver name

}
@iOSXCUITFindBy(accessibility = "Account")
public WebElement account;

public void click_Btn() {
account.click();
}

4)POM
>

        <groupId>io.appium</groupId>
        <artifactId>java-client</artifactId>
        <version>8.5.1</version>
              </dependency>
    <dependency>
        <groupId>org.seleniumhq.selenium</groupId>
        <artifactId>selenium-java</artifactId>
        <version>4.5.3</version>
    </dependency>

Can anybody please correct my code?