Skip to content

Commit

Permalink
v0.5.0: Update awareframework-core
Browse files Browse the repository at this point in the history
  • Loading branch information
tetujin committed Oct 20, 2021
1 parent 6f7e1f5 commit d638686
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -311,10 +311,8 @@
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
"${SRCROOT}/Pods/Target Support Files/Pods-com.awareframework.ios.sensor.activityrecognition_Example/Pods-com.awareframework.ios.sensor.activityrecognition_Example-frameworks.sh",
"${PODS_ROOT}/Target Support Files/Pods-com.awareframework.ios.sensor.activityrecognition_Example/Pods-com.awareframework.ios.sensor.activityrecognition_Example-frameworks.sh",
"${BUILT_PRODUCTS_DIR}/Networking/Networking.framework",
"${BUILT_PRODUCTS_DIR}/ReachabilitySwift/Reachability.framework",
"${BUILT_PRODUCTS_DIR}/Realm/Realm.framework",
Expand All @@ -324,8 +322,6 @@
"${BUILT_PRODUCTS_DIR}/com.awareframework.ios.sensor.core/com_awareframework_ios_sensor_core.framework",
);
name = "[CP] Embed Pods Frameworks";
outputFileListPaths = (
);
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Networking.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Reachability.framework",
Expand All @@ -337,7 +333,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-com.awareframework.ios.sensor.activityrecognition_Example/Pods-com.awareframework.ios.sensor.activityrecognition_Example-frameworks.sh\"\n";
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-com.awareframework.ios.sensor.activityrecognition_Example/Pods-com.awareframework.ios.sensor.activityrecognition_Example-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ class ViewController: UIViewController {
super.viewDidLoad()
// Do any additional setup after loading the view, typically from a nib.

// sensor = ActivityRecognitionSensor.init(ActivityRecognitionSensor.Config().apply{config in
// config.debug = true
// config.interval = 1
// config.dbType = .REALM
// })
// sensor?.start()
sensor = ActivityRecognitionSensor.init(ActivityRecognitionSensor.Config().apply{config in
config.debug = true
config.interval = 1
config.dbType = .REALM
})
sensor?.start()
}

class Observer:ActivityRecognitionObserver{
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

Copyright (c) 2018 AWARE Mobile Context Instrumentation Middleware/Framework (http://www.awareframework.com)
Copyright (c) 2021 AWARE Mobile Context Instrumentation Middleware/Framework (http://www.awareframework.com)

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ Yuuki Nishiyama, [email protected]

## License

Copyright (c) 2018 AWARE Mobile Context Instrumentation Middleware/Framework (http://www.awareframework.com)
Copyright (c) 2021 AWARE Mobile Context Instrumentation Middleware/Framework (http://www.awareframework.com)

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Expand Down
16 changes: 6 additions & 10 deletions com.awareframework.ios.sensor.activityrecognition.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.activityrecognition'
s.version = '0.4.1'
s.version = '0.5.0'
s.summary = 'An Activity Recognition Sensor Module for AWARE Framework.'

# This description is used to generate tags and improve search results.
Expand All @@ -24,7 +24,7 @@ Pod::Spec.new do |s|
s.homepage = 'https://github.com/awareframework/com.awareframework.ios.sensor.activityrecognition'
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.license = { :type => 'Apache2', :file => 'LICENSE' }
s.author = { 'tetujin' => '[email protected].ac.jp' }
s.author = { 'Yuuki Nishiyama' => '[email protected].ac.jp' }
s.source = { :git => 'https://github.com/awareframework/com.awareframework.ios.sensor.activityrecognition.git', :tag => s.version.to_s }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

Expand All @@ -34,13 +34,9 @@ Pod::Spec.new do |s|

s.source_files = 'com.awareframework.ios.sensor.activityrecognition/Classes/**/*'

# s.resource_bundles = {
# 'com.awareframework.ios.sensor.activityrecognition' => ['com.awareframework.ios.sensor.activityrecognition/Assets/*.png']
# }
s.frameworks = 'CoreMotion'
s.dependency 'com.awareframework.ios.sensor.core', '~> 0.4.3'

# s.public_header_files = 'Pod/Classes/**/*.h'
s.frameworks = 'CoreMotion' #, 'MapKit'
# s.dependency 'AFNetworking', '~> 2.3'
s.dependency 'com.awareframework.ios.sensor.core', '~> 0.4.1'

s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }

end

0 comments on commit d638686

Please sign in to comment.