From eb8e1666c3aefe5340d56a6f887b5408ac09c5d6 Mon Sep 17 00:00:00 2001 From: stephena Date: Fri, 25 Sep 2015 20:42:33 +0000 Subject: [PATCH] Updated OSX build files for Xcode 7, eliminating all warnings. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3216 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba --- src/macosx/AboutBox.m | 2 +- src/macosx/stella.xcodeproj/project.pbxproj | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/macosx/AboutBox.m b/src/macosx/AboutBox.m index 0243fc564..5ebcbfe56 100644 --- a/src/macosx/AboutBox.m +++ b/src/macosx/AboutBox.m @@ -89,7 +89,7 @@ static AboutBox *sharedInstance = nil; [creditsField replaceCharactersInRange:NSMakeRange( 0, 0 ) withRTF:[creditsString RTFFromRange: NSMakeRange( 0, [creditsString length] ) - documentAttributes:nil]]; + documentAttributes:@{NSDocumentTypeDocumentAttribute: NSRTFTextDocumentType}]]; // Prepare some scroll info creditsBounds = [creditsField bounds]; diff --git a/src/macosx/stella.xcodeproj/project.pbxproj b/src/macosx/stella.xcodeproj/project.pbxproj index cbdca0637..186c4e944 100644 --- a/src/macosx/stella.xcodeproj/project.pbxproj +++ b/src/macosx/stella.xcodeproj/project.pbxproj @@ -2051,7 +2051,7 @@ 29B97313FDCFA39411CA2CEA /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 0630; + LastUpgradeCheck = 0700; ORGANIZATIONNAME = net.sourceforge.stella; }; buildConfigurationList = 2D91752109BA903B0026E9FF /* Build configuration list for PBXProject "stella" */; @@ -2388,6 +2388,7 @@ LIBRARY_SEARCH_PATHS = "$(LIBRARY_SEARCH_PATHS)"; OTHER_CFLAGS = ""; OTHER_LDFLAGS = "-lz"; + PRODUCT_BUNDLE_IDENTIFIER = net.sourceforge.Stella; PRODUCT_NAME = Stella; SECTORDER_FLAGS = ""; WARNING_CFLAGS = ( @@ -2439,6 +2440,7 @@ LIBRARY_SEARCH_PATHS = "$(LIBRARY_SEARCH_PATHS)"; OTHER_CFLAGS = ""; OTHER_LDFLAGS = "-lz"; + PRODUCT_BUNDLE_IDENTIFIER = net.sourceforge.Stella; PRODUCT_NAME = Stella; SECTORDER_FLAGS = ""; WARNING_CFLAGS = ( @@ -2489,6 +2491,7 @@ LIBRARY_SEARCH_PATHS = .; OTHER_CFLAGS = ""; OTHER_LDFLAGS = "-lz"; + PRODUCT_BUNDLE_IDENTIFIER = net.sourceforge.Stella; PRODUCT_NAME = Stella; SECTORDER_FLAGS = ""; WARNING_CFLAGS = ( @@ -2513,6 +2516,7 @@ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; COPY_PHASE_STRIP = YES; DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_TESTABILITY = YES; FRAMEWORK_SEARCH_PATHS = ( ., "$(HOME)/Library/Frameworks", @@ -2531,6 +2535,7 @@ INSTALL_PATH = "@rpath"; LD_RUNPATH_SEARCH_PATHS = "@loader_path/../Frameworks"; MACOSX_DEPLOYMENT_TARGET = 10.7; + ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; VALID_ARCHS = x86_64; WARNING_CFLAGS = "-Wall";