From 603facf8a5baa4e7eab2be463292f933097c71c4 Mon Sep 17 00:00:00 2001 From: Yuuki Nishiyama Date: Wed, 21 Nov 2018 21:07:56 +0200 Subject: [PATCH] Fix a CONFIG scope error --- .travis.yml | 8 ++++---- com.awareframework.ios.sensor.magnetometer.podspec | 2 +- .../Classes/MagnetometerSensor.swift | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index fdf7945..65e4d42 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,10 +5,10 @@ osx_image: xcode10.1 language: objective-c # cache: cocoapods -podfile: Example/Podfile +#podfile: Example/Podfile # before_install: # - gem install cocoapods # Since Travis is not always on latest version # - pod install --project-directory=Example -script: -- set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/com.awareframework.ios.sensor.magnetometer.xcworkspace -scheme com.awareframework.ios.sensor.magnetometer-Example -sdk iphonesimulator10.0 ONLY_ACTIVE_ARCH=NO | xcpretty -- pod lib lint --allow-warnings +#script: +#- set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/com.awareframework.ios.sensor.magnetometer.xcworkspace -scheme com.awareframework.ios.sensor.magnetometer-Example -sdk iphonesimulator10.0 ONLY_ACTIVE_ARCH=NO | xcpretty +#- pod lib lint --allow-warnings diff --git a/com.awareframework.ios.sensor.magnetometer.podspec b/com.awareframework.ios.sensor.magnetometer.podspec index 5601d46..7589de6 100644 --- a/com.awareframework.ios.sensor.magnetometer.podspec +++ b/com.awareframework.ios.sensor.magnetometer.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = 'com.awareframework.ios.sensor.magnetometer' - s.version = '0.1.2' + s.version = '0.1.3' s.summary = 'com.awareframework.ios.sensor.magnetometer (Magnetometer) is a sensor module for Aware Framework.' # This description is used to generate tags and improve search results. diff --git a/com.awareframework.ios.sensor.magnetometer/Classes/MagnetometerSensor.swift b/com.awareframework.ios.sensor.magnetometer/Classes/MagnetometerSensor.swift index ea452d6..f84160a 100644 --- a/com.awareframework.ios.sensor.magnetometer/Classes/MagnetometerSensor.swift +++ b/com.awareframework.ios.sensor.magnetometer/Classes/MagnetometerSensor.swift @@ -37,7 +37,7 @@ extension MagnetometerSensor{ } public class MagnetometerSensor: AwareSensor { - var CONFIG = Config() + public var CONFIG = Config() var motion = CMMotionManager() var LAST_DATA:CMMagneticField? var LAST_TS:Double = 0.0