CapacitorGoogleAuth icon indicating copy to clipboard operation
CapacitorGoogleAuth copied to clipboard

CapacitorGoogleAuth 2.1.1 iOS [Plugin.swift] build issue

Open rymotion opened this issue 5 years ago • 0 comments

Edit: Updated build to the latest version still unable to build

Edit 6/25/2020: Updated build version to 2.1.1 the issue is still prominent in build

Not sure if this would be a duplicate of issue #49 but after updating my dependancies and attempting to build to emulator and device I have hit 6 issues with Plugin.swift

~/.../node_modules/@codetrix-studio/capacitor-google-auth/ios/Plugin/Plugin.swift:21:22: Value of type 'GIDSignIn' has no member 'presentingViewController' on line 21

~/.../node_modules/@codetrix-studio/capacitor-google-auth/ios/Plugin/Plugin.swift:39:34: Value of type 'GIDSignIn' has no member 'hasPreviousSignIn' on line 39

~/.../node_modules/@codetrix-studio/capacitor-google-auth/ios/Plugin/Plugin.swift:40:35: Value of type 'GIDSignIn' has no member 'restorePreviousSignIn' on line 40

Now this started happening after I ran npm install; npx cap sync

Attached are the issues from Plugin.swift image

image

Here is the package.json for the capacitor project:

"private": true,
  "dependencies": {
    "@angular/animations": "^9.1.11",
    "@angular/cdk": "^8.1.2",
    "@angular/common": "~9.1.11",
    "@angular/core": "~9.1.11",
    "@angular/flex-layout": "^10.0.0-beta.32",
    "@angular/forms": "^9.1.11",
    "@angular/material": "^8.1.2",
    "@angular/platform-browser": "~9.1.11",
    "@angular/platform-browser-dynamic": "~9.1.11",
    "@angular/router": "~9.1.11",
    "@capacitor/android": "^1.2.1",
    "@capacitor/cli": "^1.5.2",
    "@capacitor/core": "2.0.0-beta.1",
    "@capacitor/ios": "^1.2.1",
    "@codetrix-studio/capacitor-google-auth": "2.1.1",
    "@ionic-native/core": "^5.0.0",
    "@ionic-native/firebase": "^5.25.0",
    "@ionic-native/in-app-purchase": "^5.15.1",
    "@ionic/angular": "^4.11.3",
    "@ionic/storage": "^2.2.0",
    "@ngxs/store": "^3.5.1",
    "@rdlabo/capacitor-facebook-login": "^1.1.2",
    "@reative/angular": "^1.7.0",
    "@reative/cache": "^1.3.1",
    "@reative/core": "^4.0.2",
    "@reative/firebase": "^1.7.0",
    "@reative/records": "^1.3.1",
    "@reative/state": "^1.3.1",
    "@swimlane/ngx-charts": "^12.0.1",
    "@webcomponents/webcomponentsjs": "^2.2.10",
    "animate.css": "^3.7.2",
    "axios": "^0.19.0",
    "capacitor-fcm": "^0.1.0",
    "cordova-plugin-inapppurchase": "^1.2.0",
    "cordova-plugin-purchase": "git+https://github.com/j3k0/cordova-plugin-purchase.git",
    "core-js": "^2.5.4",
    "firebase": "^7.15.4",
    "font-awesome": "^4.7.0",
    "gsap": "^2.1.3",
    "hammerjs": "^2.0.8",
    "leader-line": "^1.0.5",
    "moment-range": "^4.0.2",
    "moment-timezone": "^0.5.26",
    "ng2-validation": "^4.2.0",
    "ngx-moment": "^3.4.0",
    "plain-draggable": "^2.5.12",
    "rxjs": "~6.5.5",
    "tslib": "^1.13.0",
    "zone.js": "~0.10.3"
  },
  "devDependencies": {
    "@angular-devkit/architect": "~0.801.2",
    "@angular-devkit/build-angular": "^0.803.25",
    "@angular-devkit/core": "~8.1.2",
    "@angular-devkit/schematics": "~8.1.2",
    "@angular/cli": "^9.1.6",
    "@angular/common": "^9.1.11",
    "@angular/compiler": "~9.1.11",
    "@angular/compiler-cli": "~9.1.11",
    "@angular/core": "^9.1.11",
    "@angular/language-service": "~9.1.11",
    "@ionic/angular": "^4.11.10",
    "@ionic/angular-toolkit": "~2.0.0",
    "@types/jasmine": "~3.3.8",
    "@types/jasminewd2": "~2.0.3",
    "@types/node": "~8.9.4",
    "codelyzer": "^5.0.0",
    "install-peers": "^1.0.3",
    "jasmine-core": "~3.4.0",
    "jasmine-spec-reporter": "~4.2.1",
    "karma": "^5.0.5",
    "karma-chrome-launcher": "~2.2.0",
    "karma-coverage-istanbul-reporter": "~2.0.1",
    "karma-jasmine": "~2.0.1",
    "karma-jasmine-html-reporter": "^1.4.0",
    "protractor": "^7.0.0",
    "ts-node": "~7.0.0",
    "tslint": "~5.15.0",
    "typescript": "~3.8.3"
  },
  "description": "An Ionic project",
  "prettier": {
    "printWidth": 140,
    "singleQuote": true,
    "jsxBracketSameLine": false,
    "disableLanguages": [
      "html"
    ]
  },

rymotion avatar Jun 24 '20 01:06 rymotion