Home User CP Donate Chat Register Today!  
  Get New posts Faq / Help?
   


Go Back   Hackint0sh > Projects and Hacks > iPhone > Applications & Development > iPhone Developer Exchange

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-04-2009, 10:21 PM
nycdude777
Status: Offline
Junior Member
 
Join Date: Mar 2009
Posts: 10
Rep Power: 0
nycdude777 is on a distinguished road
Default Making a Cydia App Package

Hi all,

I have an app that I want to put on cydia. I followed saurik's official instructions at How to Host a Cydia™ Repository - Jay Freeman (saurik) as well as RupertGee's here http://redwolfberry.com/rupertgee/iB...-host-osx-001/

I have been able to create a package, move it into iPhone's tmp directory, ssh into iPhone and install the package, however I can't get the application ICON to show up, nor do I see the app in the Applications folder on the phone, yet when I go to cydia, I see the app as installed, since it gives me the option to Uninstall it.

WHAT AM I DOING WRONG???

My main question is if I am building the folder structure correctly. Saurik's instructions show as if there should be a FOLDER called MyProgram.app under Applications, which then contains 3 files: Info.plist, MyProgram (listed with no extension for some reason) and icon.png

The problem is that when you renam a folder on mac to MyProgram.app, it no longer recognizes it as a folder, and so I can't put all those files in there...

The problem with RupertGee's instructions is that its for a theme, not an app...

PLEASE HELP

You can write me at riccello@yahoo.com

THANKS A BILLION!!!

Rick
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 03-04-2009, 10:30 PM
volkspost
Status: Online
iPhone Moderator
 
Join Date: Aug 2007
Posts: 3,612
Rep Power: 215
volkspost is a name known to allvolkspost is a name known to allvolkspost is a name known to allvolkspost is a name known to allvolkspost is a name known to allvolkspost is a name known to all
Default

Quote:
Originally Posted by nycdude777 View Post
The problem is that when you renam a folder on mac to MyProgram.app, it no longer recognizes it as a folder, and so I can't put all those files in there...
As soon as you choose a suffix like .app or .bundle Mac's finder treats it as a package. After vreating the programmname.app ctrl-click on it and choose "Show package content" in the context menu, will open then. Drop the files in there then.

hope this helps
v.
__________________
Read the stickies and search the forum before posting!
If you want to become a Hackint0sh supporter click here
----------
iPhone 3GS factory unlocked (3.1.2; Blackra1n, Cydia, OpenSSH, custom 3.0 ipcc file (no sig), tethering hack by Dev team, 32 GB)
iPhone 3G (3.0.1; Redsn0w 0.8, Cydia, OpenSSH) 16 GB
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 03-04-2009, 10:30 PM
truehybridx
Status: Offline
Respected Member
 
Join Date: Nov 2007
Posts: 1,087
Rep Power: 57
truehybridx is on a distinguished road
Default

PM me with a link to your app.deb file and ill take a look k?

put all the stuff in the app folder then rename it with .app
__________________
Download LEI Mobile and stay in touch with Limited Edition iPhone!! http://limitededitioniphone.com/software/

iPhone 3GS - 3.1.2 T-Mobile
Computers:
iMac10,1
OSX SnowLeopard 10.6.2
Windows 7 Home (from my old Dell update DVD)

MacBook5,2
OSX SnowLeopard 10.6.2


iPad1,1 - 3.2
PreOrdered! Come on launch day
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #4 (permalink)  
Old 03-05-2009, 05:19 PM
nycdude777
Status: Offline
Junior Member
 
Join Date: Mar 2009
Posts: 10
Rep Power: 0
nycdude777 is on a distinguished road
Default

Nope, I tried putting the files in the folder then renaming it with .app extention and got the same result. The install ran but no app ICON showed up.. Cydia shows the package as installed with an option to remove it though...

Maybe the package is good and the only way to install it is by actually adding it to an online repository then adding the source to cydia???

Still confused
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 03-05-2009, 09:38 PM
nathulal
Status: Offline
Member
 
Join Date: Mar 2008
Posts: 78
Rep Power: 7
nathulal is on a distinguished road
Default

