Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated README and .gitignore

  • Loading branch information...
commit 6faaa191ed1a7772da388846ffe1b9b6e46fb9e6 1 parent f684acc
@nacho4d authored
Showing with 16 additions and 8 deletions.
  1. +1 −0  .gitignore
  2. +15 −8 README.md
View
1  .gitignore
@@ -8,3 +8,4 @@
*.perspectivev3
*.xcuserstate
xcuserdata/
+build/
View
23 README.md
@@ -1,17 +1,24 @@
-### iPhoto '11 plugin example
+### iPhoto '11 Export PlugIn example
**Description**
-This plugin varely does something useful but it demonstrates how to create export plugins.
-This project is an update of [this old but super useful post](http://cuboidal.org/iphoto-export-plugin/) so it compiles with Xcode4 and runs with iPhoto '11 (yeahh!). It works with some small modifications.
+This project is based on [this old but super useful post](http://cuboidal.org/iphoto-export-plugin/) which was great but iPhoto plugin protocols have changed a bit, furthermore Xcode is now completely different… this version addresses those problems and runs with iPhoto '11 using the latest Xcode4 :)
-**Some notes**
+**One step before running it with Xcode**
-To run with iPhoto with Xcode:
+Besides having iPhoto in the usual location off-course, make sure you have enough permissions:
-1. Make sure you have iPhoto selected in the "Executable" menu in the "Info" pane of your scheme. By doing this Xcode will run iPhoto when you press Cmd+R
+ $ sudo chmod o+w /Applications/iPhoto.app/Contents/PlugIns/
-2. "Per-configuration build products path" should be by default something like `$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)`, change it to something suitable like `/Applications/iPhoto.app/Contents/PlugIns/` so the bundle is created directly inside Contents/PlugIngs/ of iPhoto.app and can be debugged.
+**Why do you need to do this?**
-3. One last step, make sure you have the rigth permissions so Xcode can write the product inside iPhoto (This is *obviously* not an optimal solution but it will do the job for now: `$ chmod 777 /Applications/iPhoto.app/Contents/PluginIns/`)
+Because two things have been changed in Xcode project for easier debug:
+- iPhoto.app is the executable of the debug configuration
+
+- "Per-configuration build products path" has been changed to `/Applications/iPhoto.app/Contents/PlugIns/` so the bundle is created directly inside Contents/PlugIngs/ of iPhoto.app. (default was `$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)` )
+
+**TODOs**
+
+Recent versions of iPhoto has at least three kinds of plugins: *ExportPlugin*, *accountconfigplugin* and *publisher*
+My goal is to create a *publisher* plugin for other services than Facebook or Flickr.
Please sign in to comment.
Something went wrong with that request. Please try again.