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
51
Notes
  1. bien-se-loger reblogged this from safariextensions
  2. anunturi-gratuite-iii reblogged this from safariextensions
  3. produits-anti-rides reblogged this from safariextensions
  4. buysteroidsuk reblogged this from safariextensions
  5. camp-er-awnings liked this
  6. pcdesktopwallpaper liked this
  7. anglewallpaper liked this
  8. hdwallpapershow liked this
  9. lovellalicznar liked this
  10. wallpaperbed liked this
  11. waitingroomfurniture liked this
  12. superpole liked this
  13. calculatoare-second-hand liked this
  14. rankseo1 liked this
  15. gleuch liked this
  16. google-fr liked this
  17. seoparis liked this
  18. meklarian liked this
  19. goldenhours liked this
  20. wevah liked this
  21. raydive reblogged this from safariextensions
  22. albi liked this
  23. firesaw liked this
  24. silevitas liked this
  25. eagereyes liked this
  26. hetima liked this
  27. catharsis liked this
  28. gurpartap liked this
  29. quanganhdo liked this
  30. david liked this
  31. redcloud liked this
  32. 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