簡體   English   中英

無法在物理設備或模擬器 Xcode 上運行我的應用程序

[英]Unable to run my app on physical device or simulator Xcode

我正在嘗試啟動我的應用程序,它在我運行時直接崩潰。 錯誤消息是這樣的:

2021-12-06 21:17:29.830742+0100 WeSo[8090:2720663] *** Terminating app due to uncaught exception 'FIRInvalidArgumentException', reason: 'Document path cannot be empty.'
*** First throw call stack:
(0x180f6104c 0x1995d5f54 0x1035c7504 0x1035c6a18 0x1035e6730 0x1035f3f38 0x100847528 0x100847264 0x1008b3b88 0x1892f1aa8 0x1008b3ab8 0x1008b3e98 0x188dcbf7c 0x188957680 0x188bd3990 0x1889660d8 0x1889acd28 0x1b28fc9a4 0x1b28fc3ac 0x1b28fd11c 0x1b28facd0 0x1889a33fc 0x1889499f0 0x1889acd28 0x1b28fc9a4 0x1b28fc3ac 0x1b28fd11c 0x1b28facd0 0x188bd6cd8 0x188a12448 0x188a2e0c4 0x1b28fc9a4 0x1b28fc3ac 0x1b28fab0c 0x1b28fad1c 0x188ba8e8c 0x188a26860 0x188a7b724 0x188a666c0 0x1836c74a0 0x1839c8400 0x1836c9c80 0x1836090b4 0x192a58e20 0x192a7ecdc 0x192a396b4 0x192a3acf4 0x10164e3b4 0x101651e70 0x192a3af94 0x192a3a3d4 0x192a3e9e4 0x180f83020 0x180f93ce0 0x180ece054 0x180ed37f4 0x180ee73b8 0x19c87738c 0x1838876a8 0x1836067f4 0x188b4a258 0x188a78534 0x188a59cb4 0x1008b3e14 0x1008b5d98 0x100da1a24)
libc++abi: terminating with uncaught exception of type NSException
dyld4 config: DYLD_LIBRARY_PATH=/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/usr/lib/libMainThreadChecker.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib
*** Terminating app due to uncaught exception 'FIRInvalidArgumentException', reason: 'Document path cannot be empty.'
terminating with uncaught exception of type NSException

我將 Firebase 與 Pod 一起使用,特別是 Firestore、Messages 和 Auth。 我嘗試了這個Unable to run my app on iOS 13 的解決方案。對於框架問題,但它不起作用,它無法安裝應用程序。

我還刪除了所有 Pod 文件並重新啟動項目,包括一個新的 Firebase。

我必須使用 Pods,因為我正在使用pod 'GeoFire', :git => 'https://github.com/firebase/geofire-objc.git'模塊,我不能使用它作為框架安裝。

有誰知道如何解決這個問題?

您可以嘗試降級到以前的版本或使用 Swift Package 管理器。

根據這個 git 鏈接它應該工作https://github.com/firebase/geofire-objc/issues/157

我建議您也向 pod 創建者提交錯誤報告。 提供盡可能多的信息,以便他們為下一個人解決問題。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM