Skip to content

Commit

Permalink
Module Map
Browse files Browse the repository at this point in the history
  • Loading branch information
MMasterson committed Sep 6, 2017
1 parent 47535c3 commit 1302746
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 20 deletions.
4 changes: 0 additions & 4 deletions Example/Sources/CCommonCrypto/module.modulemap

This file was deleted.

4 changes: 0 additions & 4 deletions Example/Sources/module.modulemap

This file was deleted.

11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,21 @@ This is an **iOS** and **MacOS** SDK to make it easy to talk to the

## Install

Inside your podfile add,
For `Objective-C`, place the following inside your podfile,

```bash
'pod 'TransloaditKit', git: 'https://github.com/transloadit/TransloaditKit'
```
For `Swift`, place the following inside your podfile,
```bash
pod 'Arcane'
pod 'TransloaditKit', git: 'https://github.com/transloadit/TransloaditKit'
```
Due to `CommonCrypto`
If there are no errors, you can start using the pod.
## Usage
Expand Down
4 changes: 4 additions & 0 deletions Transloadit/Classes/CCommonCrypto/module.modulemap
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module CCommonCrypto {
header "/usr/include/CommonCrypto/CommonCrypto.h"
export *
}
16 changes: 5 additions & 11 deletions TransloaditKit.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'TransloaditKit'
s.version = '0.0.4'
s.version = '0.0.5'
s.summary = 'An iOS and MacOS SDK for Transloadit.'

# This description is used to generate tags and improve search results.
Expand Down Expand Up @@ -42,14 +42,8 @@ s.source_files = 'Transloadit/Classes/**/*'
# s.frameworks = 'UIKit', 'MapKit'
s.dependency 'TUSKit'

s.preserve_paths = 'CocoaPods/**/*'
s.pod_target_xcconfig = {
'SWIFT_INCLUDE_PATHS[sdk=macosx*]' => '$(PODS_ROOT)/TransloaditKit/CocoaPods/macosx',
'SWIFT_INCLUDE_PATHS[sdk=iphoneos*]' => '$(PODS_ROOT)/TransloaditKit/CocoaPods/iphoneos',
'SWIFT_INCLUDE_PATHS[sdk=iphonesimulator*]' => '$(PODS_ROOT)/TransloaditKit/CocoaPods/iphonesimulator',
'SWIFT_INCLUDE_PATHS[sdk=appletvos*]' => '$(PODS_ROOT)/TransloaditKit/CocoaPods/appletvos',
'SWIFT_INCLUDE_PATHS[sdk=appletvsimulator*]' => '$(PODS_ROOT)/TransloaditKit/CocoaPods/appletvsimulator',
'SWIFT_INCLUDE_PATHS[sdk=watchos*]' => '$(PODS_ROOT)/TransloaditKit/CocoaPods/watchos',
'SWIFT_INCLUDE_PATHS[sdk=watchsimulator*]' => '$(PODS_ROOT)/TransloaditKit/CocoaPods/watchsimulator'
}
s.xcconfig = { 'SWIFT_INCLUDE_PATHS' =>
'$(PODS_ROOT)/TransloaditKit/Classes/CCommonCrypto' }
s.preserve_paths = 'Classes/CCommonCrypto/module.modulemap'

end

0 comments on commit 1302746

Please sign in to comment.