How catch erro on ios simulator blank page?

I recreating my ionic5 app on new macbook but I have issue to build my app.
When I start app on ios simulator, I receive blank page and no error shown into xcode console and samari developer tool print only a strance missing file:

[Error] Failed to load resource: The requested URL was not found on this server. 
(toSubscriber.js.map, line 0)

How can I debug my app and catch the error?

Thanks

What happens if you just run ā€œionic serveā€ ?

ionic serve works successfully

Delete the ios folder and add the platform again.
Are you using capacitor?

No. Iā€™m using cordova. I setup again my project start by git clone and it works. The problem is caused from google plus plugin.

I receive error on google sign in (401 client id not found). So I removed google plus plugin, reinstalled it using my reverse code id but then build fails.

Very strange.

cordova plugin remove cordova-plugin-googleplus -variable REVERSED_CLIENT_ID=com.googleusercontent.apps.yyyyy-xxxxx

cordova plugin add cordova-plugin-googleplus --save -variable REVERSED_CLIENT_ID=com.googleusercontent.apps.yyyyy-xxxx

During plugin installation I have this error on POB script

Failed to install 'cordova-plugin-googleplus': Error: pod: Command failed with exit code 1 Error output:
[!] Found multiple specifications for `GoogleSignIn (5.0.2)`:

pod install

Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "GoogleUtilities/Environment":
  In snapshot (Podfile.lock):
    GoogleUtilities/Environment (= 7.6.0, ~> 7.0, ~> 7.2)

  In Podfile:
    Firebase/Messaging (~> 7.4.0) was resolved to 7.4.0, which depends on
      FirebaseMessaging (~> 7.4.0) was resolved to 7.4.0, which depends on
        FirebaseCore (~> 7.0) was resolved to 7.4.0, which depends on
          FirebaseCoreDiagnostics (~> 7.4) was resolved to 7.11.0, which depends on
            GoogleDataTransport (~> 8.4) was resolved to 8.4.0, which depends on
              GoogleUtilities/Environment (~> 7.2)

    Firebase/Messaging (~> 7.4.0) was resolved to 7.4.0, which depends on
      FirebaseMessaging (~> 7.4.0) was resolved to 7.4.0, which depends on
        GoogleUtilities/Environment (~> 7.0)

    Firebase/Messaging (~> 7.4.0) was resolved to 7.4.0, which depends on
      FirebaseMessaging (~> 7.4.0) was resolved to 7.4.0, which depends on
        GoogleUtilities/UserDefaults (~> 7.0) was resolved to 7.6.0, which depends on
          GoogleUtilities/Logger (= 7.6.0) was resolved to 7.6.0, which depends on
            GoogleUtilities/Environment (= 7.6.0)

    GoogleUtilities (~> 7.2.2) was resolved to 7.2.2, which depends on
      GoogleUtilities/Environment (= 7.2.2)

If I add to pod fil ā€˜GoogleUtilities/Environmentā€™

	pod 'FBSDKCoreKit', '11.1.0'
	pod 'FBSDKLoginKit', '11.1.0'
	pod 'FBSDKShareKit', '11.1.0'
	pod 'Firebase/Messaging', '~> 7.4.0'
	pod 'GoogleSignIn', '~> 5.0.2'
	pod 'GoogleUtilities', '~> 7.2.2'
	pod 'GoogleUtilities/Environment', '~> 7.6.0'

it build but I receive blanck screen

@ciccilleju could you please help me?

Thanks

I suggest to migrate to capacitor, you will forget about all this kind of problems

Iā€™m worried on migration. Is it complex?

Not at all but my suggestion is saving a copy of your current project to a new folder and doing the migration there

Sei italiano? Se hai bisogno di aiuto fammi sapere

1 Like