diff --git a/GitX.xcodeproj/project.pbxproj b/GitX.xcodeproj/project.pbxproj index 132fb0d..b5e360e 100644 --- a/GitX.xcodeproj/project.pbxproj +++ b/GitX.xcodeproj/project.pbxproj @@ -1618,7 +1618,6 @@ LIBRARY_SEARCH_PATHS = ""; ONLY_ACTIVE_ARCH = YES; PRODUCT_NAME = GitX; - SDKROOT = ""; WRAPPER_EXTENSION = app; ZERO_LINK = YES; }; @@ -1646,7 +1645,6 @@ INSTALL_PATH = "$(HOME)/Applications"; LIBRARY_SEARCH_PATHS = ""; PRODUCT_NAME = GitX; - SDKROOT = ""; WRAPPER_EXTENSION = app; }; name = Release; @@ -1665,7 +1663,7 @@ INFOPLIST_PREPROCESS = YES; MACOSX_DEPLOYMENT_TARGET = 10.5; PREBINDING = NO; - SDKROOT = macosx10.5; + SDKROOT = macosx10.6; }; name = Debug; }; @@ -1682,7 +1680,7 @@ INFOPLIST_PREPROCESS = YES; MACOSX_DEPLOYMENT_TARGET = 10.5; PREBINDING = NO; - SDKROOT = macosx10.5; + SDKROOT = macosx10.6; }; name = Release; }; diff --git a/PBWebController.m b/PBWebController.m index c325d77..653a84a 100644 --- a/PBWebController.m +++ b/PBWebController.m @@ -37,9 +37,9 @@ [view setResourceLoadDelegate:self]; NSURL *resourceURL = [[[NSBundle mainBundle] resourceURL] URLByStandardizingPath]; - NSURL *baseURL = [[resourceURL URLByAppendingPathComponent:@"html/views" isDirectory:YES] URLByAppendingPathComponent:startFile isDirectory:YES]; + NSURL *baseURL = [[resourceURL URLByAppendingPathComponent:@"html/views"] URLByAppendingPathComponent:startFile]; - NSURL *fileURL = [baseURL URLByAppendingPathComponent:@"index.html" isDirectory:NO]; + NSURL *fileURL = [baseURL URLByAppendingPathComponent:@"index.html"]; [[view mainFrame] loadRequest:[NSURLRequest requestWithURL:fileURL]]; }