On 2 Dec 2008, at 22:53, Johnson <[EMAIL PROTECTED]> wrote:

Gerriet,

(This really belongs on the xcode-users mailing list rather than cocoa-
dev, I think.)
I do not think so. Viewing the documentation is an integral part of programming in Cocoa. And I never use Xcode to read documentation; always use AppKiDo.



Following instructions I found on the web, I created the file "~/
Library/Preferences/com.apple.DownloadAssessment.plist" with the
following contents:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" 
"http://www.apple.com/DTDs/PropertyList-1.0.dtd
">
<plist version="1.0">
<dict>
        <key>LSRiskCategoryNeutral</key>
        <dict>
                <key>LSRiskCategoryContentTypes</key>
                <array>
                        <string>public.item</string>
                </array>
        </dict>
</dict>
</plist>

Then I logged out and logged back in. This provides a permanent
solution to the dialog problem, not only for Xcode docs but in
general.
Just did this (only used "public.html" instead of "public.item"). Works perfectly.


If you want a more specific solution, try this:

sudo find /Developer/Documentation/DocSets -exec xattr -d
com.apple.quarantine {} \;

Unfortunately, it could take hours to complete, and you'll have to
repeat every time you download a docset update.

I am kind of reluctant to mess around in Apple-directories - being afraid that futur updates might no longer work. So I preferred the first solution with the DownloadAssessment.plist.


Also, please file a bug at <https://bugreport.apple.com/> to provide
an easy, documented way of turning off the warnings.

I just did: "Your tracking number for this issue is Bug ID# 6414000".

You can reference
<rdar://problem/6321484> "Are you sure you want to open it? Are you
sure you want to open it? Are you sure".
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to