Closed ZDFiosDeveloper closed 2 hours ago
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
Hi @ZDFiosDeveloper, thanks for reporting and apologies for the trouble. I closed #13598 because my understanding was that it was due to how the -FIRDebugEnabled
flag was being set (https://github.com/firebase/firebase-ios-sdk/issues/13598#issuecomment-2339431660).
Are you passing a debug flag and if so how? It should be set via the scheme's launch arguments rather than at runtime using the Process
API.
I passed the debug flag at the runtime using the process api, but even I didn’t pass the debug flag, still can’t find the iOS 18 devices in debug view
Thanks, @ZDFiosDeveloper, it seems that the Process
API is no longer a reliable way to set the flag in iOS 18.
Could you please try switching over to instead passing the flag as a launch argument and seeing if that makes a difference? See this example:
Additionally, I see you are using Carthage. Please ensure that GoogleUtilities.xcframework
is from the lastest 11.2 Carthage distribution rather than leftover from a previous version's install. The version is embedded in the Info.plist
at the root of one of the platform directories inside the XCFramework (GoogleUtilities.xcframework/ios-arm64/GoogleUtilities.framework/Info.plist
). It should be 8.0.2
.
@ncooke3 after change-FIRDebugEnabled
to the arguments, it works fine now, thanks.
Description
And I think the scenario is same with https://github.com/firebase/firebase-ios-sdk/issues/13598, but I don't know why that issue had been closed.
Reproducing the issue
No response
Firebase SDK Version
11.2.0
Xcode Version
15.4
Installation Method
Carthage
Firebase Product(s)
Analytics
Targeted Platforms
iOS
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved
Expand
Package.resolved
snippet```json Replace this line with the contents of your Package.resolved. ```
If using CocoaPods, the project's Podfile.lock
Expand
Podfile.lock
snippet```yml Replace this line with the contents of your Podfile.lock! ```