PTUSBHub failed to initialize: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"

在写基于PeerTalk的Mac端时,启动出现如上报错时
解决办法:
找到.entitlements文件,将其中App Sandbox项置为NO

你可能感兴趣的:(PTUSBHub failed to initialize: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted")