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