Fixing Do you want the application 'iTunes.app' to accept incoming network connections?
Do you want the application 'iTunes.app' to accept incoming network connections? |
The fix is quite easy, all we need to do is find out why the firewall thinks that the app is damaged. To check, go to terminal and run:
$ codesign -vvv /Applications/iTunes.app
it will show something like this:
/Applications/iTunes.app: a sealed resource is missing or invalid
In architecture: i386
resource added: /Applications/iTunes.app/Contents/Resources/English.lproj/DevicePrefsMobileMe.nib/objects.xib
resource added: /Applications/iTunes.app/Contents/Resources/English.lproj/Localized.rsrc
resource added: /Applications/iTunes.app/Contents/Resources/English.lproj/SmartPlaylist.nib/objects.xib
resource added: /Applications/iTunes.app/Contents/Resources/iTunesASUHelper
resource added: /Applications/iTunes.app/Contents/Resources/iTunesHelper.app/Contents/_CodeSignature/CodeResources
resource added: /Applications/iTunes.app/Contents/Resources/iTunesHelper.app/Contents/Info.plist
resource added: /Applications/iTunes.app/Contents/Resources/iTunesHelper.app/Contents/MacOS/iTunesHelper
resource added: /Applications/iTunes.app/Contents/Resources/iTunesHelper.app/Contents/PkgInfo
resource added: /Applications/iTunes.app/Contents/Resources/iTunesHelper.app/Contents/Resources/iTunesHelper.icns
resource added: /Applications/iTunes.app/Contents/Resources/iTunesHelper.app/Contents/version.plist
In my case there were some extra files in the app's directory, so all I needed to do is to remove them:
$ sudo su
$ rm /Applications/iTunes.app/Contents/Resources/English.lproj/DevicePrefsMobileMe.nib/objects.xib
...
After this, firewall was happy with iTunes again:
$ codesign -vvv /Applications/iTunes.app
/Applications/iTunes.app: valid on disk
/Applications/iTunes.app: satisfies its Designated Requirement
How in the world does one know which are the "extra" files that need deleting?
ReplyDelete