Vidyo:钥匙串中没有找到供应商ID - 确保存在正确的权利文件

问题描述 投票:0回答:2
- (void)viewDidLoad {
    [super viewDidLoad];
    [VidyoClientConnector Initialize];

  c = [[Connector alloc] init:&_videoView ViewStyle:CONNECTORVIEWSTYLE_Default RemoteParticipants:2 LogFileFilter:"" LogFileName:"" UserData:0];//App Crash on this line.
}

我在我的应用程序上实现了视频聊天,所以我使用的是vidyo框架,但是当我们构建项目时,我们就崩溃了。如果有人对vidyo有任何解决方案,请帮助我。

这是vidyo.的网址

我有一些错误,如下所述: -

2017-04-17 11:06:39.196: ERROR: VidyoClient: [System thread]: /tmp/SDK.Release.TRINITY_4_1_11_4.build.hbUgjRdPKe/source/SDK/Lmi/VidyoClient/VidyoLicenseApple.m:124: -[VidyoLicenseKeychain initAccessGroup]: SecItemDelete returned error -25300 for VidyoLicenseDummyId from the keychain
2017-04-17 11:06:39.198: ERROR: VidyoClient: [System thread]: /tmp/SDK.Release.TRINITY_4_1_11_4.build.hbUgjRdPKe/source/SDK/Lmi/VidyoClient/VidyoLicenseApple.m:176: -[VidyoLicenseKeychain searchValue:]: SecItemCopyMatching failed with error -25300
2017-04-17 11:06:39.229: ERROR: VidyoClient: [System thread]: /tmp/SDK.Release.TRINITY_4_1_11_4.build.hbUgjRdPKe/source/SDK/Lmi/VidyoClient/VidyoLicenseApple.m:176: -[VidyoLicenseKeychain searchValue:]: SecItemCopyMatching failed with error -25300
2017-04-17 11:06:39.229: ERROR: VidyoClient: [System thread]: /tmp/SDK.Release.TRINITY_4_1_11_4.build.hbUgjRdPKe/source/SDK/Lmi/VidyoClient/VidyoLicenseApple.m:261: GetVendorID_: No vendor id found in the keychain - ensure a proper entitlements file is present
2017-04-17 11:06:39.229: ERROR: VidyoClient: [System thread]: /tmp/SDK.Release.TRINITY_4_1_11_4.build.hbUgjRdPKe/source/SDK/Lmi/VidyoClient/VidyoEndpoint.c:4754: VidyoEndpointImplConstructAfterSharedPtr: Failed to get endpoint id
Assertion failed: (newVal >= 0), function LmiSharedPtrRefCountDecUseCount, file /tmp/SDK.Release.TRINITY_4_1_11_4.build.hbUgjRdPKe/source/SDK/Lmi/VidyoClient/../../../SDK/Lmi/Os/LmiSharedPtrInline.h, line 51.
objective-c xamarin xamarin.ios
2个回答
4
投票

您是否为项目功能添加了钥匙串共享功能?结帐https://developer.apple.com/library/content/documentation/IDEs/Conceptual/AppDistributionGuide/AddingCapabilities/AddingCapabilities.html关于如何为iOS项目启用功能。启用钥匙串共享,您可以将应用限制为一组钥匙串访问组,就像VidyoConnector sample project一样。

添加钥匙串组 - “VidyoLicense”


0
投票

以下是设置Vidyo的一些重要事项。希望将来有人会发现它很有用。

  1. 添加钥匙串组 - “VidyoLicense”
  2. 确保您的构建配置包含权利(在调试模式下,它们未在Visual Studio Mac中设置为默认值。)
  3. 将框架设置为:AudioToolbox AVFoundation CoreLocation CoreMedia SystemConfiguration UIKit

对于Native引用属性中的libVidyoClient。

enter image description here enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.