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 > iPhone SDK Development - Advanced Discussion

Reply
 
LinkBack Thread Tools Display Modes
Old 03-27-2011, 01:21 PM   #1 (permalink)
Registered Member
 
Join Date: Mar 2011
Posts: 2
Fmstrat is on a distinguished road
Arrow IconCache/Placement on Respring

Hi all,

I'm having a problem with an App I'm developing for the Jailbroken community.

The following works:

1) Application is stored in /var/mobile/Applications/AAA-BBB-CCC/
2) Rename AAA-BBB-CCC to DDD-EEE-FFF
3) Remove /var/mobile/Library/Caches/com.apple.IconCache
4) Reboot

I can do this over and over with no problems. BUT, I'd like to get it to work on a Respring instead of reboot. Whenever I do this on a respring, I either get a white icon or a missing icon. And rebooting at any point after that sometimes doesn't even solve it.

If I remove /var/mobile/Library/SpringBoard/IconState.plist, I can get the icon to come back, but every icon is randomly placed, instead of organized as it was.

Any ideas? I've been unable to locate where the link between icon file and application is created.

Thanks,
B.
Fmstrat is offline   Reply With Quote
Old 03-27-2011, 02:07 PM   #2 (permalink)
Indie Developer
 
iSDK's Avatar
 
Join Date: Jul 2010
Posts: 1,346
iSDK is on a distinguished road
Send a message via AIM to iSDK
Default

It stored in the applications .plist file.

Quote:
Originally Posted by Fmstrat View Post
Hi all,
Any ideas? I've been unable to locate where the link between icon file and application is created.
iSDK is offline   Reply With Quote
Old 03-28-2011, 01:07 PM   #3 (permalink)
Registered Member
 
Join Date: Mar 2011
Posts: 2
Fmstrat is on a distinguished road
Default

Quote:
Originally Posted by iSDK View Post
It stored in the applications .plist file.
But how does the SpringBoard know that? If the SpringBoard spidered the applications folder when selecting icons to put in the Cache, then the icon would show up, so it's got to be pulling the application list/associated icons from somewhere else (Either in the Cache elsewhere, or from the Library folder perhaps).

Thanks,
B.
Fmstrat 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: 384
14 members and 370 guests
baja_yu, checkright, Duncan C, epaga, fvisticot, Meoz, mer10, Newbie123, Objective Zero, Punkjumper, reficul, rraagg, sacha1996, skrew88
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,642
Threads: 94,110
Posts: 402,857
Top Poster: BrianSlick (7,990)
Welcome to our newest member, pinacate
Powered by vBadvanced CMPS v3.1.0

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