Skip to content

Commit

Permalink
Enable sandboxing
Browse files Browse the repository at this point in the history
  • Loading branch information
kylef committed Feb 18, 2012
1 parent db12a15 commit 7eee768
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Classes/Controllers/GrowlController.m
Original file line number Diff line number Diff line change
Expand Up @@ -176,4 +176,8 @@ - (void)growlNotificationWasClicked:(id)context {
}
}

- (BOOL)hasNetworkClientEntitlement {
return YES;
}

@end
10 changes: 10 additions & 0 deletions Textual.entitlements
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?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>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.network.client</key>
<true/>
</dict>
</plist>
3 changes: 3 additions & 0 deletions Textual.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -682,6 +682,7 @@
4CFC7DB61231F40C00FFC3B7 /* NSNumberHelper.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NSNumberHelper.m; sourceTree = "<group>"; };
4CFF3BD511CC715A00FF2930 /* DDInvocationGrabber.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DDInvocationGrabber.m; sourceTree = "<group>"; };
4CFF3BD711CC715A00FF2930 /* DDExtensions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DDExtensions.m; sourceTree = "<group>"; };
774A728F14EF4C04008E9BA3 /* Textual.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = Textual.entitlements; sourceTree = "<group>"; };
77A33937146B3B300003ACD2 /* Growl.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Growl.framework; path = Frameworks/Growl.framework; sourceTree = "<group>"; };
780253C20C09525900C170D4 /* CoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreServices.framework; path = /System/Library/Frameworks/CoreServices.framework; sourceTree = "<absolute>"; };
780C67C711822AFF00CB739F /* ImageURLParser.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ImageURLParser.m; sourceTree = "<group>"; };
Expand Down Expand Up @@ -814,6 +815,7 @@
29B97314FDCFA39411CA2CEA /* LimeChat */ = {
isa = PBXGroup;
children = (
774A728F14EF4C04008E9BA3 /* Textual.entitlements */,
080E96DDFE201D6D7F000001 /* Classes */,
29B97317FDCFA39411CA2CEA /* Resources */,
29B97323FDCFA39411CA2CEA /* Frameworks */,
Expand Down Expand Up @@ -2334,6 +2336,7 @@
4CA945EC11E1AFBA00D36367 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_ENTITLEMENTS = Textual.entitlements;
CODE_SIGN_IDENTITY = "3rd Party Mac Developer Application";
COPY_PHASE_STRIP = YES;
FRAMEWORK_SEARCH_PATHS = (
Expand Down

0 comments on commit 7eee768

Please sign in to comment.