gpt4 book ai didi

Xcode project failed to archive: undefined symbol of firebase_app_csharp(Xcode项目存档失败:Firebase_app_cSharp的符号未定义)

转载 作者:bug小助手 更新时间:2023-10-24 17:54:59 53 4
gpt4 key购买 nike



I have a project developed by Unity which is using Firebase plug-in. I want to upload an ios build to Testflight on my ipad. While archiving it, it failed with Undefined symbol errors about Firebase_App_CSharp, just like this:

我有一个由Unity开发的项目,它使用的是Firebase插件。我想在我的iPad上将iOS版本上传到Testflix。存档时,失败,并显示有关Firebase_App_CSharp的未定义符号错误,如下所示:


Undefined symbol: _Firebase_App_CSharp_AppEnableLogCallback

未定义符号:_Firebase_App_CSharp_AppEnableLogCallback


There are total 109 errors which are all Firebase_App_Csharp errors. I tried to build and run directly from xcode and activate the developer mode on my ipad, but I still got these same errors.

总共有109个错误,都是Firebase_App_CSharp错误。我试图直接从Xcode构建和运行,并在我的iPad上激活开发人员模式,但我仍然收到了同样的错误。


The database functions worked well in Unity Editor. I'd really appreciate it if there could be any insights about this issue.

数据库功能在Unity Editor中运行良好。如果能对这个问题有任何见解,我将不胜感激。




Update

更新


After 10 hours of research, I figured out something but still couldn't make the build.

经过10个小时的研究,我想出了一些办法,但仍然无法完成构建。


Seems like bugs come from cocoapods which couldn't be downloaded. I followed the tutorials below to set up the environment for it:

似乎错误来自无法下载的CocoaPods。我按照下面的教程为它设置了环境:



I got pods downloaded and I can see them generated successfully. I got a .xcworkspace file but when I tried to build the project, it gave me the same errors just like before.

我下载了Pod,我可以看到它们成功生成。我得到了一个.xcworkspace文件,但当我尝试构建项目时,它给了我和以前一样的错误。


Then I went back to build from the .xcodeproj file, undefined symbol errors disappeared but I got 2 new errors which are:

然后我从.xcodeproj文件返回构建,未定义的符号错误消失了,但我得到了两个新的错误,它们是:


ld: framework not found FBLPromises
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Did I fail to download the pods? Or is there anything missing from the dev environment... This thing really confused and frustrated me. Any insights would be really appreciated.

我是不是下载豆荚失败了?或者是开发环境中缺少了什么……这件事真的让我困惑和沮丧。任何真知灼见都将不胜感激。




Something confuses me but not sure whether it is relevant:

有些事情让我困惑,但不确定它是否相关:


After downloading Xcode, Unity shows me the same error every time.

下载Xcode后,Unity每次都会显示相同的错误。


ScreenShot

屏幕截图


After I set up homebrew, updated ruby and activesupport. Unity still gave me the same error every time I opened the project. I can see Ruby is up to date from the terminal but Unity seems not get the update at all.

在我设置了自制软件、更新了ruby并激活了支持之后。每次我打开项目时,Unity都会给我同样的错误。我可以从终端上看到Ruby是最新的,但Unity似乎根本没有得到更新。




Here are the errors:

以下是错误:


Undefined symbol: _Firebase_App_CSharp_AppEnableLogCallback

Undefined symbol: _Firebase_App_CSharp_AppGetLogLevel

Undefined symbol: _Firebase_App_CSharp_AppOptionsInternal_ApiKey_get

Undefined symbol: _Firebase_App_CSharp_AppOptionsInternal_ApiKey_set

Undefined symbol: _Firebase_App_CSharp_AppOptionsInternal_AppId_get

Undefined symbol: _Firebase_App_CSharp_AppOptionsInternal_AppId_set

Undefined symbol: _Firebase_App_CSharp_AppOptionsInternal_GetDatabaseUrlInternal

Undefined symbol: _Firebase_App_CSharp_AppOptionsInternal_LoadFromJsonConfig__SWIG_0

