diff --git a/Podfile b/Podfile index c868ee6..16846b0 100644 --- a/Podfile +++ b/Podfile @@ -1,7 +1,7 @@ -# Podfile - -link_with 'Tests' - use_frameworks! -pod 'Quick', '~> 0.9.2' -pod 'Nimble', '~> 4.0.0' +platform :ios, '9.0' + +target 'Tests' do + pod 'Quick', '~> 0.10.0' + pod 'Nimble', '~> 5.0.0' +end diff --git a/Podfile.lock b/Podfile.lock index 8194779..f4557ac 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -1,13 +1,15 @@ PODS: - - Nimble (4.0.1) - - Quick (0.9.2) + - Nimble (5.0.0) + - Quick (0.10.0) DEPENDENCIES: - - Nimble (~> 4.0.0) - - Quick (~> 0.9.2) + - Nimble (~> 5.0.0) + - Quick (~> 0.10.0) SPEC CHECKSUMS: - Nimble: 0f3c8b8b084cda391209c3c5efbb48bedeeb920a - Quick: 18d057bc66451eedd5d1c8dc99ba2a5db6e60226 + Nimble: 56fc9f5020effa2206de22c3dd910f4fb011b92f + Quick: 5d290df1c69d5ee2f0729956dcf0fd9a30447eaa -COCOAPODS: 0.39.0 +PODFILE CHECKSUM: 03bad95c0634d3035d5f61527505d5b2aa02895f + +COCOAPODS: 1.1.1 diff --git a/SwiftSerializer.podspec b/SwiftSerializer.podspec index fed7210..4eed5f9 100644 --- a/SwiftSerializer.podspec +++ b/SwiftSerializer.podspec @@ -1,16 +1,19 @@ Pod::Spec.new do |s| s.name = "SwiftSerializer" - s.version = "0.6" + s.version = "0.7" s.summary = "Swift Strong Type Object Serialization to JSON" s.homepage = "https://github.com/Mailcloud/swift-serializer" s.license = { :type => "MIT", :file => "LICENSE"} s.source = { :git => "https://github.com/Mailcloud/swift-serializer.git", :tag => "#{s.version}" } s.authors = {'Mailcloud' => "contact@mailcloud.com"} s.social_media_url = "https://twitter.com/mailcloud" - s.ios.platform = :ios, '8.0' - s.ios.deployment_target = "8.0" - s.osx.platform = :osx, '10.9' s.osx.deployment_target = "10.9" + s.ios.deployment_target = "8.0" + s.watchos.deployment_target = "2.0" + s.tvos.deployment_target = "9.0" s.source_files = "src/*" s.requires_arc = true + s.pod_target_xcconfig = { + 'SWIFT_VERSION' => '3.0', + } end diff --git a/src/Array+Serializable.swift b/src/Array+Serializable.swift index 835b702..d70f79e 100644 --- a/src/Array+Serializable.swift +++ b/src/Array+Serializable.swift @@ -21,18 +21,17 @@ extension Array where Element: Serializable { :returns: The array as JSON, wrapped in NSData. */ - public func toJson(prettyPrinted: Bool = false) -> NSData? { + public func toJson(_ prettyPrinted: Bool = false) -> Data? { let subArray = self.toNSDictionaryArray() - - if NSJSONSerialization.isValidJSONObject(subArray) { + + if JSONSerialization.isValidJSONObject(subArray) { do { - let json = try NSJSONSerialization.dataWithJSONObject(subArray, options: (prettyPrinted ? .PrettyPrinted: NSJSONWritingOptions())) - return json + let options = prettyPrinted ? .prettyPrinted: JSONSerialization.WritingOptions() + return try JSONSerialization.data(withJSONObject: subArray, options: options) } catch let error as NSError { print("ERROR: Unable to serialize json, error: \(error)") } } - return nil } @@ -41,11 +40,10 @@ extension Array where Element: Serializable { :returns: The array as a JSON string. */ - public func toJsonString(prettyPrinted: Bool = false) -> String? { + public func toJsonString(_ prettyPrinted: Bool = false) -> String? { if let jsonData = toJson(prettyPrinted) { - return NSString(data: jsonData, encoding: NSUTF8StringEncoding) as String? + return NSString(data: jsonData, encoding: String.Encoding.utf8.rawValue) as String? } - return nil } } diff --git a/src/Serializable.swift b/src/Serializable.swift index d933f76..5a02c09 100644 --- a/src/Serializable.swift +++ b/src/Serializable.swift @@ -12,42 +12,41 @@ Supported objects: import Foundation -public class Serializable: NSObject { - private class SortedDictionary: NSMutableDictionary { - var dictionary = [String: AnyObject]() - +open class Serializable: NSObject { + fileprivate class SortedDictionary: NSMutableDictionary { + var sortedDictionary = [String: AnyObject]() + override var count: Int { - return dictionary.count + return sortedDictionary.count } - + override func keyEnumerator() -> NSEnumerator { - let sortedKeys: NSArray = dictionary.keys.sort() + let sortedKeys: NSArray = sortedDictionary.keys.sorted() as NSArray return sortedKeys.objectEnumerator() } - - override func setValue(value: AnyObject?, forKey key: String) { - dictionary[key] = value + + override func setValue(_ value: Any?, forKey key: String) { + sortedDictionary[key] = value as AnyObject? } - - override func objectForKey(aKey: AnyObject) -> AnyObject? { + + override func object(forKey aKey: Any) -> Any? { if let key = aKey as? String { - return dictionary[key] + return sortedDictionary[key] } - + return nil } } - - - public func formatKey(key: String) -> String { + + open func formatKey(_ key: String) -> String { return key } - public func formatValue(value: AnyObject?, forKey: String) -> AnyObject? { + open func formatValue(_ value: AnyObject?, forKey: String) -> AnyObject? { return value } - func setValue(dictionary: NSDictionary, value: AnyObject?, forKey: String) { + func setValue(_ dictionary: NSDictionary, value: AnyObject?, forKey: String) { dictionary.setValue(formatValue(value, forKey: forKey), forKey: formatKey(forKey)) } @@ -60,43 +59,48 @@ public class Serializable: NSObject { let propertiesDictionary = SortedDictionary() let mirror = Mirror(reflecting: self) for (propName, propValue) in mirror.children { - if let propValue: AnyObject = self.unwrap(propValue) as? AnyObject, propName = propName { + let propValue = self.unwrap(propValue) as AnyObject + if let propName = propName { if let serializablePropValue = propValue as? Serializable { setValue(propertiesDictionary, value: serializablePropValue.toDictionary(), forKey: propName) } else if let arrayPropValue = propValue as? [Serializable] { let subArray = arrayPropValue.toNSDictionaryArray() - setValue(propertiesDictionary, value: subArray, forKey: propName) + setValue(propertiesDictionary, value: subArray as AnyObject?, forKey: propName) } else if propValue is Int || propValue is Double || propValue is Float || propValue is Bool { setValue(propertiesDictionary, value: propValue, forKey: propName) - } else if let dataPropValue = propValue as? NSData { + } else if let dataPropValue = propValue as? Data { setValue(propertiesDictionary, - value: dataPropValue.base64EncodedStringWithOptions(.Encoding64CharacterLineLength), forKey: propName) - } else if let datePropValue = propValue as? NSDate { - setValue(propertiesDictionary, value: datePropValue.timeIntervalSince1970, forKey: propName) + value: dataPropValue.base64EncodedString(options: .lineLength64Characters) as AnyObject?, forKey: propName) + } else if let datePropValue = propValue as? Date { + setValue(propertiesDictionary, value: datePropValue.timeIntervalSince1970 as AnyObject?, forKey: propName) } else { - setValue(propertiesDictionary, value: propValue, forKey: propName) + switch propValue { + case let rawEnum as RawRepresentable: + setValue(propertiesDictionary, value: "\(rawEnum)" as AnyObject?, forKey: propName) + default: + setValue(propertiesDictionary, value: propValue, forKey: propName) + } } } else if let propValue: Int8 = propValue as? Int8 { - setValue(propertiesDictionary, value: NSNumber(char: propValue), forKey: propName!) + setValue(propertiesDictionary, value: NSNumber(value: propValue as Int8), forKey: propName!) } else if let propValue: Int16 = propValue as? Int16 { - setValue(propertiesDictionary, value: NSNumber(short: propValue), forKey: propName!) + setValue(propertiesDictionary, value: NSNumber(value: propValue as Int16), forKey: propName!) } else if let propValue: Int32 = propValue as? Int32 { - setValue(propertiesDictionary, value: NSNumber(int: propValue), forKey: propName!) + setValue(propertiesDictionary, value: NSNumber(value: propValue as Int32), forKey: propName!) } else if let propValue: Int64 = propValue as? Int64 { - setValue(propertiesDictionary, value: NSNumber(longLong: propValue), forKey: propName!) + setValue(propertiesDictionary, value: NSNumber(value: propValue as Int64), forKey: propName!) } else if let propValue: UInt8 = propValue as? UInt8 { - setValue(propertiesDictionary, value: NSNumber(unsignedChar: propValue), forKey: propName!) + setValue(propertiesDictionary, value: NSNumber(value: propValue as UInt8), forKey: propName!) } else if let propValue: UInt16 = propValue as? UInt16 { - setValue(propertiesDictionary, value: NSNumber(unsignedShort: propValue), forKey: propName!) + setValue(propertiesDictionary, value: NSNumber(value: propValue as UInt16), forKey: propName!) } else if let propValue: UInt32 = propValue as? UInt32 { - setValue(propertiesDictionary, value: NSNumber(unsignedInt: propValue), forKey: propName!) + setValue(propertiesDictionary, value: NSNumber(value: propValue as UInt32), forKey: propName!) } else if let propValue: UInt64 = propValue as? UInt64 { - setValue(propertiesDictionary, value: NSNumber(unsignedLongLong: propValue), forKey: propName!) + setValue(propertiesDictionary, value: NSNumber(value: propValue as UInt64), forKey: propName!) } else if isEnum(propValue) { - setValue(propertiesDictionary, value: "\(propValue)", forKey: propName!) + setValue(propertiesDictionary, value: "\(propValue)" as AnyObject?, forKey: propName!) } } - return propertiesDictionary } @@ -105,18 +109,16 @@ public class Serializable: NSObject { - returns: The class as JSON, wrapped in NSData. */ - public func toJson(prettyPrinted: Bool = false) -> NSData? { + public func toJson(_ prettyPrinted: Bool = false) -> Data? { let dictionary = self.toDictionary() - - if NSJSONSerialization.isValidJSONObject(dictionary) { + if JSONSerialization.isValidJSONObject(dictionary) { do { - let json = try NSJSONSerialization.dataWithJSONObject(dictionary, options: (prettyPrinted ? .PrettyPrinted: NSJSONWritingOptions())) - return json + let options = prettyPrinted ? .prettyPrinted: JSONSerialization.WritingOptions() + return try JSONSerialization.data(withJSONObject: dictionary, options: options) } catch let error as NSError { print("ERROR: Unable to serialize json, error: \(error)") } } - return nil } @@ -125,11 +127,11 @@ public class Serializable: NSObject { - returns: The class as a JSON string. */ - public func toJsonString(prettyPrinted: Bool = false) -> String? { + public func toJsonString(_ prettyPrinted: Bool = false) -> String? { if let jsonData = self.toJson(prettyPrinted) { - return NSString(data: jsonData, encoding: NSUTF8StringEncoding) as String? + let encoding = String.Encoding.utf8.rawValue + return NSString(data: jsonData, encoding: encoding) as String? } - return nil } @@ -139,18 +141,19 @@ public class Serializable: NSObject { - returns: The unwrapped object. */ - func unwrap(any: Any) -> Any? { + func unwrap(_ any: Any) -> Any? { let mi = Mirror(reflecting: any) - if mi.displayStyle != .Optional { + if mi.displayStyle != .optional { return any } - + if mi.children.count == 0 { return nil } let (_, some) = mi.children.first! return some } - - func isEnum(any: Any) -> Bool { - return Mirror(reflecting: any).displayStyle == .Enum + + func isEnum(_ any: Any) -> Bool { + let displayStyle = Mirror(reflecting: any).displayStyle + return displayStyle == .enum } } diff --git a/swift-serializer.xcodeproj/project.pbxproj b/swift-serializer.xcodeproj/project.pbxproj index 64d576c..703ea8f 100644 --- a/swift-serializer.xcodeproj/project.pbxproj +++ b/swift-serializer.xcodeproj/project.pbxproj @@ -1,1020 +1,589 @@ - - - - - archiveVersion - 1 - classes - - objectVersion - 46 - objects - - 0352D9D0A85D4C23774C0037 - - buildActionMask - 2147483647 - files - - inputPaths - - isa - PBXShellScriptBuildPhase - name - Embed Pods Frameworks - outputPaths - - runOnlyForDeploymentPostprocessing - 0 - shellPath - /bin/sh - shellScript - "${SRCROOT}/Pods/Target Support Files/Pods/Pods-frameworks.sh" - - showEnvVarsInLog - 0 - - 16E21B230D687134DDE58584 - - buildActionMask - 2147483647 - files - - inputPaths - - isa - PBXShellScriptBuildPhase - name - Check Pods Manifest.lock - outputPaths - - runOnlyForDeploymentPostprocessing - 0 - shellPath - /bin/sh - shellScript - diff "${PODS_ROOT}/../Podfile.lock" "${PODS_ROOT}/Manifest.lock" > /dev/null -if [[ $? != 0 ]] ; then - cat << EOM -error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation. -EOM - exit 1 -fi - - showEnvVarsInLog - 0 - - 1C78781DCB3E9CCE2CE48AF8 - - children - - A490D88AB4032BDB8C50CDA0 - 78B06B35A0AD84EE359FB68B - - isa - PBXGroup - name - Pods - sourceTree - <group> - - 565796373FBF9E9AE081FECD - - children - - A7DC79ACBDEB6EFE03B9945E - - isa - PBXGroup - name - Frameworks - sourceTree - <group> - - 78B06B35A0AD84EE359FB68B - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - text.xcconfig - name - Pods.release.xcconfig - path - Pods/Target Support Files/Pods/Pods.release.xcconfig - sourceTree - <group> - - 860A15E1397DFA3C4E63EC32 - - buildActionMask - 2147483647 - files - - inputPaths - - isa - PBXShellScriptBuildPhase - name - Copy Pods Resources - outputPaths - - runOnlyForDeploymentPostprocessing - 0 - shellPath - /bin/sh - shellScript - "${SRCROOT}/Pods/Target Support Files/Pods/Pods-resources.sh" - - showEnvVarsInLog - 0 - - A0D0F7693200A30EFB86C2C9 - - fileRef - A7DC79ACBDEB6EFE03B9945E - isa - PBXBuildFile - - A490D88AB4032BDB8C50CDA0 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - text.xcconfig - name - Pods.debug.xcconfig - path - Pods/Target Support Files/Pods/Pods.debug.xcconfig - sourceTree - <group> - - A7DC79ACBDEB6EFE03B9945E - - explicitFileType - wrapper.framework - includeInIndex - 0 - isa - PBXFileReference - path - Pods.framework - sourceTree - BUILT_PRODUCTS_DIR - - AA03D4161C04294600AEDF77 - - fileEncoding - 4 - isa - PBXFileReference - lastKnownFileType - sourcecode.swift - path - Array+Serializable.swift - sourceTree - <group> - - AA03D4171C04294600AEDF77 - - fileRef - AA03D4161C04294600AEDF77 - isa - PBXBuildFile - - AA949BC81BE8630800F02242 - - children - - AA949BCB1BE8630800F02242 - - isa - PBXGroup - path - SwiftSerializer - sourceTree - <group> - - AA949BCB1BE8630800F02242 - - isa - PBXFileReference - lastKnownFileType - text.plist.xml - path - Info.plist - sourceTree - <group> - - AA949BD31BE8649C00F02242 - - buildActionMask - 2147483647 - files - - AA03D4171C04294600AEDF77 - AA949BE01BE864F000F02242 - - isa - PBXSourcesBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - AA949BD41BE8649C00F02242 - - buildActionMask - 2147483647 - files - - isa - PBXFrameworksBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - AA949BD51BE8649C00F02242 - - buildActionMask - 2147483647 - files - - isa - PBXHeadersBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - AA949BD61BE8649C00F02242 - - buildActionMask - 2147483647 - files - - isa - PBXResourcesBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - AA949BD71BE8649C00F02242 - - buildConfigurationList - AA949BDD1BE8649C00F02242 - buildPhases - - AA949BD31BE8649C00F02242 - AA949BD41BE8649C00F02242 - AA949BD51BE8649C00F02242 - AA949BD61BE8649C00F02242 - - buildRules - - dependencies - - isa - PBXNativeTarget - name - SwiftSerializer - productName - SwiftSerializer - productReference - AA949BD81BE8649C00F02242 - productType - com.apple.product-type.framework - - AA949BD81BE8649C00F02242 - - explicitFileType - wrapper.framework - includeInIndex - 0 - isa - PBXFileReference - path - SwiftSerializer.framework - sourceTree - BUILT_PRODUCTS_DIR - - AA949BDD1BE8649C00F02242 - - buildConfigurations - - AA949BDE1BE8649C00F02242 - AA949BDF1BE8649C00F02242 - - defaultConfigurationIsVisible - 0 - defaultConfigurationName - Release - isa - XCConfigurationList - - AA949BDE1BE8649C00F02242 - - buildSettings - - ALWAYS_SEARCH_USER_PATHS - NO - CLANG_CXX_LANGUAGE_STANDARD - gnu++0x - CLANG_CXX_LIBRARY - libc++ - CLANG_ENABLE_MODULES - YES - CLANG_ENABLE_OBJC_ARC - YES - CLANG_WARN_BOOL_CONVERSION - YES - CLANG_WARN_CONSTANT_CONVERSION - YES - CLANG_WARN_DIRECT_OBJC_ISA_USAGE - YES_ERROR - CLANG_WARN_EMPTY_BODY - YES - CLANG_WARN_ENUM_CONVERSION - YES - CLANG_WARN_INT_CONVERSION - YES - CLANG_WARN_OBJC_ROOT_CLASS - YES_ERROR - CLANG_WARN_UNREACHABLE_CODE - YES - CLANG_WARN__DUPLICATE_METHOD_MATCH - YES - CODE_SIGN_IDENTITY[sdk=iphoneos*] - iPhone Developer - COPY_PHASE_STRIP - NO - CURRENT_PROJECT_VERSION - 1 - DEBUG_INFORMATION_FORMAT - dwarf - DEFINES_MODULE - YES - DYLIB_COMPATIBILITY_VERSION - 1 - DYLIB_CURRENT_VERSION - 1 - DYLIB_INSTALL_NAME_BASE - @rpath - ENABLE_STRICT_OBJC_MSGSEND - YES - GCC_C_LANGUAGE_STANDARD - gnu99 - GCC_DYNAMIC_NO_PIC - NO - GCC_NO_COMMON_BLOCKS - YES - GCC_OPTIMIZATION_LEVEL - 0 - GCC_PREPROCESSOR_DEFINITIONS - - DEBUG=1 - $(inherited) - - GCC_WARN_64_TO_32_BIT_CONVERSION - YES - GCC_WARN_ABOUT_RETURN_TYPE - YES_ERROR - GCC_WARN_UNDECLARED_SELECTOR - YES - GCC_WARN_UNINITIALIZED_AUTOS - YES_AGGRESSIVE - GCC_WARN_UNUSED_FUNCTION - YES - GCC_WARN_UNUSED_VARIABLE - YES - INFOPLIST_FILE - SwiftSerializer/Info.plist - INSTALL_PATH - $(LOCAL_LIBRARY_DIR)/Frameworks - IPHONEOS_DEPLOYMENT_TARGET - 9.0 - LD_RUNPATH_SEARCH_PATHS - $(inherited) @executable_path/Frameworks @loader_path/Frameworks - MTL_ENABLE_DEBUG_INFO - YES - PRODUCT_BUNDLE_IDENTIFIER - SwiftSerializer.SwiftSerializer - PRODUCT_NAME - $(TARGET_NAME) - SDKROOT - iphoneos - SKIP_INSTALL - YES - SWIFT_OPTIMIZATION_LEVEL - -Onone - TARGETED_DEVICE_FAMILY - 1,2 - VERSIONING_SYSTEM - apple-generic - VERSION_INFO_PREFIX - - - isa - XCBuildConfiguration - name - Debug - - AA949BDF1BE8649C00F02242 - - buildSettings - - ALWAYS_SEARCH_USER_PATHS - NO - CLANG_CXX_LANGUAGE_STANDARD - gnu++0x - CLANG_CXX_LIBRARY - libc++ - CLANG_ENABLE_MODULES - YES - CLANG_ENABLE_OBJC_ARC - YES - CLANG_WARN_BOOL_CONVERSION - YES - CLANG_WARN_CONSTANT_CONVERSION - YES - CLANG_WARN_DIRECT_OBJC_ISA_USAGE - YES_ERROR - CLANG_WARN_EMPTY_BODY - YES - CLANG_WARN_ENUM_CONVERSION - YES - CLANG_WARN_INT_CONVERSION - YES - CLANG_WARN_OBJC_ROOT_CLASS - YES_ERROR - CLANG_WARN_UNREACHABLE_CODE - YES - CLANG_WARN__DUPLICATE_METHOD_MATCH - YES - CODE_SIGN_IDENTITY[sdk=iphoneos*] - iPhone Developer - COPY_PHASE_STRIP - NO - CURRENT_PROJECT_VERSION - 1 - DEBUG_INFORMATION_FORMAT - dwarf-with-dsym - DEFINES_MODULE - YES - DYLIB_COMPATIBILITY_VERSION - 1 - DYLIB_CURRENT_VERSION - 1 - DYLIB_INSTALL_NAME_BASE - @rpath - ENABLE_NS_ASSERTIONS - NO - ENABLE_STRICT_OBJC_MSGSEND - YES - GCC_C_LANGUAGE_STANDARD - gnu99 - GCC_NO_COMMON_BLOCKS - YES - GCC_WARN_64_TO_32_BIT_CONVERSION - YES - GCC_WARN_ABOUT_RETURN_TYPE - YES_ERROR - GCC_WARN_UNDECLARED_SELECTOR - YES - GCC_WARN_UNINITIALIZED_AUTOS - YES_AGGRESSIVE - GCC_WARN_UNUSED_FUNCTION - YES - GCC_WARN_UNUSED_VARIABLE - YES - INFOPLIST_FILE - SwiftSerializer/Info.plist - INSTALL_PATH - $(LOCAL_LIBRARY_DIR)/Frameworks - IPHONEOS_DEPLOYMENT_TARGET - 9.0 - LD_RUNPATH_SEARCH_PATHS - $(inherited) @executable_path/Frameworks @loader_path/Frameworks - MTL_ENABLE_DEBUG_INFO - NO - PRODUCT_BUNDLE_IDENTIFIER - SwiftSerializer.SwiftSerializer - PRODUCT_NAME - $(TARGET_NAME) - SDKROOT - iphoneos - SKIP_INSTALL - YES - TARGETED_DEVICE_FAMILY - 1,2 - VALIDATE_PRODUCT - YES - VERSIONING_SYSTEM - apple-generic - VERSION_INFO_PREFIX - - - isa - XCBuildConfiguration - name - Release - - AA949BE01BE864F000F02242 - - fileRef - D1BC4FD81B4EE74200F52BA5 - isa - PBXBuildFile - - AA949BE11BE8650A00F02242 - - containerPortal - D1BC4FD11B4EE6E600F52BA5 - isa - PBXContainerItemProxy - proxyType - 1 - remoteGlobalIDString - AA949BD71BE8649C00F02242 - remoteInfo - SwiftSerializer - - AA949BE21BE8650A00F02242 - - isa - PBXTargetDependency - target - AA949BD71BE8649C00F02242 - targetProxy - AA949BE11BE8650A00F02242 - - D1BC4FD01B4EE6E600F52BA5 - - children - - D1BC4FD91B4EE7B800F52BA5 - D1BC4FD71B4EE72D00F52BA5 - D1BC4FE01B4EE7E200F52BA5 - AA949BC81BE8630800F02242 - D1BC4FDF1B4EE7E100F52BA5 - 1C78781DCB3E9CCE2CE48AF8 - 565796373FBF9E9AE081FECD - - isa - PBXGroup - sourceTree - <group> - - D1BC4FD11B4EE6E600F52BA5 - - attributes - - LastSwiftUpdateCheck - 0710 - LastUpgradeCheck - 0710 - TargetAttributes - - AA949BD71BE8649C00F02242 - - CreatedOnToolsVersion - 7.1 - - D1BC4FDD1B4EE7E100F52BA5 - - CreatedOnToolsVersion - 7.0 - - - - buildConfigurationList - D1BC4FD41B4EE6E600F52BA5 - compatibilityVersion - Xcode 3.2 - developmentRegion - English - hasScannedForEncodings - 0 - isa - PBXProject - knownRegions - - en - - mainGroup - D1BC4FD01B4EE6E600F52BA5 - productRefGroup - D1BC4FDF1B4EE7E100F52BA5 - projectDirPath - - projectReferences - - projectRoot - - targets - - D1BC4FDD1B4EE7E100F52BA5 - AA949BD71BE8649C00F02242 - - - D1BC4FD41B4EE6E600F52BA5 - - buildConfigurations - - D1BC4FD51B4EE6E600F52BA5 - D1BC4FD61B4EE6E600F52BA5 - - defaultConfigurationIsVisible - 0 - defaultConfigurationName - Release - isa - XCConfigurationList - - D1BC4FD51B4EE6E600F52BA5 - - buildSettings - - ENABLE_TESTABILITY - YES - ONLY_ACTIVE_ARCH - YES - - isa - XCBuildConfiguration - name - Debug - - D1BC4FD61B4EE6E600F52BA5 - - buildSettings - - isa - XCBuildConfiguration - name - Release - - D1BC4FD71B4EE72D00F52BA5 - - children - - AA03D4161C04294600AEDF77 - D1BC4FD81B4EE74200F52BA5 - - isa - PBXGroup - path - src - sourceTree - <group> - - D1BC4FD81B4EE74200F52BA5 - - isa - PBXFileReference - lastKnownFileType - sourcecode.swift - path - Serializable.swift - sourceTree - <group> - - D1BC4FD91B4EE7B800F52BA5 - - isa - PBXFileReference - lastKnownFileType - text - path - Podfile - sourceTree - <group> - xcLanguageSpecificationIdentifier - xcode.lang.ruby - - D1BC4FDA1B4EE7E100F52BA5 - - buildActionMask - 2147483647 - files - - D1BC4FE91B4EF09A00F52BA5 - - isa - PBXSourcesBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - D1BC4FDB1B4EE7E100F52BA5 - - buildActionMask - 2147483647 - files - - A0D0F7693200A30EFB86C2C9 - - isa - PBXFrameworksBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - D1BC4FDC1B4EE7E100F52BA5 - - buildActionMask - 2147483647 - files - - isa - PBXResourcesBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - D1BC4FDD1B4EE7E100F52BA5 - - buildConfigurationList - D1BC4FE41B4EE7E200F52BA5 - buildPhases - - 16E21B230D687134DDE58584 - D1BC4FDA1B4EE7E100F52BA5 - D1BC4FDB1B4EE7E100F52BA5 - D1BC4FDC1B4EE7E100F52BA5 - 0352D9D0A85D4C23774C0037 - 860A15E1397DFA3C4E63EC32 - - buildRules - - dependencies - - AA949BE21BE8650A00F02242 - - isa - PBXNativeTarget - name - Tests - productName - MyTest - productReference - D1BC4FDE1B4EE7E100F52BA5 - productType - com.apple.product-type.bundle.unit-test - - D1BC4FDE1B4EE7E100F52BA5 - - explicitFileType - wrapper.cfbundle - includeInIndex - 0 - isa - PBXFileReference - path - Tests.xctest - sourceTree - BUILT_PRODUCTS_DIR - - D1BC4FDF1B4EE7E100F52BA5 - - children - - D1BC4FDE1B4EE7E100F52BA5 - AA949BD81BE8649C00F02242 - - isa - PBXGroup - name - Products - sourceTree - <group> - - D1BC4FE01B4EE7E200F52BA5 - - children - - D1BC4FE31B4EE7E200F52BA5 - D1BC4FE81B4EF09A00F52BA5 - - isa - PBXGroup - path - tests - sourceTree - <group> - - D1BC4FE31B4EE7E200F52BA5 - - isa - PBXFileReference - lastKnownFileType - text.plist.xml - path - Info.plist - sourceTree - <group> - - D1BC4FE41B4EE7E200F52BA5 - - buildConfigurations - - D1BC4FE51B4EE7E200F52BA5 - D1BC4FE61B4EE7E200F52BA5 - - defaultConfigurationIsVisible - 0 - defaultConfigurationName - Release - isa - XCConfigurationList - - D1BC4FE51B4EE7E200F52BA5 - - baseConfigurationReference - A490D88AB4032BDB8C50CDA0 - buildSettings - - ALWAYS_SEARCH_USER_PATHS - NO - CLANG_CXX_LANGUAGE_STANDARD - gnu++0x - CLANG_CXX_LIBRARY - libc++ - CLANG_ENABLE_MODULES - YES - CLANG_ENABLE_OBJC_ARC - YES - CLANG_WARN_BOOL_CONVERSION - YES - CLANG_WARN_CONSTANT_CONVERSION - YES - CLANG_WARN_DIRECT_OBJC_ISA_USAGE - YES_ERROR - CLANG_WARN_EMPTY_BODY - YES - CLANG_WARN_ENUM_CONVERSION - YES - CLANG_WARN_INT_CONVERSION - YES - CLANG_WARN_OBJC_ROOT_CLASS - YES_ERROR - CLANG_WARN_UNREACHABLE_CODE - YES - CLANG_WARN__DUPLICATE_METHOD_MATCH - YES - COPY_PHASE_STRIP - NO - DEBUG_INFORMATION_FORMAT - dwarf - ENABLE_STRICT_OBJC_MSGSEND - YES - ENABLE_TESTABILITY - YES - GCC_C_LANGUAGE_STANDARD - gnu99 - GCC_DYNAMIC_NO_PIC - NO - GCC_NO_COMMON_BLOCKS - YES - GCC_OPTIMIZATION_LEVEL - 0 - GCC_PREPROCESSOR_DEFINITIONS - - DEBUG=1 - $(inherited) - - GCC_WARN_64_TO_32_BIT_CONVERSION - YES - GCC_WARN_ABOUT_RETURN_TYPE - YES_ERROR - GCC_WARN_UNDECLARED_SELECTOR - YES - GCC_WARN_UNINITIALIZED_AUTOS - YES_AGGRESSIVE - GCC_WARN_UNUSED_FUNCTION - YES - GCC_WARN_UNUSED_VARIABLE - YES - INFOPLIST_FILE - tests/Info.plist - IPHONEOS_DEPLOYMENT_TARGET - 9.0 - LD_RUNPATH_SEARCH_PATHS - $(inherited) @executable_path/Frameworks @loader_path/Frameworks - MTL_ENABLE_DEBUG_INFO - YES - ONLY_ACTIVE_ARCH - YES - PRODUCT_BUNDLE_IDENTIFIER - pl.mawitech.MyTest - PRODUCT_NAME - $(TARGET_NAME) - SDKROOT - iphoneos - SWIFT_OPTIMIZATION_LEVEL - -Onone - - isa - XCBuildConfiguration - name - Debug - - D1BC4FE61B4EE7E200F52BA5 - - baseConfigurationReference - 78B06B35A0AD84EE359FB68B - buildSettings - - ALWAYS_SEARCH_USER_PATHS - NO - CLANG_CXX_LANGUAGE_STANDARD - gnu++0x - CLANG_CXX_LIBRARY - libc++ - CLANG_ENABLE_MODULES - YES - CLANG_ENABLE_OBJC_ARC - YES - CLANG_WARN_BOOL_CONVERSION - YES - CLANG_WARN_CONSTANT_CONVERSION - YES - CLANG_WARN_DIRECT_OBJC_ISA_USAGE - YES_ERROR - CLANG_WARN_EMPTY_BODY - YES - CLANG_WARN_ENUM_CONVERSION - YES - CLANG_WARN_INT_CONVERSION - YES - CLANG_WARN_OBJC_ROOT_CLASS - YES_ERROR - CLANG_WARN_UNREACHABLE_CODE - YES - CLANG_WARN__DUPLICATE_METHOD_MATCH - YES - COPY_PHASE_STRIP - NO - DEBUG_INFORMATION_FORMAT - dwarf-with-dsym - ENABLE_NS_ASSERTIONS - NO - ENABLE_STRICT_OBJC_MSGSEND - YES - GCC_C_LANGUAGE_STANDARD - gnu99 - GCC_NO_COMMON_BLOCKS - YES - GCC_WARN_64_TO_32_BIT_CONVERSION - YES - GCC_WARN_ABOUT_RETURN_TYPE - YES_ERROR - GCC_WARN_UNDECLARED_SELECTOR - YES - GCC_WARN_UNINITIALIZED_AUTOS - YES_AGGRESSIVE - GCC_WARN_UNUSED_FUNCTION - YES - GCC_WARN_UNUSED_VARIABLE - YES - INFOPLIST_FILE - tests/Info.plist - IPHONEOS_DEPLOYMENT_TARGET - 9.0 - LD_RUNPATH_SEARCH_PATHS - $(inherited) @executable_path/Frameworks @loader_path/Frameworks - MTL_ENABLE_DEBUG_INFO - NO - PRODUCT_BUNDLE_IDENTIFIER - pl.mawitech.MyTest - PRODUCT_NAME - $(TARGET_NAME) - SDKROOT - iphoneos - VALIDATE_PRODUCT - YES - - isa - XCBuildConfiguration - name - Release - - D1BC4FE81B4EF09A00F52BA5 - - fileEncoding - 4 - isa - PBXFileReference - lastKnownFileType - sourcecode.swift - path - SerializableSpec.swift - sourceTree - <group> - - D1BC4FE91B4EF09A00F52BA5 - - fileRef - D1BC4FE81B4EF09A00F52BA5 - isa - PBXBuildFile - - - rootObject - D1BC4FD11B4EE6E600F52BA5 - - +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 41C33EFB730246AB23E89596 /* Pods_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1E66C9433CFE2B64DB5B9257 /* Pods_Tests.framework */; }; + AA03D4171C04294600AEDF77 /* Array+Serializable.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA03D4161C04294600AEDF77 /* Array+Serializable.swift */; }; + AA949BE01BE864F000F02242 /* Serializable.swift in Sources */ = {isa = PBXBuildFile; fileRef = D1BC4FD81B4EE74200F52BA5 /* Serializable.swift */; }; + D1BC4FE91B4EF09A00F52BA5 /* SerializableSpec.swift in Sources */ = {isa = PBXBuildFile; fileRef = D1BC4FE81B4EF09A00F52BA5 /* SerializableSpec.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + AA949BE11BE8650A00F02242 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D1BC4FD11B4EE6E600F52BA5 /* Project object */; + proxyType = 1; + remoteGlobalIDString = AA949BD71BE8649C00F02242; + remoteInfo = SwiftSerializer; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 1719F3C0BB71993C55471644 /* Pods-Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-Tests/Pods-Tests.release.xcconfig"; sourceTree = ""; }; + 1E66C9433CFE2B64DB5B9257 /* Pods_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 524DD71A1206503C520E1D79 /* Pods-Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Tests/Pods-Tests.debug.xcconfig"; sourceTree = ""; }; + A7DC79ACBDEB6EFE03B9945E /* Pods.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + AA03D4161C04294600AEDF77 /* Array+Serializable.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Array+Serializable.swift"; sourceTree = ""; }; + AA949BCB1BE8630800F02242 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + AA949BD81BE8649C00F02242 /* SwiftSerializer.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SwiftSerializer.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + D1BC4FD81B4EE74200F52BA5 /* Serializable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Serializable.swift; sourceTree = ""; }; + D1BC4FDE1B4EE7E100F52BA5 /* Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + D1BC4FE31B4EE7E200F52BA5 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + D1BC4FE81B4EF09A00F52BA5 /* SerializableSpec.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SerializableSpec.swift; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + AA949BD41BE8649C00F02242 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + D1BC4FDB1B4EE7E100F52BA5 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 41C33EFB730246AB23E89596 /* Pods_Tests.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 565796373FBF9E9AE081FECD /* Frameworks */ = { + isa = PBXGroup; + children = ( + A7DC79ACBDEB6EFE03B9945E /* Pods.framework */, + 1E66C9433CFE2B64DB5B9257 /* Pods_Tests.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + 6C2502D0BA7C441BD3413C5B /* Pods */ = { + isa = PBXGroup; + children = ( + 524DD71A1206503C520E1D79 /* Pods-Tests.debug.xcconfig */, + 1719F3C0BB71993C55471644 /* Pods-Tests.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; + AA949BC81BE8630800F02242 /* SwiftSerializer */ = { + isa = PBXGroup; + children = ( + AA949BCB1BE8630800F02242 /* Info.plist */, + ); + path = SwiftSerializer; + sourceTree = ""; + }; + D1BC4FD01B4EE6E600F52BA5 = { + isa = PBXGroup; + children = ( + D1BC4FD71B4EE72D00F52BA5 /* src */, + D1BC4FE01B4EE7E200F52BA5 /* tests */, + AA949BC81BE8630800F02242 /* SwiftSerializer */, + D1BC4FDF1B4EE7E100F52BA5 /* Products */, + 565796373FBF9E9AE081FECD /* Frameworks */, + 6C2502D0BA7C441BD3413C5B /* Pods */, + ); + sourceTree = ""; + }; + D1BC4FD71B4EE72D00F52BA5 /* src */ = { + isa = PBXGroup; + children = ( + AA03D4161C04294600AEDF77 /* Array+Serializable.swift */, + D1BC4FD81B4EE74200F52BA5 /* Serializable.swift */, + ); + path = src; + sourceTree = ""; + }; + D1BC4FDF1B4EE7E100F52BA5 /* Products */ = { + isa = PBXGroup; + children = ( + D1BC4FDE1B4EE7E100F52BA5 /* Tests.xctest */, + AA949BD81BE8649C00F02242 /* SwiftSerializer.framework */, + ); + name = Products; + sourceTree = ""; + }; + D1BC4FE01B4EE7E200F52BA5 /* tests */ = { + isa = PBXGroup; + children = ( + D1BC4FE31B4EE7E200F52BA5 /* Info.plist */, + D1BC4FE81B4EF09A00F52BA5 /* SerializableSpec.swift */, + ); + path = tests; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + AA949BD51BE8649C00F02242 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + AA949BD71BE8649C00F02242 /* SwiftSerializer */ = { + isa = PBXNativeTarget; + buildConfigurationList = AA949BDD1BE8649C00F02242 /* Build configuration list for PBXNativeTarget "SwiftSerializer" */; + buildPhases = ( + AA949BD31BE8649C00F02242 /* Sources */, + AA949BD41BE8649C00F02242 /* Frameworks */, + AA949BD51BE8649C00F02242 /* Headers */, + AA949BD61BE8649C00F02242 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = SwiftSerializer; + productName = SwiftSerializer; + productReference = AA949BD81BE8649C00F02242 /* SwiftSerializer.framework */; + productType = "com.apple.product-type.framework"; + }; + D1BC4FDD1B4EE7E100F52BA5 /* Tests */ = { + isa = PBXNativeTarget; + buildConfigurationList = D1BC4FE41B4EE7E200F52BA5 /* Build configuration list for PBXNativeTarget "Tests" */; + buildPhases = ( + F998A80FC2BCB8EC242D0118 /* [CP] Check Pods Manifest.lock */, + D1BC4FDA1B4EE7E100F52BA5 /* Sources */, + D1BC4FDB1B4EE7E100F52BA5 /* Frameworks */, + D1BC4FDC1B4EE7E100F52BA5 /* Resources */, + 7D03975B3DDB8AAC75D2A744 /* [CP] Embed Pods Frameworks */, + E239BED7C5577B41004DE150 /* [CP] Copy Pods Resources */, + ); + buildRules = ( + ); + dependencies = ( + AA949BE21BE8650A00F02242 /* PBXTargetDependency */, + ); + name = Tests; + productName = MyTest; + productReference = D1BC4FDE1B4EE7E100F52BA5 /* Tests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + D1BC4FD11B4EE6E600F52BA5 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0710; + LastUpgradeCheck = 0810; + TargetAttributes = { + AA949BD71BE8649C00F02242 = { + CreatedOnToolsVersion = 7.1; + LastSwiftMigration = 0810; + }; + D1BC4FDD1B4EE7E100F52BA5 = { + CreatedOnToolsVersion = 7.0; + LastSwiftMigration = 0810; + }; + }; + }; + buildConfigurationList = D1BC4FD41B4EE6E600F52BA5 /* Build configuration list for PBXProject "swift-serializer" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = D1BC4FD01B4EE6E600F52BA5; + productRefGroup = D1BC4FDF1B4EE7E100F52BA5 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + D1BC4FDD1B4EE7E100F52BA5 /* Tests */, + AA949BD71BE8649C00F02242 /* SwiftSerializer */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + AA949BD61BE8649C00F02242 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + D1BC4FDC1B4EE7E100F52BA5 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 7D03975B3DDB8AAC75D2A744 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Tests/Pods-Tests-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + E239BED7C5577B41004DE150 /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Tests/Pods-Tests-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + F998A80FC2BCB8EC242D0118 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + AA949BD31BE8649C00F02242 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + AA03D4171C04294600AEDF77 /* Array+Serializable.swift in Sources */, + AA949BE01BE864F000F02242 /* Serializable.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + D1BC4FDA1B4EE7E100F52BA5 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + D1BC4FE91B4EF09A00F52BA5 /* SerializableSpec.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + AA949BE21BE8650A00F02242 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = AA949BD71BE8649C00F02242 /* SwiftSerializer */; + targetProxy = AA949BE11BE8650A00F02242 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + AA949BDE1BE8649C00F02242 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + INFOPLIST_FILE = SwiftSerializer/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MTL_ENABLE_DEBUG_INFO = YES; + PRODUCT_BUNDLE_IDENTIFIER = SwiftSerializer.SwiftSerializer; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 3.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + AA949BDF1BE8649C00F02242 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + INFOPLIST_FILE = SwiftSerializer/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MTL_ENABLE_DEBUG_INFO = NO; + PRODUCT_BUNDLE_IDENTIFIER = SwiftSerializer.SwiftSerializer; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_VERSION = 3.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + D1BC4FD51B4EE6E600F52BA5 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + ONLY_ACTIVE_ARCH = YES; + }; + name = Debug; + }; + D1BC4FD61B4EE6E600F52BA5 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + }; + name = Release; + }; + D1BC4FE51B4EE7E200F52BA5 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 524DD71A1206503C520E1D79 /* Pods-Tests.debug.xcconfig */; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + INFOPLIST_FILE = tests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + PRODUCT_BUNDLE_IDENTIFIER = pl.mawitech.MyTest; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = iphoneos; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 3.0; + }; + name = Debug; + }; + D1BC4FE61B4EE7E200F52BA5 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 1719F3C0BB71993C55471644 /* Pods-Tests.release.xcconfig */; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + INFOPLIST_FILE = tests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MTL_ENABLE_DEBUG_INFO = NO; + PRODUCT_BUNDLE_IDENTIFIER = pl.mawitech.MyTest; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = iphoneos; + SWIFT_VERSION = 3.0; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + AA949BDD1BE8649C00F02242 /* Build configuration list for PBXNativeTarget "SwiftSerializer" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + AA949BDE1BE8649C00F02242 /* Debug */, + AA949BDF1BE8649C00F02242 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + D1BC4FD41B4EE6E600F52BA5 /* Build configuration list for PBXProject "swift-serializer" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + D1BC4FD51B4EE6E600F52BA5 /* Debug */, + D1BC4FD61B4EE6E600F52BA5 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + D1BC4FE41B4EE7E200F52BA5 /* Build configuration list for PBXNativeTarget "Tests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + D1BC4FE51B4EE7E200F52BA5 /* Debug */, + D1BC4FE61B4EE7E200F52BA5 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = D1BC4FD11B4EE6E600F52BA5 /* Project object */; +} diff --git a/swift-serializer.xcodeproj/xcshareddata/xcschemes/SwiftSerializer.xcscheme b/swift-serializer.xcodeproj/xcshareddata/xcschemes/SwiftSerializer.xcscheme index 7f5c963..ebd359a 100644 --- a/swift-serializer.xcodeproj/xcshareddata/xcschemes/SwiftSerializer.xcscheme +++ b/swift-serializer.xcodeproj/xcshareddata/xcschemes/SwiftSerializer.xcscheme @@ -1,6 +1,6 @@