Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions CDAKit.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

Pod::Spec.new do |s|
s.name = "CDAKit"
s.version = "1.0.2"
s.version = "1.1.0"
s.summary = "CDAKit for iOS, the Open Source Clinical Document Architecture Library with HealthKit Connectivity."
s.description = <<-DESC
Swift framework port of the the Ruby Health-Data-Standards GEM's C32 and C-CDA import and export functionality. Allows for bridging between CDA and HealthKit so you can integrate with an Electronic Medical Records system.
Expand All @@ -31,7 +31,7 @@ Pod::Spec.new do |s|
]
}
s.frameworks = 'HealthKit'
s.dependency 'GRMustache.swift', '~> 0.11.0'
s.dependency 'Fuzi', '0.3.0'
s.dependency 'Try', '~> 1.0.0'
s.dependency 'GRMustache.swift', '~> 2.0.0'
s.dependency 'Fuzi', '~> 1.0.0'
s.dependency 'Try', '~> 2.0.0'
end
60 changes: 41 additions & 19 deletions CDAKit.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@
38359E051C7B5DD400CCC036 /* c32_performer.c32.mustache */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = c32_performer.c32.mustache; sourceTree = "<group>"; };
38359E071C7B774400CCC036 /* CDAKit.podspec */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = CDAKit.podspec; sourceTree = "<group>"; };
38359E081C7B774400CCC036 /* LICENSE.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = LICENSE.txt; sourceTree = "<group>"; };
38359E091C7B774400CCC036 /* Podfile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Podfile; sourceTree = "<group>"; };
38359E091C7B774400CCC036 /* Podfile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Podfile; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
384E23101C737A8C009B9DED /* 170.314(b)(1)InPt_Discharge Summary CED Type.xml */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = "170.314(b)(1)InPt_Discharge Summary CED Type.xml"; sourceTree = "<group>"; };
384E23131C738E4E009B9DED /* CDAKJSONInstantiable.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CDAKJSONInstantiable.swift; sourceTree = "<group>"; };
384E23161C73C517009B9DED /* MetadataImporter.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MetadataImporter.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -1348,12 +1348,12 @@
isa = PBXNativeTarget;
buildConfigurationList = 389170451C6CC1EE00A31299 /* Build configuration list for PBXNativeTarget "CDAKit" */;
buildPhases = (
121123786CCEF5344AF26C54 /* Check Pods Manifest.lock */,
121123786CCEF5344AF26C54 /* [CP] Check Pods Manifest.lock */,
3891702C1C6CC1EE00A31299 /* Sources */,
3891702D1C6CC1EE00A31299 /* Frameworks */,
3891702E1C6CC1EE00A31299 /* Headers */,
3891702F1C6CC1EE00A31299 /* Resources */,
3414E6FD4CA7A95F5ADAA642 /* Copy Pods Resources */,
3414E6FD4CA7A95F5ADAA642 /* [CP] Copy Pods Resources */,
);
buildRules = (
);
Expand All @@ -1368,12 +1368,12 @@
isa = PBXNativeTarget;
buildConfigurationList = 389170481C6CC1EE00A31299 /* Build configuration list for PBXNativeTarget "CDAKitTests" */;
buildPhases = (
E3D409D33B05989FC3BC310B /* Check Pods Manifest.lock */,
E3D409D33B05989FC3BC310B /* [CP] Check Pods Manifest.lock */,
389170371C6CC1EE00A31299 /* Sources */,
389170381C6CC1EE00A31299 /* Frameworks */,
389170391C6CC1EE00A31299 /* Resources */,
96FF48670B856178CE4C0B16 /* Embed Pods Frameworks */,
604FE589373D3447785062B5 /* Copy Pods Resources */,
96FF48670B856178CE4C0B16 /* [CP] Embed Pods Frameworks */,
604FE589373D3447785062B5 /* [CP] Copy Pods Resources */,
);
buildRules = (
);
Expand All @@ -1392,14 +1392,17 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0720;
LastUpgradeCheck = 0720;
LastUpgradeCheck = 0810;
ORGANIZATIONNAME = "Eric Whitley";
TargetAttributes = {
389170301C6CC1EE00A31299 = {
CreatedOnToolsVersion = 7.2.1;
LastSwiftMigration = 0800;
};
3891703A1C6CC1EE00A31299 = {
CreatedOnToolsVersion = 7.2.1;
DevelopmentTeam = E22XJ7D3WH;
LastSwiftMigration = 0800;
};
};
};
Expand Down Expand Up @@ -1584,79 +1587,79 @@
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
121123786CCEF5344AF26C54 /* Check Pods Manifest.lock */ = {
121123786CCEF5344AF26C54 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Check Pods Manifest.lock";
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 cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
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;
};
3414E6FD4CA7A95F5ADAA642 /* Copy Pods Resources */ = {
3414E6FD4CA7A95F5ADAA642 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Copy Pods Resources";
name = "[CP] Copy Pods Resources";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-CDAKit/Pods-CDAKit-resources.sh\"\n";
showEnvVarsInLog = 0;
};
604FE589373D3447785062B5 /* Copy Pods Resources */ = {
604FE589373D3447785062B5 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Copy Pods Resources";
name = "[CP] Copy Pods Resources";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-CDAKitTests/Pods-CDAKitTests-resources.sh\"\n";
showEnvVarsInLog = 0;
};
96FF48670B856178CE4C0B16 /* Embed Pods Frameworks */ = {
96FF48670B856178CE4C0B16 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Embed Pods Frameworks";
name = "[CP] Embed Pods Frameworks";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-CDAKitTests/Pods-CDAKitTests-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
E3D409D33B05989FC3BC310B /* Check Pods Manifest.lock */ = {
E3D409D33B05989FC3BC310B /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Check Pods Manifest.lock";
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 cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
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 */
Expand Down Expand Up @@ -1854,8 +1857,10 @@
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
Expand Down Expand Up @@ -1902,8 +1907,10 @@
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
Expand All @@ -1923,6 +1930,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 9.2;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
VERSIONING_SYSTEM = "apple-generic";
Expand All @@ -1934,6 +1942,8 @@
isa = XCBuildConfiguration;
baseConfigurationReference = E4B275D491AE4CABC47FF7B2 /* Pods-CDAKit.debug.xcconfig */;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
Expand All @@ -1945,13 +1955,17 @@
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_OBJC_BRIDGING_HEADER = "";
SWIFT_OBJC_INTERFACE_HEADER_NAME = "$(SWIFT_MODULE_NAME)-Swift.h";
SWIFT_VERSION = 3.0;
};
name = Debug;
};
389170471C6CC1EE00A31299 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 5440B6F09B325B25FC518484 /* Pods-CDAKit.release.xcconfig */;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
Expand All @@ -1963,28 +1977,36 @@
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_OBJC_BRIDGING_HEADER = "";
SWIFT_OBJC_INTERFACE_HEADER_NAME = "$(SWIFT_MODULE_NAME)-Swift.h";
SWIFT_VERSION = 3.0;
};
name = Release;
};
389170491C6CC1EE00A31299 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = B3721CB6B043AD64FC0ED757 /* Pods-CDAKitTests.debug.xcconfig */;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
DEVELOPMENT_TEAM = E22XJ7D3WH;
INFOPLIST_FILE = CDAKitTests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = ericwhitley.org.CDAKitTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 3.0;
};
name = Debug;
};
3891704A1C6CC1EE00A31299 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 3584B78321E453821B9F825B /* Pods-CDAKitTests.release.xcconfig */;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
DEVELOPMENT_TEAM = E22XJ7D3WH;
INFOPLIST_FILE = CDAKitTests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = ericwhitley.org.CDAKitTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 3.0;
};
name = Release;
};
Expand Down
4 changes: 2 additions & 2 deletions CDAKit/CDAKit-Bridging-Header.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#import "SwiftTryCatch.h"

#import "WBTry.h"
/*
make sure you add the obj-c bridging header setting
-> project\Build Settings\(search for "bridging")\(add to "Objective-C Briding Header")
Expand All @@ -8,4 +8,4 @@
You may get bridging header issues if you add a folder instead of files by reference
http://stackoverflow.com/questions/31628890/calling-objective-c-from-swift-class-causing-linker-errors

*/
*/
2 changes: 1 addition & 1 deletion CDAKit/CDAKit.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//

#import <UIKit/UIKit.h>
//#import <SwitfTryCatch/SwiftTryCatch.h>
#import <Try/WBTry.h>

//! Project version number for CDAKit.
FOUNDATION_EXPORT double CDAKitVersionNumber;
Expand Down
Loading