Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 01-28-2012, 10:32 AM   #1 (permalink)
Registered Member
 
Join Date: Nov 2011
Posts: 25
theshay is on a distinguished road
Question Run Shell Script From Application

i have an a script named installipa.
i want to run it: "./installipa -i (documentdirectory)/ipa.ipa"
how i can?
theshay is offline   Reply With Quote
Old 01-28-2012, 11:29 AM   #2 (permalink)
Cocoa Junkie
 
Duncan C's Avatar
 
Join Date: Dec 2008
Location: Northern Virginia
Posts: 6,003
Duncan C has a spectacular aura about
Default

Quote:
Originally Posted by theshay View Post
i have an a script named installipa.
i want to run it: "./installipa -i (documentdirectory)/ipa.ipa"
how i can?
You can't.
__________________
Regards,

Duncan C
WareTo

Check out our apps in the Apple App store


Check out this password generator app that shows various techniques including using a data container singleton object to share data between objects in your project.

See this tutorial on using UIView animations and layer animations:

See this thread on generating random, non-repeating text

Check out a very cool Macintosh Kaleidoscopes app called ScopeWorks that we released to the Mac App store.
Duncan C is offline   Reply With Quote
Old 01-28-2012, 05:23 PM   #3 (permalink)
Registered Member
 
Join Date: Jan 2012
Posts: 2
treekid is on a distinguished road
Default

Quote:
Originally Posted by theshay View Post
i have an a script named installipa.
i want to run it: "./installipa -i (documentdirectory)/ipa.ipa"
how i can?
If you're jailbroken, you can do it using popen.

Code:
FILE *in;  
extern FILE *popen();  
char buff[500];  

in = popen("./installipa -i (documentdirectory)/ipa.ipa", "r");
while(fgets(buff, sizeof(buff), in)!=NULL){
\\buff contains output
}
treekid is offline   Reply With Quote
Old 01-29-2012, 06:56 AM   #4 (permalink)
Registered Member
 
Join Date: Nov 2011
Posts: 25
theshay is on a distinguished road
Default

Quote:
Originally Posted by Duncan C View Post
You can't.
installious program can.
theshay is offline   Reply With Quote
Old 01-29-2012, 04:10 PM   #5 (permalink)
Cocoa Junkie
 
Duncan C's Avatar
 
Join Date: Dec 2008
Location: Northern Virginia
Posts: 6,003
Duncan C has a spectacular aura about
Default

Quote:
Originally Posted by theshay View Post
installious program can.
No they can't. The iOs system installs apps.

Developers do not get to do system functions in iOS. Period.

Apple's code has admin privileges. Third party apps never do. Ever.
__________________
Regards,

Duncan C
WareTo

Check out our apps in the Apple App store


Check out this password generator app that shows various techniques including using a data container singleton object to share data between objects in your project.

See this tutorial on using UIView animations and layer animations:

See this thread on generating random, non-repeating text

Check out a very cool Macintosh Kaleidoscopes app called ScopeWorks that we released to the Mac App store.
Duncan C is offline   Reply With Quote
Old 01-30-2012, 07:14 AM   #6 (permalink)
Registered Member
 
Join Date: Nov 2011
Posts: 25
theshay is on a distinguished road
Default

Quote:
Originally Posted by Duncan C View Post
No they can't. The iOs system installs apps.

Developers do not get to do system functions in iOS. Period.

Apple's code has admin privileges. Third party apps never do. Ever.
But there are code? the hackulous.us team can do it.
are you now the code?
(if i have jailbroken device)
theshay is offline   Reply With Quote
Old 01-30-2012, 08:50 AM   #7 (permalink)
Cocoa Junkie
 
Duncan C's Avatar
 
Join Date: Dec 2008
Location: Northern Virginia
Posts: 6,003
Duncan C has a spectacular aura about
Default

Quote:
Originally Posted by theshay View Post
But there are code? the hackulous.us team can do it.
are you now the code?
(if i have jailbroken device)
I don't know. I know exactly zero about development for jailbroken devices. This site focuses on Apple's licensed developer tools. I suggest finding a site that caters to the jailbreaking community.
__________________
Regards,

Duncan C
WareTo

Check out our apps in the Apple App store


Check out this password generator app that shows various techniques including using a data container singleton object to share data between objects in your project.

See this tutorial on using UIView animations and layer animations:

See this thread on generating random, non-repeating text

Check out a very cool Macintosh Kaleidoscopes app called ScopeWorks that we released to the Mac App store.
Duncan C is offline   Reply With Quote
Old 01-30-2012, 10:02 AM   #8 (permalink)
Registered Member
 
Join Date: Nov 2011
Posts: 25
theshay is on a distinguished road
Default

Quote:
Originally Posted by Duncan C View Post
I don't know. I know exactly zero about development for jailbroken devices. This site focuses on Apple's licensed developer tools. I suggest finding a site that caters to the jailbreaking community.
Thanks.
theshay is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 402
11 members and 391 guests
Atatator, condor304, FrankWeller, imac74, MAMN84, mraalex, n00b, PowerGoofy, QuantumDoja, tim0504, VinceYuan
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,674
Threads: 94,123
Posts: 402,908
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Atatator
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 05:58 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0