zakk4223 / CSVirtualCamera

CocoaSplit Virtual Camera plugin
Other
13 stars 0 forks source link

Undeclared identifiers in SDK? #2

Closed f0rr0 closed 3 years ago

f0rr0 commented 4 years ago

_transferSession and _pixelBufferPool throw undeclared identifier errors while compiling. I could be integrating the SDK wrongly though

f0rr0 commented 4 years ago

I was able to resolve this by declaring above variables in header file. But when i made a sample app, the connection between the mach service and app never gets established. MacOS console says 'Mach lookup denied'. I am guessing this has to do something with Sanboxing. Have you experienced anything like this before? @zakk4223

zakk4223 commented 4 years ago

I think if the app is sandboxed it needs an entitlement to lookup global mach names/XPC Services. Look into com.apple.security.temporary-exception.mach-lookup.global-name entitlement array.

I have no idea what the implications of using this entitlement are for App Store review if that's relevant to you

f0rr0 commented 4 years ago

Thanks for this I’ll look into it! Are you available on any online forums to perhaps have a conversation around this whole repo. I’d like to buy you a beer/coffee for explaining this stuff so concisely

Get Outlook for iOShttps://aka.ms/o0ukef


From: zakk4223 notifications@github.com Sent: Sunday, September 20, 2020 3:37:13 AM To: zakk4223/CSVirtualCamera CSVirtualCamera@noreply.github.com Cc: Sid sid_26@outlook.com; Author author@noreply.github.com Subject: Re: [zakk4223/CSVirtualCamera] Undeclared identifiers in SDK? (#2)

I think if the app is sandboxed it needs an entitlement to lookup global mach names/XPC Services. Look into com.apple.security.temporary-exception.mach-lookup.global-name entitlement array.

I have no idea what the implications of using this entitlement are for App Store review if that's relevant to you

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/zakk4223/CSVirtualCamera/issues/2#issuecomment-695360918, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACBNKC2EUDGZ4VSIWXVA5DLSGUTRDANCNFSM4RL5RRQQ.

Raj123456788 commented 4 years ago

@f0rr0: Can you please answer my question https://github.com/zakk4223/CSVirtualCamera/issues/3