Error creating CFMessagePort…

“Error creating the CFMessagePort needed to communicate with PPT” keeps happening to me. I am trying to connect JSON to Swift, but the CFMessagePort isn’t being created. Any advice? Thank you.