1
我有讓旌宇閱讀我appcast這是在我的網站的根一個問題:旌宇appcast不工作
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>myApp</title>
<link>http://www.myWebSite.net/appcast.xml</link>
<description>
Generate docs.
</description>
<language>en</language>
<item>
<title>Version 6.2 (1 new feature)</title>
<sparkle:releaseNotesLink>http://myWebSite.net/myApp.shtml</sparkle:releaseNotesLink>
<pubDate>Sun, 28 Jun 2015 19:20:11 +0000</pubDate>
<enclosure url="http://yWebSite.net/downloads/myApp.zip" sparkle:version=「6.2」 length=「1500000」 type="application/octet-stream" />
<sparkle:minimumSystemVersion>10.10</sparkle:minimumSystemVersion>
</item>
</channel>
</rss>
在我的應用我添加了一個用戶偏好:
[prefs setObject:@"http://www.myWebSite.net/appcast.xml" forKey:@"SUFeedURL"];
[prefs synchronize];
當我選擇我的「檢查更新」菜單項耀報告它似乎並不像飼料和原木:
Sparkle: Error: An error occurred in retrieving update information. Please try again later. An error occurred while parsing the update feed.
我已經看到了這個post但它的解決方案似乎沒有幫助(雖然Sparkle確實在我使用示例應用程序時工作正常)。據推測我的appcast是錯誤的。我希望得到一些幫助來糾正它。
看到同樣的問題,你是否能夠可靠地工作? – Lizza
不是。我放棄了,寫了我自己的更新服務器。對不起,沒有太多答案! – Todd
我發現我沒有正確轉義xml文件中描述鍵中的文本。我不知道解決方案是什麼,但從那裏拿出所有文本(特別是帶撇號的文字)解決了我的問題。嘆。 – Lizza