Skip to content

Commit

Permalink
Fix a CONFIG scope error
Browse files Browse the repository at this point in the history
  • Loading branch information
tetujin committed Nov 21, 2018
1 parent 9e94c2d commit 603facf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion com.awareframework.ios.sensor.magnetometer.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 603facf

Please sign in to comment.