KimoW / mobileterminal

Automatically exported from code.google.com/p/mobileterminal
0 stars 0 forks source link

ForkException with applesdk branch on ios 4.0 #175

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. SDK 3.2.3, IOS 4.0 device (no jailbreak) 
2. Working profile Iphone Developer
3. mobileterminal appleSDk branch (rev 442)
4. Project set to iphone device 4.0 and target to os 4.0

What is the expected output? What do you see instead?
a terminal prompt ;-) 
ForkException stating "Not allowed to fork from inside Sandbox"

What version of the product are you using? On what operating system?
OSX 10.6.3 / SDK 3.2.3 / IOS4.0

Please provide any additional information below.

Original issue reported on code.google.com by dogh...@gmail.com on 4 Jul 2010 at 5:26

GoogleCodeExporter commented 8 years ago
This is not a bug.  You cannot run MobileTerminal from inside XCode on the 
device because of the Sandbox which disallows the fork() system call.  You must 
copy the binary to /Applications/ if you expect it to run on the device.  

See a discussion on the mobileterminal googlegroup archive for more 
information: 
http://groups.google.com/group/mobileterminal/browse_thread/thread/4616bd8b78a39
e26/29206ac7d8edfac6?lnk=gst&q=sandbox#29206ac7d8edfac6

Original comment by allen.po...@gmail.com on 4 Jul 2010 at 10:31

GoogleCodeExporter commented 8 years ago

Original comment by MYbict...@gmail.com on 4 Jun 2012 at 5:34

GoogleCodeExporter commented 8 years ago
So there is no way.. to implement the forkpty() to work on non-jailbroken ?? I 
need to implement a terminal interface, I dont even need to access any 
restricted data out of sandbox I just need a terminal interface for my binary 
to run.

Original comment by omaroj...@gmail.com on 2 Jul 2012 at 10:22

GoogleCodeExporter commented 8 years ago

Original comment by congg...@gmail.com on 2 Jul 2012 at 10:40

Attachments:

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
i have copy binay file from  
https://code.google.com/p/mobileterminal/downloads/list/Terminal-510.zip and 

copy it in my application

 /Users/XYZ/Library/Developer/Xcode/DerivedData/MobileTerminal-bycjhehoqwgtuudvmpblvwteyjzy/Build/Products

but problem is as it is please reply what to do now.....

Original comment by sandiptr...@gmail.com on 11 Apr 2013 at 7:01