Repo help please!

Discussion in 'iPod touch' started by ZombieKiller, Jan 3, 2008.

  1. ZombieKiller

    ZombieKiller Banned

    Joined:
    Oct 21, 2007
    Messages:
    3,740
    Likes Received:
    30
    Device:
    iPhone 3G (White)
    Ok, i followed shotgunfool's How to make a Repo guide and... i see to be having some trouble...

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList 1.0.dtd">
    <plist version="1.0"> Zombie_Killer
    <dict>
    <key>info</key>
    <dict>
    <key>category</key>
    <string>Zombie_Killer's</string>
    <key>contact</key>
    <string>David.Ulloa123@gmail.com</string>
    <key>description</key>
    <string>Random Themes</string>
    <key>maintainer</key>
    <string>Zombie_Killer</string>
    <key>name</key>
    <string>Zombie_Killer's</string>
    <key>url</key>
    <string>http://david.ulloa123.googlepages.com/home</string>
    </dict>
    <key>packages</key>
    <array>
    <dict>
    <key>author</key>
    <string>Zombie_Killer</string>
    <key>bundleIdentifier</key>
    <string>com.Zombie_Killer.REALIZE</string>
    <key>category</key>
    <string>Themes</key>
    <string>REALIZE Theme.</string>
    <key>location</key>
    <string>http://david.ulloa123.googlepages.com/REALIZE.zip</string>
    <key>name</key>
    <string>REALIZE</string>
    <key>size</key>
    <string>697493</string>
    <key>url</key>
    <string>http://david.ulloa123.googlepages.com/REALIZE.zip</string>
    <key>version</key>
    <string>1.0</string>
    <key>date</key>
    <string>1199246520</string>
    <key>scripts</key>
    <dict>
    <key>install</key>
    <array>
    <array>
    <string>CopyPath</string>
    <string>.</string>
    <string>/var/root/Library/SummerBoard/Themes</string>
    </array>
    </array>
    <key>uninstall</key>
    <array>
    <array>
    <string>RemovePath</string>
    <string>/var/root/Library/SummerBoard/Themes/REALIZE</string>
    </array>
    </array>
    </dict>
    </dict>
    </array>
    </dict>
    </plist>
    Any help would be appreciated!

    Heres the site its going with...

    http://david.ulloa123.googlepages.com/home

    The download thats going to be on the Repo is on the site, if you need it.
  2. Admz

    Admz New Member

    Joined:
    Dec 5, 2007
    Messages:
    13
    Likes Received:
    0
    yes, i would also like some help with the repo.
  3. Scythal

    Scythal New Member

    Joined:
    Nov 27, 2007
    Messages:
    413
    Likes Received:
    4
    Device:
    iPod touch
    To detect errors, simply rename your repository plist file to xml (I think it's already the case for you), then drag & drop the file into Firefox, it will tell you where the error is. It also works with other browsers.

    In this case, you have this:

    <string>Themes</key>

    (you have to close with </string> instead of </key>). Besides, there's a "Zombie_Killer" after the <plist> tag, you can't have that.

    Try to put some indentation in your file, that will help you.

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList 1.0.dtd">
    <plist version="1.0">
      <dict>
        <key>info</key>
        <dict>
          <key>category</key>
          <string>Zombie_Killer's</string>
          <key>contact</key>
          <string>David.Ulloa123@gmail.com</string>
          <key>description</key>
          <string>Random Themes</string>
          <key>maintainer</key>
          <string>Zombie_Killer</string>
          <key>name</key>
          <string>Zombie_Killer's</string>
          <key>url</key>
          <string>http://david.ulloa123.googlepages.com/home</string>
        </dict>
        <key>packages</key>
        <array>
          <dict>
            <key>author</key>
            <string>Zombie_Killer</string>
            <key>bundleIdentifier</key>
            <string>com.Zombie_Killer.REALIZE</string>
            <key>category</key>
            <string>Themes</string>
            <string>REALIZE Theme.</string>
            <key>location</key>
            <string>http://david.ulloa123.googlepages.com/REALIZE.zip</string>
            <key>name</key>
            <string>REALIZE</string>
            <key>size</key>
            <string>697493</string>
            <key>url</key>
            <string>http://david.ulloa123.googlepages.com/REALIZE.zip</string>
            <key>version</key>
            <string>1.0</string>
            <key>date</key>
            <string>1199246520</string>
            <key>scripts</key>
            <dict>
              <key>install</key>
              <array>
                <array>
                  <string>CopyPath</string>
                  <string>.</string>
                  <string>/var/root/Library/SummerBoard/Themes</string>
                </array>
              </array>
              <key>uninstall</key>
              <array>
                <array>
                  <string>RemovePath</string>
                  <string>/var/root/Library/SummerBoard/Themes/REALIZE</string>
                </array>
              </array>
            </dict>
          </dict>
        </array>
      </dict>
    </plist>
    I didn't test it, but there are apparently other funny things:
    • You have an url pointing to a zip file. This page might help you for the field and what they should contain: http://iphone.nullriver.com/beta/ (this is an old version!)
    • CopyPath is ".": is that on purpose? Shouldn't that be REALIZE? And the same with the destination path?
    • Your zip file has the wrong type, it's FAT (done under Windows). Read this thread, or you might go into more trouble: http://www.ifans.com/forums/showthread.php?t=20485

Share This Page