Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 4 additions & 3 deletions CRuntime.podspec
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
Pod::Spec.new do |s|
s.name = "CRuntime"
s.version = "2.1.2"
s.version = "2.1.3"
s.summary = "CRuntime"
s.description = <<-DESC
C++ bridge for Runtime
DESC
s.homepage = "https://github.com/wickwirew/Runtime"
s.homepage = "https://github.com/wickwirew/CRuntime"
s.license = "MIT"
s.author = { "Wesley Wickwire" => "[email protected]" }
s.platform = :ios, "9.0"
s.source = { :git => "https://github.com/wickwirew/CRuntime.git", :tag => s.version }
s.source_files = 'Sources/**/*'
s.source_files = 'Sources/CRuntime/{*.h,*.m,*.swift}'
s.module_map = 'Sources/CRuntime/module.modulemap'
end
6 changes: 6 additions & 0 deletions Sources/CRuntime/CRuntime-umbrella.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#import <Foundation/Foundation.h>

#import "CRuntime.h"

FOUNDATION_EXPORT double CRuntimeVersionNumber;
FOUNDATION_EXPORT const unsigned char CRuntimeVersionString[];
3 changes: 3 additions & 0 deletions Sources/CRuntime/CRuntimeDummy.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import Foundation

private class CRuntimeDummy {}
8 changes: 5 additions & 3 deletions Sources/CRuntime/module.modulemap
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
module CRuntime {
header "CRuntime.h"
export *
framework module CRuntime {
umbrella header "CRuntime-umbrella.h"

export *
module * { export * }
}