Undefined symbol: _Firebase_App_CSharp_AppOptionsInternal_LoadFromJsonConfig__SWIG_1

Undefined symbol: _Firebase_App_CSharp_AppOptionsInternal_MessageSenderId_get

Undefined symbol: _Firebase_App_CSharp_AppOptionsInternal_MessageSenderId_set

Undefined symbol: _Firebase_App_CSharp_AppOptionsInternal_PackageName_get

Undefined symbol: _Firebase_App_CSharp_AppOptionsInternal_PackageName_set

Undefined symbol: _Firebase_App_CSharp_AppOptionsInternal_ProjectId_get

Undefined symbol: _Firebase_App_CSharp_AppOptionsInternal_ProjectId_set

Undefined symbol: _Firebase_App_CSharp_AppOptionsInternal_SetDatabaseUrlInternal

Undefined symbol: _Firebase_App_CSharp_AppOptionsInternal_StorageBucket_get

Undefined symbol: _Firebase_App_CSharp_AppOptionsInternal_StorageBucket_set

Undefined symbol: _Firebase_App_CSharp_AppOptionsLoadFromJsonConfig

Undefined symbol: _Firebase_App_CSharp_CharVector_Add

Undefined symbol: _Firebase_App_CSharp_CharVector_AddRange

Undefined symbol: _Firebase_App_CSharp_CharVector_Clear

Undefined symbol: _Firebase_App_CSharp_CharVector_Contains

Undefined symbol: _Firebase_App_CSharp_CharVector_GetRange

Undefined symbol: _Firebase_App_CSharp_CharVector_IndexOf

Undefined symbol: _Firebase_App_CSharp_CharVector_Insert

Undefined symbol: _Firebase_App_CSharp_CharVector_InsertRange

Undefined symbol: _Firebase_App_CSharp_CharVector_LastIndexOf

Undefined symbol: _Firebase_App_CSharp_CharVector_Remove

Undefined symbol: _Firebase_App_CSharp_CharVector_RemoveAt

Undefined symbol: _Firebase_App_CSharp_CharVector_RemoveRange

Undefined symbol: _Firebase_App_CSharp_CharVector_Repeat

Undefined symbol: _Firebase_App_CSharp_CharVector_Reverse__SWIG_0

Undefined symbol: _Firebase_App_CSharp_CharVector_Reverse__SWIG_1

Undefined symbol: _Firebase_App_CSharp_CharVector_SetRange

Undefined symbol: _Firebase_App_CSharp_CharVector_capacity

Undefined symbol: _Firebase_App_CSharp_CharVector_getitem

Undefined symbol: _Firebase_App_CSharp_CharVector_getitemcopy

Undefined symbol: _Firebase_App_CSharp_CharVector_reserve

Undefined symbol: _Firebase_App_CSharp_CharVector_setitem

Undefined symbol: _Firebase_App_CSharp_CharVector_size

Undefined symbol: _Firebase_App_CSharp_CheckAndroidDependencies

Undefined symbol: _Firebase_App_CSharp_ExportFix

Undefined symbol: _Firebase_App_CSharp_FirebaseApp_AppSetDefaultConfigPath

Undefined symbol: _Firebase_App_CSharp_FirebaseApp_CreateInternal__SWIG_0

Undefined symbol: _Firebase_App_CSharp_FirebaseApp_CreateInternal__SWIG_1

Undefined symbol: _Firebase_App_CSharp_FirebaseApp_CreateInternal__SWIG_2

Undefined symbol: _Firebase_App_CSharp_FirebaseApp_DefaultName_get

Undefined symbol: _Firebase_App_CSharp_FirebaseApp_GetApps

Undefined symbol: _Firebase_App_CSharp_FirebaseApp_GetLogLevelInternal

Undefined symbol: _Firebase_App_CSharp_FirebaseApp_IsDataCollectionDefaultEnabledInternal

Undefined symbol: _Firebase_App_CSharp_FirebaseApp_LogHeartbeatInternal

Undefined symbol: _Firebase_App_CSharp_FirebaseApp_NameInternal_get

