Skip to content

Unable to load Google icon image url #194

@Vong3432

Description

@Vong3432

When I tried to run the app, it throws this error message GoogleSignInSwift/GoogleSignInButton.swift:134: Fatal error: Unable to load Google icon image url: unableToLoadGoogleIcon(name: "google").

Actually, I have already wrapped the GIDSignInButton() with UIViewRepresentable because I thought there was no "SwiftUI" way to implement the Google Sign-In button until I saw this documentation, but I'm not sure if this error occurs because I'm missing something, or if it's a url issue.

image

Environment:

  • Language: SwiftUI
  • Deployment info: iOS 15.0
  • Xcode: 13.4.1

SwiftUI:

GoogleSignInButton {
    //                 
}

Podfile:

# Uncomment the next line to define a global platform for your project
platform :ios, '15.0'

target 'Finebuck' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!

  # Pods for Finebuck
  pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '9.3.0'
  pod 'GoogleSignIn'
  pod 'GoogleSignInSwiftSupport'
  
  target 'FinebuckTests' do
    inherit! :search_paths
    # Pods for testing
  end

  target 'FinebuckUITests' do
    # Pods for testing
  end

end

Metadata

Metadata

Assignees

No one assigned

    Labels

    SwiftbugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions