How can I add -fobjc-arc for a lot files one time

automatic-ref-counting, ios, xmpp

Solution

This isn't perfect, but is usually good enough:

- Select the project at the top left of the project window.

- Select the target.

- Open the build phases pane.

- Select "Compile Sources"

- Type in "xmpp" into the filter area

- Select the files you want.

- Hit Enter and then type -fobjc_arc in the dialog.

Problem

I want to add xmppframework to my project, how can I add -fobjc-arc to all xmpp files one time?

Original source