Skip to content

Commit

Permalink
Add iOS framework
Browse files Browse the repository at this point in the history
  • Loading branch information
dtweston committed Dec 22, 2015
1 parent 62b0689 commit 4b2fcf0
Show file tree
Hide file tree
Showing 8 changed files with 332 additions and 11 deletions.
28 changes: 28 additions & 0 deletions YAML iOS-Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIconFile</key>
<string></string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>
223 changes: 215 additions & 8 deletions YAML.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

80 changes: 80 additions & 0 deletions YAML.xcodeproj/xcshareddata/xcschemes/YAML iOS.xcscheme
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0720"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "B6A432A01C27CE40007FB63C"
BuildableName = "YAML.framework"
BlueprintName = "YAML iOS"
ReferencedContainer = "container:YAML.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "B6A432A01C27CE40007FB63C"
BuildableName = "YAML.framework"
BlueprintName = "YAML iOS"
ReferencedContainer = "container:YAML.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "B6A432A01C27CE40007FB63C"
BuildableName = "YAML.framework"
BlueprintName = "YAML iOS"
ReferencedContainer = "container:YAML.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
2 changes: 1 addition & 1 deletion YAML.xcodeproj/xcshareddata/xcschemes/YAML.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "B6A4324B1C2708AC007FB63C"
BlueprintIdentifier = "B6A432571C2708F7007FB63C"
BuildableName = "YAMLUnitTests.xctest"
BlueprintName = "YAMLUnitTests"
ReferencedContainer = "container:YAML.xcodeproj">
Expand Down
1 change: 0 additions & 1 deletion YAMLSerialization.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
//

#import <Foundation/Foundation.h>
#import "yaml.h"

// Mimics NSPropertyListMutabilityOptions
typedef enum {
Expand Down
1 change: 1 addition & 0 deletions YAMLSerialization.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
//

#import "YAMLSerialization.h"
#import "yaml.h"

NSString *const YAMLErrorDomain = @"com.github.mirek.yaml";

Expand Down
2 changes: 1 addition & 1 deletion YAML_Prefix.pch
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
//

#ifdef __OBJC__
#import <Cocoa/Cocoa.h>
#import <Foundation/Foundation.h>
#endif
6 changes: 6 additions & 0 deletions module.modulemap
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
framework module YAML {
umbrella header "YAMLSerialization.h"

export *
module * { export * }
}

0 comments on commit 4b2fcf0

Please sign in to comment.