Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: iOS - Network (?) problems following an iOS update #7631

Open
1 of 3 tasks
ddx001 opened this issue Aug 26, 2024 · 7 comments
Open
1 of 3 tasks

[Bug]: iOS - Network (?) problems following an iOS update #7631

ddx001 opened this issue Aug 26, 2024 · 7 comments
Labels

Comments

@ddx001
Copy link

ddx001 commented Aug 26, 2024

Capacitor Version

Latest Dependencies:

@capacitor/cli: 6.1.2
@capacitor/core: 6.1.2
@capacitor/android: 6.1.2
@capacitor/ios: 6.1.2

Installed Dependencies:

@capacitor/android: not installed
@capacitor/cli: 6.1.2
@capacitor/core: 6.1.2
@capacitor/ios: 6.1.2

Other API Details

npm --version
10.2.4

node --version
v20.11.1

pod --version
1.13.0

Platforms Affected

  • iOS
  • Android
  • Web

Current Behavior

This has been reported in multiple places and a bug was filed here but was closed as unreproducible.

Related bug report:
#7522

Other reports:
apache/cordova-ios#1440
https://forum.ionicframework.com/t/experiencing-errors-lately/241278
https://stackoverflow.com/questions/78765347/xcode-ios-app-will-not-load-necp-client-action-get-signed-client-id-80-aut
https://stackoverflow.com/questions/78735508/is-there-any-way-to-resolve-host-network-app-id-in-xcode
https://discussions.apple.com/thread/255647899?sortBy=best
https://www.reddit.com/r/OpenCoreLegacyPatcher/comments/1dz7f05/xcode_errors_with_opencore_mac_61_sonoma/

I have experienced the problem with Firebase on iOS so I created a project to reproduce it.

All calls to Firebase stopped working on iOS (I think this follows an update either to iOS on my device or to MacOS. Not sure which is the culprit).

Error messages:

nw_application_id_create_self NECP_CLIENT_ACTION_GET_SIGNED_CLIENT_ID [80: Authentication error]
Failed to resolve host network app id
Warning: -[BETextInput attributedMarkedText] is unimplemented
Invalidating grant <invalid NS/CF object> failed

Expected Behavior

Used to work, should still work.

Project Reproduction

https://github.com/ddx001/ios-problem

Additional Information

macOS version: 14.6.1 (23G93)
iOS version: 17.6.1

See the readme.md file from the reproduction project for setup.

@ddx001 ddx001 added the triage label Aug 26, 2024
@camtera
Copy link

camtera commented Aug 29, 2024

I'm encountering the same issue. The app worked fine two weeks ago and was approved in the App Store. However, when running the same app in Xcode 15.4 on a physical iPhone 13 device today , it displays a blank white page on the iPhone. The log (below) shows the same error reported by dx001. The app runs fine in the Xcode Simulator using 17.4 .

I'm using iOS Version 17.16.1 on an iPhone 13 Pro, which was originally released on August 7th and updated again on August 19th by Apple. For more details on the update.

2024-08-28_21-35-12

Update: I suspected this issue might be related to Firebase. So I removed the libraries and all references to capacitor-community/fcm and capacitor/push-notifications, but the error persists.

@camtera
Copy link

camtera commented Aug 29, 2024

I suspect this issue is related to WKWebView and iOS 17.6, especially since a person with the same problem isn't using Capacitor:
https://forums.developer.apple.com/forums/thread/762223

@dsk8311
Copy link

dsk8311 commented Sep 6, 2024

Same issue but we are not using firebase

@natmet
Copy link

natmet commented Sep 11, 2024

Same here with Capacitor and Firebase.

@drakedeatonuk
Copy link

drakedeatonuk commented Sep 19, 2024

Yes same issue on iOS 17.6 & i've seen it on iOS 18 too.

Can't confirm if it's firebase related.

Adding some logs from crashes in case they're relevant:

crash on iOS 17.6:

0x1160200c0 - [PID=13373] WebProcessProxy::didClose: (web process 0 crash)
0x1160200c0 - [PID=13373] WebProcessProxy::processDidTerminateOrFailedToLaunch: reason=Crash
Error acquiring assertion: <Error Domain=RBSAssertionErrorDomain Code=2 "Specified target process does not exist" UserInfo={NSLocalizedFailureReason=Specified target process does not exist}>
0x116068480 - ProcessAssertion::acquireSync Failed to acquire RBS assertion 'XPCConnectionTerminationWatchdog' for process with PID=13373, error: (null)
0x10a035418 - [pageProxyID=8, webPageID=9, PID=13373] WebPageProxy::processDidTerminate: (pid 13373), reason=Crash
0x10a035418 - [pageProxyID=8, webPageID=9, PID=13373] WebPageProxy::dispatchProcessDidTerminate: reason=Crash
0x118000a90 - GPUProcessProxy::gpuProcessExited: reason=IdleExit
0x116022340 - [PID=0] WebProcessProxy::gpuProcessExited: reason=IdleExit
Invalidating grant <invalid NS/CF object> failed
Invalidating grant <invalid NS/CF object> failed

crash on iOS 18:

0x1180200c0 - [PID=13446] WebProcessProxy::didClose: (web process 0 crash)
0x1180200c0 - [PID=13446] WebProcessProxy::processDidTerminateOrFailedToLaunch: reason=Crash
Invalidating grant <invalid NS/CF object> failed
0x10a845018 - [pageProxyID=8, webPageID=9, PID=13446] WebPageProxy::processDidTerminate: (pid 13446), reason=Crash
Error acquiring assertion: <Error Domain=RBSServiceErrorDomain Code=1 "((target is not running or doesn't have entitlement com.apple.developer.web-browser-engine.rendering AND target is not running or doesn't have entitlement com.apple.developer.web-browser-engine.networking AND target is not running or doesn't have entitlement com.apple.developer.web-browser-engine.webcontent))" UserInfo={NSLocalizedFailureReason=((target is not running or doesn't have entitlement com.apple.developer.web-browser-engine.rendering AND target is not running or doesn't have entitlement com.apple.developer.web-browser-engine.networking AND target is not running or doesn't have entitlement com.apple.developer.web-browser-engine.webcontent))}>
0x118070300 - ProcessAssertion::acquireSync Failed to acquire RBS assertion 'XPCConnectionTerminationWatchdog' for process with PID=13446, error: (null)
0x10a845018 - [pageProxyID=8, webPageID=9, PID=13446] WebPageProxy::dispatchProcessDidTerminate: reason=Crash
0x119003440 - GPUProcessProxy::gpuProcessExited: reason=IdleExit
0x118022340 - [PID=0] WebProcessProxy::gpuProcessExited: reason=IdleExit
Invalidating grant <invalid NS/CF object> failed
Invalidating grant <invalid NS/CF object> failed

@RKDeveloper12
Copy link

RKDeveloper12 commented Oct 2, 2024

Same issue, XCode 15.4. Using ionic capacitor vue firebase and also a Cordova purchase plugin suggested in ionic docs. Calls to firebase work, for example, I have a Component.vue where firebase services are used for anonymous authentication and they return a valid response. It's just that I have a blank white page (black on emulator)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

9 participants
@camtera @ddx001 @drakedeatonuk @natmet @dsk8311 @RKDeveloper12 and others