From 0a2050eba3680eb39db602e4938e1d66b2c5a550 Mon Sep 17 00:00:00 2001 From: Nick Farina Date: Wed, 1 Jul 2015 22:17:36 -0700 Subject: [PATCH] Pod fixes Update project for Xcode 7 --- SMXMLDocument.podspec | 2 +- XMLDocumentSamples/XMLDocumentSamples-Info.plist | 2 +- .../XMLDocumentSamples.xcodeproj/project.pbxproj | 15 ++++++++++++--- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/SMXMLDocument.podspec b/SMXMLDocument.podspec index 200da5d..43d91b5 100644 --- a/SMXMLDocument.podspec +++ b/SMXMLDocument.podspec @@ -11,7 +11,7 @@ Pod::Spec.new do |s| s.license = 'MIT License' s.author = { "Nick Farina" => "nfarina@gmail.com" } s.source = { :git => "https://github.com/nfarina/xmldocument.git", :tag => s.version.to_s } - s.platform = :ios + s.platform = :ios, '7.0' s.source_files = 'SMXMLDocument.{h,m}' s.requires_arc = true end diff --git a/XMLDocumentSamples/XMLDocumentSamples-Info.plist b/XMLDocumentSamples/XMLDocumentSamples-Info.plist index b616e2c..6957c17 100644 --- a/XMLDocumentSamples/XMLDocumentSamples-Info.plist +++ b/XMLDocumentSamples/XMLDocumentSamples-Info.plist @@ -11,7 +11,7 @@ CFBundleIconFile CFBundleIdentifier - com.yourcompany.${PRODUCT_NAME:rfc1034identifier} + $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 CFBundleName diff --git a/XMLDocumentSamples/XMLDocumentSamples.xcodeproj/project.pbxproj b/XMLDocumentSamples/XMLDocumentSamples.xcodeproj/project.pbxproj index c9de3df..e0a946b 100755 --- a/XMLDocumentSamples/XMLDocumentSamples.xcodeproj/project.pbxproj +++ b/XMLDocumentSamples/XMLDocumentSamples.xcodeproj/project.pbxproj @@ -127,7 +127,7 @@ 29B97313FDCFA39411CA2CEA /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 0510; + LastUpgradeCheck = 0700; }; buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "XMLDocumentSamples" */; compatibilityVersion = "Xcode 3.2"; @@ -185,7 +185,8 @@ GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = XMLDocumentSamples_Prefix.pch; INFOPLIST_FILE = "XMLDocumentSamples-Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 6.0; + IPHONEOS_DEPLOYMENT_TARGET = 7.0; + PRODUCT_BUNDLE_IDENTIFIER = "com.yourcompany.${PRODUCT_NAME:rfc1034identifier}"; PRODUCT_NAME = XMLDocumentSamples; }; name = Debug; @@ -199,7 +200,8 @@ GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = XMLDocumentSamples_Prefix.pch; INFOPLIST_FILE = "XMLDocumentSamples-Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 6.0; + IPHONEOS_DEPLOYMENT_TARGET = 7.0; + PRODUCT_BUNDLE_IDENTIFIER = "com.yourcompany.${PRODUCT_NAME:rfc1034identifier}"; PRODUCT_NAME = XMLDocumentSamples; VALIDATE_PRODUCT = YES; }; @@ -213,9 +215,13 @@ CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; GCC_C_LANGUAGE_STANDARD = c99; + GCC_NO_COMMON_BLOCKS = YES; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES; @@ -237,9 +243,12 @@ CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + ENABLE_STRICT_OBJC_MSGSEND = YES; GCC_C_LANGUAGE_STANDARD = c99; + GCC_NO_COMMON_BLOCKS = YES; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES;