Permalink
Browse files

Add support for 32-bit for the poor apps out there that can't go 64-b…

…it yet
  • Loading branch information...
1 parent 50cf559 commit e26d54a39beb07b6c65b6a2d06df355beb819ef5 @jfro jfro committed Mar 30, 2012
Showing with 13 additions and 6 deletions.
  1. +3 −3 XPCKit.xcodeproj/project.pbxproj
  2. +2 −0 XPCKit/XPCConnection.h
  3. +4 −1 XPCKit/XPCService.h
  4. +1 −1 XPCKit/XPCService.m
  5. +3 −1 XPCKit/XPCUUID.h
View
6 XPCKit.xcodeproj/project.pbxproj
@@ -771,7 +771,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
- ARCHS = "$(ARCHS_STANDARD_64_BIT)";
+ ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
COPY_PHASE_STRIP = NO;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
@@ -788,7 +788,7 @@
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.7;
- ONLY_ACTIVE_ARCH = YES;
+ ONLY_ACTIVE_ARCH = NO;
SDKROOT = macosx;
};
name = Debug;
@@ -797,7 +797,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
- ARCHS = "$(ARCHS_STANDARD_64_BIT)";
+ ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
GCC_C_LANGUAGE_STANDARD = gnu99;
View
2 XPCKit/XPCConnection.h
@@ -24,6 +24,8 @@
@interface XPCConnection : NSObject{
xpc_connection_t _connection;
dispatch_queue_t _dispatchQueue;
+ XPCEventHandler _eventHandler;
+ XPCConnectionHandler _connectionHandler;
}
- (id)initWithMachName:(NSString *)name listener:(BOOL)listen;
View
5 XPCKit/XPCService.h
@@ -21,7 +21,10 @@
#import "XPCTypes.h"
#import "XPCConnection.h"
-@interface XPCService : NSObject
+@interface XPCService : NSObject {
+ NSArray *_connections;
+ XPCConnectionHandler _connectionHandler;
+}
@property (nonatomic, copy) XPCConnectionHandler connectionHandler;
@property (nonatomic, readonly) NSArray *connections;
View
2 XPCKit/XPCService.m
@@ -28,7 +28,7 @@ static void XPCServiceConnectionHandler(xpc_connection_t handler){
@implementation XPCService
-@synthesize connectionHandler, connections=_connections;
+@synthesize connectionHandler=_connectionHandler, connections=_connections;
-(id)initWithConnectionHandler:(XPCConnectionHandler)aConnectionHandler
{
View
4 XPCKit/XPCUUID.h
@@ -19,7 +19,9 @@
#import <Foundation/Foundation.h>
-@interface XPCUUID : NSObject
+@interface XPCUUID : NSObject {
+ CFUUIDRef _uuidRef;
+}
@property (nonatomic, readonly) CFUUIDRef uuidRef;
@property (nonatomic, readonly) NSString *string;

0 comments on commit e26d54a

Please sign in to comment.