1

i've created a local socket in my app, and i'm getting the following error when trying to send data to target process :

deny network-outbound

i've made some research and found out that in order to fix this problem on Xcode based application, i need to to set "Allow Outgoing Network Connections" checkbox in the Summary tab of the target editor.

however, i'm using Xcode 6.3.2 and i don't see such option (summery tab is also missing).

where can i get the equivalent of this checkbox?

shilovk
  • 11,718
  • 17
  • 75
  • 74
Zohar81
  • 4,554
  • 5
  • 29
  • 82

1 Answers1

1

This is Xcode 6.4, but it was the same in 6.3.2:

enter image description here

trojanfoe
  • 120,358
  • 21
  • 212
  • 242
  • thanks a lot, this is actually what i've needed. however, i also face with additional problem where the socket code is actually wrapped inside a dylib target that injected to existing application during runtime. if this application reject outgoing connection, do i have any way to bypass it in my library ? – Zohar81 Jul 26 '15 at 13:37
  • @Zohar Not to my knowledge. The `.dylib` will be under the same restrictions as the process that loaded it, otherwise it would be easy to circumvent the sandbox. However I cannot say I've ever tried it. – trojanfoe Jul 26 '15 at 16:57