Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

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

#343
 <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);
}

Reported by xdeng · October 16th, 2013 @ 02:53 AM

State: invalid
Milestone: 1.2.0 Release
Assigned to: Martin S. Martin S.

Activity

  1. Martin S.
    Martin S.
    • State changed from new to invalid
    • Tag set to libplist
    • Assigned user set to Martin S.
    • Milestone set to 1.2.0 Release

    Use a string, it'll work. This ticket is a duplicate of https://github.com/libimobiledevice/libplist/issues/28

    This ticket tracker is deprecated as we've moved to github.com/libimobiledevice.

    May 27th, 2014 @ 09:38 AM

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.