Unity iOS构建链接器错误

时间:2017-08-16 06:56:00

标签: ios unity3d build linker-errors

我使用Unity来开发我的iOS游戏我遇到了以下错误。我试图搜索StackOverflow并用google搜索但是看不到任何帖子来解决我的问题。我正在使用谷歌广告,谷歌播放服务,Facebook整合。 我有我的pod文件

platform :ios, '7.0'

target 'Unity-iPhone' do

pod 'Google-Mobile-Ads-SDK'

pod 'GooglePlayGames'

pod 'Facebook-iOS-SDK'

end

target 'Unity-iPhone Tests' do

pod 'Google-Mobile-Ads-SDK'

pod 'GooglePlayGames'

pod 'Facebook-iOS-SDK'

end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['ENABLE_BITCODE'] = 'NO'
    end
  end
end

我在XCode中有以下链接器错误,不确定我缺少哪个框架

显示最近的消息

  

" _VideoManager_IsCaptureAvailableResponse_Dispose",引自:         _VideoManager_VideoManager_IsCaptureAvailableResponse_Dispose_m3414435646   在Bulk_Assembly-CSharp_2.o中        (也许你的意思是:_VideoManager_VideoManager_IsCaptureAvailableResponse_Dispose_m3414435646)   " _VideoManager_GetCaptureStateResponse_GetVideocapturestate&#34 ;,   引自:         Bulk_Assembly-CSharp_2.o中的_VideoManager_VideoManager_GetCaptureStateResponse_GetVideocapturestate_m3223155740        (也许你的意思是:_VideoManager_VideoManager_GetCaptureStateResponse_GetVideocapturestate_m3223155740)   " _VideoManager_GetCaptureStateResponse_GetStatus",引自:         _VideoManager_VideoManager_GetCaptureStateResponse_GetStatus_m780417724   在Bulk_Assembly-CSharp_2.o中        (也许你的意思是:_VideoManager_VideoManager_GetCaptureStateResponse_GetStatus_m780417724)   " _VideoManager_GetCaptureStateResponse_Dispose",引自:         Bulk_Assembly-CSharp_2.o中的_VideoManager_VideoManager_GetCaptureStateResponse_Dispose_m3090785104        (也许你的意思是:_VideoManager_VideoManager_GetCaptureStateResponse_Dispose_m3090785104)   " _VideoManager_GetCaptureCapabilitiesResponse_Dispose",引用   从:         _VideoManager_VideoManager_GetCaptureCapabilitiesResponse_Dispose_m3101756481   在Bulk_Assembly-CSharp_2.o中        (也许你的意思是:_VideoManager_VideoManager_GetCaptureCapabilitiesResponse_Dispose_m3101756481)   " _VideoManager_RegisterCaptureOverlayStateChangedListener",引用   从:         _VideoManager_VideoManager_RegisterCaptureOverlayStateChangedListener_m944800198   在Bulk_Assembly-CSharp_2.o中        (也许你的意思是:_VideoManager_RegisterCaptureOverlayStateChangedListener_m3446186028,_ VideoManager_VideoManager_RegisterCaptureOverlayStateChangedListener_m944800198   )" _VideoManager_IsCaptureSupported",引自:         Bulk_Assembly-CSharp_2.o中的_VideoManager_VideoManager_IsCaptureSupported_m392793648        (也许你的意思是:_VideoManager_IsCaptureSupported_m1920993052,_ VideoManager_VideoManager_IsCaptureSupported_m392793648)" _VideoManager_IsCaptureAvailable",引自:         Bulk_Assembly-CSharp_2.o中的_VideoManager_VideoManager_IsCaptureAvailable_m924375812        (也许你的意思是:_VideoManager_IsCaptureAvailable_m1846214581_MetadataUsageId,_ VideoManager_VideoManager_IsCaptureAvailableResponse_Dispose_m3414435646   ,   _VideoManager_VideoManager_IsCaptureAvailableResponse_GetStatus_m675688352   ,_ VideoManager_VideoManager_IsCaptureAvailable_m924375812,   _VideoManager_IsCaptureAvailable_m1846214581,_ VideoManager_VideoManager_IsCaptureAvailableResponse_GetIscaptureavailable_m1300145164   )" _VideoManager_UnregisterCaptureOverlayStateChangedListener",   引自:         _VideoManager_VideoManager_UnregisterCaptureOverlayStateChangedListener_m798576001   在Bulk_Assembly-CSharp_2.o中        (也许你的意思是:_VideoManager_UnregisterCaptureOverlayStateChangedListener_m1920474941,   _VideoManager_VideoManager_UnregisterCaptureOverlayStateChangedListener_m798576001   )" _VideoCaptureState_CaptureMode",引自:         Bulk_Assembly-CSharp_2.o中的_VideoCaptureState_VideoCaptureState_CaptureMode_m331686759        (也许你的意思是:_VideoCaptureState_VideoCaptureState_CaptureMode_m331686759)" _VideoManager_GetCaptureState",引自:         Bulk_Assembly-CSharp_2.o中的_VideoManager_VideoManager_GetCaptureState_m3579154397        (也许你的意思是:_VideoManager_VideoManager_GetCaptureStateResponse_GetVideocapturestate_m3223155740,   _VideoManager_VideoManager_GetCaptureStateResponse_GetStatus_m780417724   ,_ VideoManager_VideoManager_GetCaptureState_m3579154397,   _VideoManager_VideoManager_GetCaptureStateResponse_Dispose_m3090785104,_ VideoManager_GetCaptureState_m1761254752_MetadataUsageId,   _VideoManager_GetCaptureState_m1761254752)" _VideoManager_ShowCaptureOverlay",引自:         Bulk_Assembly-CSharp_2.o中的_VideoManager_VideoManager_ShowCaptureOverlay_m2996364919        (也许你的意思是:_VideoManager_ShowCaptureOverlay_m2288358931,_ VideoManager_VideoManager_ShowCaptureOverlay_m2996364919)" _VideoCaptureState_Valid",引自:         Bulk_Assembly-CSharp_2.o中的_VideoCaptureState_VideoCaptureState_Valid_m2629445250        (也许你的意思是:_VideoCaptureState_VideoCaptureState_Valid_m2629445250)" _VideoCapabilities_IsMicSupported",引自:         Bulk_Assembly-CSharp_2.o中的_VideoCapabilities_VideoCapabilities_IsMicSupported_m1112922381        (也许你的意思是:_VideoCapabilities_VideoCapabilities_IsMicSupported_m1112922381)" _VideoCaptureState_IsPaused",引自:         Bulk_Assembly-CSharp_2.o中的_VideoCaptureState_VideoCaptureState_IsPaused_m3440800726        (也许你的意思是:_VideoCaptureState_VideoCaptureState_IsPaused_m3440800726)" _VideoManager_IsCaptureAvailableResponse_GetIscaptureavailable",   引自:         _VideoManager_VideoManager_IsCaptureAvailableResponse_GetIscaptureavailable_m1300145164   在Bulk_Assembly-CSharp_2.o中        (也许你的意思是:_VideoManager_VideoManager_IsCaptureAvailableResponse_GetIscaptureavailable_m1300145164)   " _VideoManager_GetCaptureCapabilities",引自:         Bulk_Assembly-CSharp_2.o中的_VideoManager_VideoManager_GetCaptureCapabilities_m552067333        (也许你的意思是:_VideoManager_VideoManager_GetCaptureCapabilitiesResponse_GetVideocapabilities_m4093813970,   _VideoManager_VideoManager_GetCaptureCapabilitiesResponse_GetStatus_m1769470309   ,   _VideoManager_VideoManager_GetCaptureCapabilitiesResponse_Dispose_m3101756481   ,_ VideoManager_GetCaptureCapabilities_m1740537508_MetadataUsageId,   _VideoManager_VideoManager_GetCaptureCapabilities_m552067333,_ VideoManager_GetCaptureCapabilities_m1740537508)" _VideoCaptureState_IsOverlayVisible",引自:         Bulk_Assembly-CSharp_2.o中的_VideoCaptureState_VideoCaptureState_IsOverlayVisible_m1896624058        (也许你的意思是:_VideoCaptureState_VideoCaptureState_IsOverlayVisible_m1896624058)" _VideoCaptureState_IsCapturing",引自:         Bulk_Assembly-CSharp_2.o中的_VideoCaptureState_VideoCaptureState_IsCapturing_m510887465        (也许你的意思是:_VideoCaptureState_VideoCaptureState_IsCapturing_m510887465)" _VideoCapabilities_IsCameraSupported",引自:         Bulk_Assembly-CSharp_2.o中的_VideoCapabilities_VideoCapabilities_IsCameraSupported_m1491641367        (也许你的意思是:_VideoCapabilities_VideoCapabilities_IsCameraSupported_m1491641367)" _GameServices_Builder_SetShowConnectingPopup",引自:         Bulk_Assembly-CSharp_1.o中的_Builder_GameServices_Builder_SetShowConnectingPopup_m2755817575        (也许你的意思是:_Builder_GameServices_Builder_SetShowConnectingPopup_m2755817575)" _VideoManager_IsCaptureAvailableResponse_GetStatus",引自:         _VideoManager_VideoManager_IsCaptureAvailableResponse_GetStatus_m675688352   在Bulk_Assembly-CSharp_2.o中        (也许你的意思是:_VideoManager_VideoManager_IsCaptureAvailableResponse_GetStatus_m675688352)   " _VideoCapabilities_Valid",引自:         Bulk_Assembly-CSharp_2.o中的_VideoCapabilities_VideoCapabilities_Valid_m3674486668        (也许你的意思是:_VideoCapabilities_VideoCapabilities_Valid_m3674486668)" _VideoCapabilities_Dispose",引自:         Bulk_Assembly-CSharp_2.o中的_VideoCapabilities_VideoCapabilities_Dispose_m3423006733        (也许你的意思是:_VideoCapabilities_VideoCapabilities_Dispose_m3423006733)" _VideoCapabilities_SupportsQualityLevel",引自:         Bulk_Assembly-CSharp_2.o中的_VideoCapabilities_VideoCapabilities_SupportsQualityLevel_m4105731366        (也许你的意思是:_VideoCapabilities_VideoCapabilities_SupportsQualityLevel_m4105731366,_ VideoCapabilities_SupportsQualityLevel_m1988298174,_ VideoCapabilities_SupportsQualityLevel_m1988298174_MetadataUsageId)" _VideoCapabilities_IsWriteStorageSupported",引自:         _VideoCapabilities_VideoCapabilities_IsWriteStorageSupported_m1435984560   在Bulk_Assembly-CSharp_2.o中        (也许你的意思是:_VideoCapabilities_VideoCapabilities_IsWriteStorageSupported_m1435984560)   " _VideoCaptureState_Dispose",引自:         Bulk_Assembly-CSharp_2.o中的_VideoCaptureState_VideoCaptureState_Dispose_m158234657        (也许你的意思是:_VideoCaptureState_VideoCaptureState_Dispose_m158234657)" _VideoCaptureState_QualityLevel",引自:         Bulk_Assembly-CSharp_2.o中的_VideoCaptureState_VideoCaptureState_QualityLevel_m1216797939        (也许你的意思是:_VideoCaptureState_VideoCaptureState_QualityLevel_m1216797939)" _VideoCapabilities_SupportsCaptureMode",引自:         Bulk_Assembly-CSharp_2.o中的_VideoCapabilities_VideoCapabilities_SupportsCaptureMode_m1774432526        (也许你的意思是:_VideoCapabilities_SupportsCaptureMode_m625125118_MetadataUsageId,_ VideoCapabilities_SupportsCaptureMode_m625125118,_ VideoCapabilities_VideoCapabilities_SupportsCaptureMode_m1774432526)" _VideoManager_GetCaptureCapabilitiesResponse_GetVideocapabilities",   引自:         _VideoManager_VideoManager_GetCaptureCapabilitiesResponse_GetVideocapabilities_m4093813970   在Bulk_Assembly-CSharp_2.o中        (也许你的意思是:_VideoManager_VideoManager_GetCaptureCapabilitiesResponse_GetVideocapabilities_m4093813970)   " _VideoManager_GetCaptureCapabilitiesResponse_GetStatus",引用   从:         _VideoManager_VideoManager_GetCaptureCapabilitiesResponse_GetStatus_m1769470309   在Bulk_Assembly-CSharp_2.o中        (也许你的意思是:_VideoManager_VideoManager_GetCaptureCapabilitiesResponse_GetStatus_m1769470309)   " _CaptureOverlayStateListenerHelper_Dispose",引自:         _CaptureOverlayStateListenerHelper_CaptureOverlayStateListenerHelper_Dispose_m967314825   在Bulk_Assembly-CSharp_1.o中        (也许你的意思是:_CaptureOverlayStateListenerHelper_CaptureOverlayStateListenerHelper_Dispose_m967314825)   " _CaptureOverlayStateListenerHelper_SetOnCaptureOverlayStateChangedCallback&#34 ;,   引自:         _CaptureOverlayStateListenerHelper_CaptureOverlayStateListenerHelper_SetOnCaptureOverlayStateChangedCallback_m1064033775   在Bulk_Assembly-CSharp_1.o中        (也许你的意思是:_CaptureOverlayStateListenerHelper_CaptureOverlayStateListenerHelper_SetOnCaptureOverlayStateChangedCallback_m1064033775,   _CaptureOverlayStateListenerHelper_SetOnCaptureOverlayStateChangedCallback_m2915082994   ,   _CaptureOverlayStateListenerHelper_SetOnCaptureOverlayStateChangedCallback_m2915082994_MetadataUsageId   )" _CaptureOverlayStateListenerHelper_Construct",引自:         _CaptureOverlayStateListenerHelper_CaptureOverlayStateListenerHelper_Construct_m2359152431   在Bulk_Assembly-CSharp_1.o中        (也许你的意思是:_CaptureOverlayStateListenerHelper_CaptureOverlayStateListenerHelper_Construct_m2359152431)   ld:找不到架构arm64 clang的符号:错误:链接器   命令失败,退出代码为1(使用-v查看调用)

1 个答案:

答案 0 :(得分:0)

我解决了我的问题,这就是我做的事情

我从我的Unity项目中删除了GooglePlayGames文件夹,并将google play服务包降级为GooglePlayGamesPlugin-0.9.36.unitypackage。 之后,它成功构建,没有错误。