system("") function

Hello! I'm trying to force re-spring a device, but I get this error for using a system("") function. Please help me! I need this re-spring to work! (Im using Objective-C in xcode)


Here's a screenshot: http://imgur.com/gallery/nWHQZ

Answered by DTS Engineer in 217333022

I’m not sure what “re-spring” means but:

  • Your image references “SpringBoard”, so presumably you’re working on iOS.

  • system
    is not supported on iOS, and neither is
    posix_spawn
    or any other traditional UNIX mechanism to launch child processes.
  • The iOS sandbox will prevent you from sending signals to other processes.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"
Accepted Answer

I’m not sure what “re-spring” means but:

  • Your image references “SpringBoard”, so presumably you’re working on iOS.

  • system
    is not supported on iOS, and neither is
    posix_spawn
    or any other traditional UNIX mechanism to launch child processes.
  • The iOS sandbox will prevent you from sending signals to other processes.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"
system("") function
 
 
Q