#343 ✓invalid
xdeng

我遇到了数组里只有key的!

Reported by xdeng | October 16th, 2013 @ 02:53 AM | in 1.2.0 Release

 <key>74F85ED9-302B-4B81-9472-8DF47A2696BA</key>
    <dict>
        <key>name</key>
        <string>小邓BLOG</string>
        <key>com.apple.syncservices.RecordEntityName</key>
        <string>com.apple.bookmarks.Bookmark</string>
        <key>url</key>
        <string>http://xdeng.cn/</string>
        <key>parent</key>
        <array>
            <key>E9809F60-8D76-4D03-BAAF-3A3230EDF0AB</key>
        </array>
        <key>position</key>
        <integer>2</integer>
    </dict>

Create bookmarks node

libplist1.10 not export "plist_t plist_new_key(const char *val)" Cause I can't create the node in the array ...

This function in plist.c 104 line


//These nodes should not be handled by users
static plist_t plist_new_key(const char *val)
{
    plist_data_t data = plist_new_plist_data();
    data->type = PLIST_KEY;
    data->strval = strdup(val);
    data->length = strlen(val);
    return plist_new_node(data);
}

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

A project around supporting the iPhone in Linux.

See http://libimobiledevice.org

People watching this ticket

Tags

Pages