Undefined symbol: _Firebase_App_CSharp_FirebaseApp_RegisterLibrariesInternal

Undefined symbol: _Firebase_App_CSharp_FirebaseApp_ReleaseReferenceInternal

Undefined symbol: _Firebase_App_CSharp_FirebaseApp_SetDataCollectionDefaultEnabledInternal

Undefined symbol: _Firebase_App_CSharp_FirebaseApp_SetLogLevelInternal

Undefined symbol: _Firebase_App_CSharp_FirebaseApp_options

Undefined symbol: _Firebase_App_CSharp_FixAndroidDependencies

Undefined symbol: _Firebase_App_CSharp_FutureBase_Release

Undefined symbol: _Firebase_App_CSharp_FutureBase_error

Undefined symbol: _Firebase_App_CSharp_FutureBase_error_message

Undefined symbol: _Firebase_App_CSharp_FutureBase_status

Undefined symbol: _Firebase_App_CSharp_FutureBool_GetResult

Undefined symbol: _Firebase_App_CSharp_FutureBool_SWIGUpcast

Undefined symbol: _Firebase_App_CSharp_FutureBool_SWIG_FreeCompletionData

Undefined symbol: _Firebase_App_CSharp_FutureBool_SWIG_OnCompletion

Undefined symbol: _Firebase_App_CSharp_FutureString_GetResult

Undefined symbol: _Firebase_App_CSharp_FutureString_SWIGUpcast

Undefined symbol: _Firebase_App_CSharp_FutureString_SWIG_FreeCompletionData

Undefined symbol: _Firebase_App_CSharp_FutureString_SWIG_OnCompletion

Undefined symbol: _Firebase_App_CSharp_FutureVoid_SWIGUpcast

Undefined symbol: _Firebase_App_CSharp_FutureVoid_SWIG_FreeCompletionData

Undefined symbol: _Firebase_App_CSharp_FutureVoid_SWIG_OnCompletion

Undefined symbol: _Firebase_App_CSharp_GetEnabledAppCallbackByName

Undefined symbol: _Firebase_App_CSharp_GetLogLevel

Undefined symbol: _Firebase_App_CSharp_InitializePlayServicesInternal

Undefined symbol: _Firebase_App_CSharp_PollCallbacks

Undefined symbol: _Firebase_App_CSharp_SetEnabledAllAppCallbacks

Undefined symbol: _Firebase_App_CSharp_SetEnabledAppCallbackByName

Undefined symbol: _Firebase_App_CSharp_SetLogFunction

Undefined symbol: _Firebase_App_CSharp_SetLogLevel

Undefined symbol: _Firebase_App_CSharp_StringList_Add

Undefined symbol: _Firebase_App_CSharp_StringList_AddRange

Undefined symbol: _Firebase_App_CSharp_StringList_Clear

Undefined symbol: _Firebase_App_CSharp_StringList_Contains

Undefined symbol: _Firebase_App_CSharp_StringList_GetRange

Undefined symbol: _Firebase_App_CSharp_StringList_IndexOf

Undefined symbol: _Firebase_App_CSharp_StringList_Insert

Undefined symbol: _Firebase_App_CSharp_StringList_InsertRange

Undefined symbol: _Firebase_App_CSharp_StringList_LastIndexOf

Undefined symbol: _Firebase_App_CSharp_StringList_Remove

Undefined symbol: _Firebase_App_CSharp_StringList_RemoveAt

Undefined symbol: _Firebase_App_CSharp_StringList_RemoveRange

Undefined symbol: _Firebase_App_CSharp_StringList_Repeat

Undefined symbol: _Firebase_App_CSharp_StringList_Reverse__SWIG_0

Undefined symbol: _Firebase_App_CSharp_StringList_Reverse__SWIG_1

Undefined symbol: _Firebase_App_CSharp_StringList_SetRange

Undefined symbol: _Firebase_App_CSharp_StringList_capacity

Undefined symbol: _Firebase_App_CSharp_StringList_getitem

Linker command failed with exit code 1 (use -v to see invocation)


更多回答
优秀答案推荐
更多回答

53 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com