Repository Help

Discussion in 'Jailbreaks and iOS Hacks' started by helmsc, Apr 2, 2008.

  1. helmsc macrumors regular

    Joined:
    Jun 23, 2003
    Location:
    Newport, TN
    #1
    I am new to creating a respority, so if someone could help i really need it. I have created the xml and posted it on my site but when I add/refresh the sources on my iphone i don't see my files listed for download. Here are the contents of the xml...



    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE plist (View Source for full doctype...)>
    <plist version="1.0">
    <dict>
    <key>info</key>
    <dict>
    <key>category</key>
    <string>eBooks</key>
    <key>contact</contact>
    <string>ebooks4iphone@gmail.com</string>
    <key>description</key>
    <string>Just eBooks</string>
    <key>maintainer</key>
    <string>Chris Helms</string>
    <key>name</key>
    <string>eBooks Repo</string>
    <key>url</key>
    <string>http://96.4.78.130/ebooks/</string>
    </dict>
    <key>packages</key>
    <array>
    <dict>
    <key>bundleIdentifier</key>
    <string>com.ebooksrepo.decindep</string>
    <key>category</key>
    <string>eBooks</string>
    <key>contact</key>
    <string>ebooks4iphone@gmail.com</string>
    <key>date</key>
    <string>1195653600</string>
    <key>description</key>
    <string>The Declaration of Independence</string>
    <key>location</key>
    <string>http://96.4.78.130/ebooks/The_Declaration_of_Independence.zip</string>
    <key>maintainer</key>
    <string>Chris Helms</string>
    <key>name</key>
    <string>Declaration of Independence</string>
    <key>scripts</key>
    <dict>
    <key>install</key>
    <array>
    <array>
    <string>CopyPath</string>
    <string>The_Declaration_of_Indepence.zip</string>
    <string>/private/var/mobile/Media/EBooks/</string>
    </array>
    </array>
    <key>uninstall</key>
    <array>
    <array>
    <string>RemovePath</string>
    <string>/private/var/mobile/Media/EBooks/The_Declaration_of_Independence.zip</string>
    </array>
    </array>
    </dict>
    <key>size</key>
    <string>41093</string>
    <key>url</key>
    <string>http://96.4.78.130/ebooks/</string>
    <key>version</key>
    <string>1.0<string>
    <key>date</key>
    <string>1198396330</string>
    </dict>
    </array>
    </dict>
    </plist>
     
  2. helmsc thread starter macrumors regular

    Joined:
    Jun 23, 2003
    Location:
    Newport, TN
    #2
    I fixed the "opening" and "closing" tags, but still no go. I've got a "main script execution failed!" error at the moment.
     
  3. Four20 macrumors 6502a

    Four20

    Joined:
    Sep 22, 2007
    #3
    it shouldn't say this should it. . .

    "(View Source for full doctype...)"
     
  4. helmsc thread starter macrumors regular

    Joined:
    Jun 23, 2003
    Location:
    Newport, TN
    #4
    I got rid of that whole line and the one above it. My package now shows but I get the "main script execution failed!" error when I try to install. Oh...and first line now is <plist> (not <plist version="1.0">)
     
  5. helmsc thread starter macrumors regular

    Joined:
    Jun 23, 2003
    Location:
    Newport, TN
    #5
    added these two lines directly under the size tags, but still "main script execution error"

    <key>hash</key>
    <string>a6ed7912956f17d31a2ede335e1a85a9</string>
     

Share This Page