Safari Extensions

Text Post

Developer Tip: Fixing Update Issues

If you’ve been having trouble getting your extension to update properly, the issue probably lies in your update manifest. The sample manifest from Apple’s official documentation has an error (actually, two in close proximity); where the documentation shows:

 <key>Team Identifier</key

       <string>YourCertifcateID</string>

It should actually be:

 <key>Developer Identifier</key>

       <string>YourCertificateID</string>

Where YourCertificateID is the 10 character string you see in parentheses in the area at the top of the Extension Builder representing your certificate. So if you see:

Safari Developer (A1B2C3D4E5) foo@bar.com

Your Developer Identifier is A1B2C3D4E5.

Daniel Bergey, the developer of Type-to-Navigate and Invisible Status Bar, also notes that your update manifest (the .plist file) must be served as “text/xml”. “plain/text”, or whatever the default MIME-type is, won’t do.

Finally, if you’re still having trouble, head over to Apple’s official Safari Extensions Developer forums; several members of the Safari team are there answering questions.

(Sincere thanks to Daniel Bergey and an anonymous Safari engineer for these tips.)


EDIT: Rufo Sanchez points out that GitHub serves the update manifest as “plain/text”, and it seems to be working okay. YMMV.

Posted on Friday, June 11, 2010. Tagged with: developerstips
53
Notes
  1. bien-se-loger reblogged this from safariextensions
  2. camp-er-awnings likes this
  3. pcdesktopwallpaper likes this
  4. anglewallpaper likes this
  5. hdwallpapershow likes this
  6. lovellalicznar likes this
  7. wallpaperbed likes this
  8. waitingroomfurniture likes this
  9. superpole likes this
  10. calculatoare-second-hand likes this
  11. rankseo1 likes this
  12. gleuch likes this
  13. google-fr likes this
  14. meklarian likes this
  15. goldenhours likes this
  16. wevah likes this
  17. raydive reblogged this from safariextensions
  18. albi likes this
  19. firesaw likes this
  20. silevitas likes this
  21. eagereyes likes this
  22. hetima likes this
  23. catharsis likes this
  24. gurpartap likes this
  25. quanganhdo likes this
  26. david likes this
  27. redcloud likes this
  28. safariextensions posted this
A more complete list of available Safari Extensions than Apple's gallery. If you like this blog, you may want to recommend it or follow it on Twitter.

Safari Extensions is maintained by Jonas Wisser and is not associated with Apple.
How to Enable ExtensionsFixing Update IssuesFixing Download IssuesHow This Blog WorksOn Requests
Submit An Extension Contact The Curator
Previous Next