Skip to content

Commit

Permalink
Add a Swift port of SnowplowDemo (close #342)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhadam committed Mar 15, 2018
1 parent 88dff71 commit c588521
Show file tree
Hide file tree
Showing 97 changed files with 11,762 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Expand Up @@ -11,12 +11,10 @@ rvm:
- 2.2.2

before_install:
- gem install cocoapods -v '1.3.1'
- gem install cocoapods -v '1.4.0'
- gem install slather
- gem install xcpretty -N --no-ri --no-rdoc
- brew update
- if brew outdated | grep -qx xctool; then brew upgrade xctool; fi
- pod install
- pod install --repo-update

script:
- set -o pipefail
Expand Down
34 changes: 34 additions & 0 deletions SnowplowSwiftDemo/Podfile
@@ -0,0 +1,34 @@
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target 'SnowplowSwiftDemo' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!

platform :ios, '8.0'

# Pods for SnowplowSwiftDemo

pod 'SnowplowTracker', :path => '../'
pod 'SwiftTryCatch'

target 'SnowplowSwiftDemoTests' do
inherit! :search_paths
# Pods for testing
end

target 'SnowplowSwiftDemoUITests' do
inherit! :search_paths
# Pods for testing
end

end

post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['CLANG_ENABLE_OBJC_WEAK'] ||= 'YES'
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '8.0'
end
end
end
27 changes: 27 additions & 0 deletions SnowplowSwiftDemo/Podfile.lock
@@ -0,0 +1,27 @@
PODS:
- FMDB (2.6.2):
- FMDB/standard (= 2.6.2)
- FMDB/standard (2.6.2)
- Reachability (3.2)
- SnowplowTracker (0.7.0):
- FMDB (= 2.6.2)
- Reachability (= 3.2)
- SwiftTryCatch (0.0.1)

DEPENDENCIES:
- SnowplowTracker (from `../`)
- SwiftTryCatch

EXTERNAL SOURCES:
SnowplowTracker:
:path: ../

SPEC CHECKSUMS:
FMDB: 854a0341b4726e53276f2a8996f06f1b80f9259a
Reachability: 33e18b67625424e47b6cde6d202dce689ad7af96
SnowplowTracker: b445639aac57dc8f4c01d7433e370e5915103a4c
SwiftTryCatch: fb6d2b34abe48efd69578dac919293a44f95b481

PODFILE CHECKSUM: ee8668707da942c0c024303e73e0f57defbe9eaf

COCOAPODS: 1.4.0
28 changes: 28 additions & 0 deletions SnowplowSwiftDemo/Pods/FMDB/LICENSE.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c588521

Please sign in to comment.