LLBSDMessaging icon indicating copy to clipboard operation
LLBSDMessaging copied to clipboard

Not working in iOS 9.1 beta.

Open Shebuka opened this issue 10 years ago • 5 comments

All is working flawlessly in iOS 8, but in iOS 9 it simply not working... The Server app seems to start fine (no error log), but when I try to send a message with Client app on timer fire (each 5 seconds) I get an error in device console:

kernel[0] <Notice>: Sandbox: testApp(1033) deny(1) sysctl-read kern.proc.all

Sometimes I get a SIGPIPE exception with this call stack:

#0  0x393cbfbc in mach_msg_trap ()
#1  0x393cbdbc in mach_msg ()
#2  0x26ba74ac in __CFRunLoopServiceMachPort ()
#3  0x26ba5832 in __CFRunLoopRun ()
#4  0x26af8128 in CFRunLoopRunSpecific ()
#5  0x26af7f1c in CFRunLoopRunInMode ()
#6  0x2ff49af8 in GSEventRunModal ()
#7  0x2af809bc in UIApplicationMain ()
#8  0x000d83ec in main at /path/to/project/testApp/main.m:25

and when I click on "Continue program execution" one or two of following errors:

2015-09-17 13:49:24.948 [thread=8991 ] DEBUG    AppDelegate::checkinWithServerActive IPCClient sendMessage: The operation couldn’t be completed. Broken pipe
2015-09-17 13:49:24.954 [thread=23687] DEBUG    AppDelegate::checkinWithServerActive IPCClient sendMessage: The operation couldn’t be completed. Operation canceled
2015-09-17 13:55:45.129 [thread=15879] DEBUG    AppDelegate::checkinWithServerActive IPCClient sendMessage: The operation couldn’t be completed. (com.ddeville.llbsdmessaging error -102.)

Is this not supported anymore in iOS 9 or can you help solve this?

Shebuka avatar Sep 17 '15 12:09 Shebuka

Hi @Shebuka , I think that I've the same problem with iOS 9. Did you figure it out what is the problem here?

tiagoaap avatar Sep 24 '15 13:09 tiagoaap

@tiagoaap nope, after hours of debugging and in need of rapid solution I've moved to a UDP IPC.

Shebuka avatar Sep 24 '15 14:09 Shebuka

@Shebuka Hey there! Could you please give me some details on UDP IPC approach that you mantioned here? Did you use some library for this? Thanks in advance!

Alex-Ozun avatar Oct 12 '16 17:10 Alex-Ozun

@Alex-Ozun I'm using IPC only for signaling and for my needs i've found this really good written IPC over UDP library called MeshPipe. Please be aware of "some hard-wired limitations".

Shebuka avatar Oct 13 '16 07:10 Shebuka

@Shebuka Thanks, man! I was looking at this lib some time before. You convinced me to try it out.

Alex-Ozun avatar Oct 13 '16 09:10 Alex-Ozun