If you are using the command link to install it, you will need to refresh the cache file manually for the app to show up. Or you can install the guicache from cydia and then run it after installing your package and your app will show up on the spring board.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 03-05-2009, 10:20 PM
nycdude777
Status: Offline
Junior Member
 
Join Date: Mar 2009
Posts: 10
Rep Power: 0
nycdude777 is on a distinguished road
Default

Quote:
Originally Posted by nathulal View Post
If you are using the command link to install it, you will need to refresh the cache file manually for the app to show up. Or you can install the guicache from cydia and then run it after installing your package and your app will show up on the spring board.
And if this is true, then if I restart the iPhone, shouldn't the app show up? It does not.

Also, does it mean that installing the same package from Cydia repository would automatically refresh the cache?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #7 (permalink)  
Old 03-05-2009, 10:49 PM
nathulal
Status: Offline
Member
 
Join Date: Mar 2008
Posts: 78
Rep Power: 7
nathulal is on a distinguished road
Default

Quote:
Originally Posted by nycdude777 View Post
And if this is true, then if I restart the iPhone, shouldn't the app show up? It does not.

Also, does it mean that installing the same package from Cydia repository would automatically refresh the cache?
Rebooting will not make the app show up. Cydia refreshes the cache when you install an app. Just install guicache app from cydia and then install your package. Then run guicache app and your app will show up.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8 (permalink)  
Old 03-06-2009, 05:51 AM
nycdude777
Status: Offline
Junior Member
 
Join Date: Mar 2009
Posts: 10
Rep Power: 0
nycdude777 is on a distinguished road
Default

Quote:
Originally Posted by nathulal View Post
Rebooting will not make the app show up. Cydia refreshes the cache when you install an app. Just install guicache app from cydia and then install your package. Then run guicache app and your app will show up.
OMG I think it worked! Thanks bro! other issues now... will check back later
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9 (permalink)  
Old 03-06-2009, 06:36 AM
nathulal
Status: Offline
Member
 
Join Date: Mar 2008
Posts: 78
Rep Power: 7
nathulal is on a distinguished road
Default

Quote:
Originally Posted by nycdude777 View Post
OMG I think it worked! Thanks bro! other issues now... will check back later
Glad to help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #10 (permalink)  
Old 03-08-2009, 02:00 AM
nycdude777
Status: Offline
Junior Member
 
Join Date: Mar 2009
Posts: 10
Rep Power: 0
nycdude777 is on a distinguished road
Default

Okay, still doesn't work. I install the package and run the guicache app, I then see my app icon show up on springboard, but:

1. The icon looks weird, it doesn't have rounded edges like others, it just looks square, the way it is.
2. When I click the icon, the screen goes dark momentarily, as if the app is loading, then jumps back to springboard! Like the icon points to nothing...

What could I still be doing wrong?

The package folder should be named MyProgram.app and contain three files within it:

* MyProgram.app (btw saurik's instructions show this file w/o ext, I tried both)
* Info.plist
* Icon.png

So where am I supposed to copy these files from? I copied the .app from the project's Build/Release-iphoneos folder, but the .plist and .png files were not there, so I copied them from the Project's main filder. By the way the Info.plist file contained entries like $PRODUCT NAME which were not filled in with my app settings, so the springboard actually showed $PRODUCT... under the icon.

Any thoughts?

Thanks,
Rick

Last edited by nycdude777; 03-08-2009 at 02:02 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[2.0]Installer/Cydia, working 2.0 apps and repositories Dhalilahma Free Toolchain Software 137 10-11-2009 08:00 AM
Cydia package download location odotan Free Toolchain Software 9 02-18-2009 12:37 PM
is firmware a package in Cydia? YYZiPhoneGuy PwnageTool 3 09-07-2008 09:13 AM
[Language] Windows batch file to install package to iphone glen.tw Tools 233 07-12-2008 03:52 AM
Cydia and custom package support MrIron PwnageTool 1 04-17-2008 09:29 PM



All times are GMT +2. The time now is 11:34 AM.



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2 Ad Management by RedTyger
follow us on Twitter!

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406