Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
arietrouw committed Sep 6, 2019
2 parents 4bb315b + e17b1cf commit b2534bd
Show file tree
Hide file tree
Showing 22 changed files with 517 additions and 116 deletions.
6 changes: 3 additions & 3 deletions SampleiOS/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ platform :ios, '11.0'
use_frameworks!

target 'SampleiOS' do
pod 'sdk-objectmodel-swift', '~> 0.1.2-beta.3'
pod 'sdk-core-swift', '~> 0.1.5-beta.2'
pod 'XyBleSdk', :path => '/Users/carterharrison/Documents/github/xyo/sdk-ble-swift/'
pod 'sdk-objectmodel-swift', '~> 0.1.3-beta.0'
pod 'sdk-core-swift', '~> 0.1.6-beta.4'
pod 'XyBleSdk', '~> 0.0.1'
pod 'sdk-xyobleinterface-swift', :path => '../'

end
Expand Down
31 changes: 12 additions & 19 deletions SampleiOS/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,24 @@ PODS:
- PromisesObjC (1.2.6)
- PromisesSwift (1.2.6):
- PromisesObjC (= 1.2.6)
- sdk-core-swift (0.1.5-beta.2):
- sdk-core-swift (0.1.6-beta.4):
- sdk-objectmodel-swift (~> 0.1.2-beta.3)
- secp256k1.swift
- sdk-objectmodel-swift (0.1.2-beta.3)
- sdk-xyobleinterface-swift (0.1.3-beta.0):
- sdk-objectmodel-swift (0.1.3-beta.0)
- sdk-xyobleinterface-swift (0.1.5-beta.0):
- PromisesSwift (~> 1.2.4)
- sdk-core-swift (~> 0.1.5-beta.2)
- sdk-objectmodel-swift (~> 0.1.2-beta.3)
- sdk-xyobleinterface-swift/XyBleSdk (= 0.1.3-beta.0)
- XyBleSdk
- sdk-xyobleinterface-swift/XyBleSdk (0.1.3-beta.0):
- PromisesSwift (~> 1.2.4)
- sdk-core-swift (~> 0.1.5-beta.2)
- sdk-objectmodel-swift (~> 0.1.2-beta.3)
- XyBleSdk
- XyBleSdk (~> 0.0.1)
- secp256k1.swift (0.1.4)
- XyBleSdk (0.0.1):
- PromisesSwift (~> 1.2.4)

DEPENDENCIES:
- sdk-core-swift (~> 0.1.5-beta.2)
- sdk-objectmodel-swift (~> 0.1.2-beta.3)
- sdk-core-swift (~> 0.1.6-beta.4)
- sdk-objectmodel-swift (~> 0.1.3-beta.0)
- sdk-xyobleinterface-swift (from `../`)
- XyBleSdk (from `/Users/carterharrison/Documents/github/xyo/sdk-ble-swift/`)
- XyBleSdk (~> 0.0.1)

SPEC REPOS:
https://github.com/cocoapods/specs.git:
Expand All @@ -34,22 +28,21 @@ SPEC REPOS:
- sdk-core-swift
- sdk-objectmodel-swift
- secp256k1.swift
- XyBleSdk

EXTERNAL SOURCES:
sdk-xyobleinterface-swift:
:path: "../"
XyBleSdk:
:path: "/Users/carterharrison/Documents/github/xyo/sdk-ble-swift/"

SPEC CHECKSUMS:
PromisesObjC: 60326422b6d692b9718a80666e67a9433862aa88
PromisesSwift: b3219d5e6545d5d7e8ad8038b4ad139f7ee0b3f0
sdk-core-swift: 8d254021959a3edaff4441ff389c05dfee55c7b8
sdk-objectmodel-swift: 93b02d39d406c39e45ad15a2d5b488c9f8e16b58
sdk-xyobleinterface-swift: a0f3dc4a7f6f9c6bf5a17343200d5d8739302a1a
sdk-core-swift: 82e3d3f5fd06f20077d7523d604118d8d4c0d71f
sdk-objectmodel-swift: 104ba91becdd7a29bccedbabd3ba93e39237e510
sdk-xyobleinterface-swift: 2c61c7651f192fbe01729a80a28285ae34cbc3da
secp256k1.swift: a7e7a214f6db6ce5db32cc6b2b45e5c4dd633634
XyBleSdk: 412c59d8b05e92a4c2341bcf11909861a12ddbba

PODFILE CHECKSUM: 00ba41a87d9c68caa536af37a64b7e3219da20d2
PODFILE CHECKSUM: d6c082df33122a17d54b6cf77a07c3c65956aa3d

COCOAPODS: 1.7.0.beta.2
43 changes: 43 additions & 0 deletions SampleiOS/Project/Project_base.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
ALWAYS_SEARCH_USER_PATHS = NO
CLANG_ANALYZER_NONNULL = YES
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE
CLANG_CXX_LANGUAGE_STANDARD = gnu++14
CLANG_CXX_LIBRARY = libc++
CLANG_ENABLE_MODULES = YES
CLANG_ENABLE_OBJC_ARC = YES
CLANG_ENABLE_OBJC_WEAK = YES
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES
CLANG_WARN_BOOL_CONVERSION = YES
CLANG_WARN_COMMA = YES
CLANG_WARN_CONSTANT_CONVERSION = YES
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR
CLANG_WARN_DOCUMENTATION_COMMENTS = YES
CLANG_WARN_EMPTY_BODY = YES
CLANG_WARN_ENUM_CONVERSION = YES
CLANG_WARN_INFINITE_RECURSION = YES
CLANG_WARN_INT_CONVERSION = YES
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES
CLANG_WARN_STRICT_PROTOTYPES = YES
CLANG_WARN_SUSPICIOUS_MOVE = YES
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE
CLANG_WARN_UNREACHABLE_CODE = YES
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES
CODE_SIGN_IDENTITY = iPhone Developer
COPY_PHASE_STRIP = NO
ENABLE_STRICT_OBJC_MSGSEND = YES
GCC_C_LANGUAGE_STANDARD = gnu11
GCC_NO_COMMON_BLOCKS = YES
GCC_WARN_64_TO_32_BIT_CONVERSION = YES
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR
GCC_WARN_UNDECLARED_SELECTOR = YES
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE
GCC_WARN_UNUSED_FUNCTION = YES
GCC_WARN_UNUSED_VARIABLE = YES
IPHONEOS_DEPLOYMENT_TARGET = 12.1
MTL_FAST_MATH = YES
SDKROOT = iphoneos
10 changes: 10 additions & 0 deletions SampleiOS/Project/Project_debug.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#include "Project/Project_base.xcconfig"
DEBUG_INFORMATION_FORMAT = dwarf
ENABLE_TESTABILITY = YES
GCC_DYNAMIC_NO_PIC = NO
GCC_OPTIMIZATION_LEVEL = 0
GCC_PREPROCESSOR_DEFINITIONS = ["DEBUG=1", "$(inherited)"]
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE
ONLY_ACTIVE_ARCH = YES
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG
SWIFT_OPTIMIZATION_LEVEL = -Onone
7 changes: 7 additions & 0 deletions SampleiOS/Project/Project_release.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#include "Project/Project_base.xcconfig"
DEBUG_INFORMATION_FORMAT = dwarf-with-dsym
ENABLE_NS_ASSERTIONS = NO
MTL_ENABLE_DEBUG_INFO = NO
SWIFT_COMPILATION_MODE = wholemodule
SWIFT_OPTIMIZATION_LEVEL = -O
VALIDATE_PRODUCT = YES
10 changes: 7 additions & 3 deletions SampleiOS/SampleiOS.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 50;
objectVersion = 51;
objects = {

/* Begin PBXBuildFile section */
Expand Down Expand Up @@ -307,7 +307,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.1;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
Expand Down Expand Up @@ -362,7 +362,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.1;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = iphoneos;
Expand All @@ -377,6 +377,7 @@
baseConfigurationReference = A95B1D589033CCF2C9F69382 /* Pods-SampleiOS.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = WA9VC4AR6Q;
INFOPLIST_FILE = "$(SRCROOT)/SampleiOS/Info.plist";
Expand All @@ -387,6 +388,7 @@
);
PRODUCT_BUNDLE_IDENTIFIER = "network.xyo.mod-ble-sample";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_VERSION = 4.2;
TARGETED_DEVICE_FAMILY = "1,2";
};
Expand All @@ -397,6 +399,7 @@
baseConfigurationReference = F00788F97B67662323DB344A /* Pods-SampleiOS.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = WA9VC4AR6Q;
INFOPLIST_FILE = "$(SRCROOT)/SampleiOS/Info.plist";
Expand All @@ -407,6 +410,7 @@
);
PRODUCT_BUNDLE_IDENTIFIER = "network.xyo.mod-ble-sample";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_VERSION = 4.2;
TARGETED_DEVICE_FAMILY = "1,2";
};
Expand Down
26 changes: 15 additions & 11 deletions SampleiOS/SampleiOS/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14460.31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="EOS-wa-Oux">
<device id="retina4_7" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14460.20"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
Expand All @@ -9,21 +13,21 @@
<!--Nearby Devices-->
<scene sceneID="5xf-FO-mCN">
<objects>
<tableViewController id="tpm-jw-CYp" customClass="ViewController" customModule="mod_ble_swift" customModuleProvider="target" sceneMemberID="viewController">
<tableViewController id="tpm-jw-CYp" customClass="ViewController" customModule="SampleiOS" customModuleProvider="target" sceneMemberID="viewController">
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" id="7Kj-hI-S3q">
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="cell" id="ARs-Px-fFA" customClass="TableViewCellController" customModule="mod_ble_swift" customModuleProvider="target">
<rect key="frame" x="0.0" y="28" width="600" height="44"/>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="cell" id="ARs-Px-fFA" customClass="TableViewCellController" customModule="SampleiOS" customModuleProvider="target">
<rect key="frame" x="0.0" y="28" width="375" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="ARs-Px-fFA" id="Mbc-oF-IhR">
<rect key="frame" x="0.0" y="0.0" width="600" height="43.5"/>
<rect key="frame" x="0.0" y="0.0" width="375" height="43.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="uNf-XW-kJW">
<rect key="frame" x="16" y="11" width="42" height="21"/>
<rect key="frame" x="16" y="11" width="200" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
Expand Down Expand Up @@ -68,17 +72,17 @@
<!--Byte List View Controller-->
<scene sceneID="vvU-k9-1yi">
<objects>
<viewController id="hS7-Av-OZp" customClass="ByteListViewController" customModule="mod_ble_swift" customModuleProvider="target" sceneMemberID="viewController">
<viewController id="hS7-Av-OZp" customClass="ByteListViewController" customModule="SampleiOS" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="PHY-03-xLe">
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tableView clipsSubviews="YES" contentMode="scaleToFill" fixedFrame="YES" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="8PW-dh-cIk">
<rect key="frame" x="0.0" y="64" width="375" height="603"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="bcell" rowHeight="76" id="fHQ-nq-1Ln" customClass="BytesTableViewCell" customModule="mod_ble_swift" customModuleProvider="target">
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="bcell" rowHeight="76" id="fHQ-nq-1Ln" customClass="BytesTableViewCell" customModule="SampleiOS" customModuleProvider="target">
<rect key="frame" x="0.0" y="28" width="375" height="76"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="fHQ-nq-1Ln" id="Pc4-nP-VJ1">
Expand Down Expand Up @@ -116,9 +120,9 @@
<!--Byte Item View Controller-->
<scene sceneID="Zvl-0B-tnb">
<objects>
<viewController id="Oio-VE-QtE" customClass="ByteItemViewController" customModule="mod_ble_swift" customModuleProvider="target" sceneMemberID="viewController">
<viewController id="Oio-VE-QtE" customClass="ByteItemViewController" customModule="SampleiOS" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="vSl-RP-c7Y">
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="top" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" usesAttributedText="YES" lineBreakMode="characterWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ftv-ao-tpw">
Expand Down
10 changes: 10 additions & 0 deletions SampleiOS/SampleiOS/SampleiOS_base.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon
CODE_SIGN_STYLE = Automatic
DEVELOPMENT_TEAM = WA9VC4AR6Q
INFOPLIST_FILE = $(SRCROOT)/SampleiOS/Info.plist
IPHONEOS_DEPLOYMENT_TARGET = 11.0
LD_RUNPATH_SEARCH_PATHS = ["$(inherited)", "@executable_path/Frameworks"]
PRODUCT_BUNDLE_IDENTIFIER = network.xyo.mod-ble-sample
PRODUCT_NAME = $(TARGET_NAME)
SWIFT_VERSION = 4.2
TARGETED_DEVICE_FAMILY = 1,2
1 change: 1 addition & 0 deletions SampleiOS/SampleiOS/SampleiOS_debug.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include "SampleiOS/SampleiOS_base.xcconfig"
1 change: 1 addition & 0 deletions SampleiOS/SampleiOS/SampleiOS_release.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include "SampleiOS/SampleiOS_base.xcconfig"
25 changes: 24 additions & 1 deletion SampleiOS/SampleiOS/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import CoreBluetooth
import XyBleSdk
import sdk_core_swift
import sdk_xyobleinterface_swift
import Promises


/// The primary view controller that maintains the list of device and handles bound witnesses.
Expand Down Expand Up @@ -68,6 +69,7 @@ class ViewController: UITableViewController, XYSmartScanDelegate, XyoPipeCharact
XyoBluetoothDevice.family.enable(enable: true)
XyoBluetoothDeviceCreator.enable(enable: true)
XyoSentinelXDeviceCreator().enable(enable: true)
XyoBridgeXDeviceCreator().enable(enable: true)

scanner.start(mode: XYSmartScanMode.foreground)
scanner.setDelegate(self, key: "main")
Expand Down Expand Up @@ -123,7 +125,16 @@ class ViewController: UITableViewController, XYSmartScanDelegate, XyoPipeCharact

override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = self.tableView.dequeueReusableCell(withIdentifier: "cell",for: indexPath as IndexPath) as! TableViewCellController
cell.title.text = "XYO"
let device = self.devices[indexPath.row]

if (device as? XyoSentinelXDevice != nil) {
cell.title.text = "XYO SentinelX"
} else if (device as? XyoBridgeXDevice != nil) {
cell.title.text = "XYO BridgeX"
} else {
cell.title.text = "XYO Device"
}

return cell
}

Expand Down Expand Up @@ -177,15 +188,22 @@ class ViewController: UITableViewController, XYSmartScanDelegate, XyoPipeCharact
}

device.connection {

XYCentral.instance.connect(to: device)

guard let pipe = device.tryCreatePipe() else {
return
}

let handler = XyoNetworkHandler(pipe: pipe)

let awaiter = Promise<Any?>.pending()

self.originChainCreator.boundWitness(handler: handler, procedureCatalogue: XyoFlagProcedureCatalogue(forOther: 0xff, withOther: 0xff), completion: { (boundWitness, error) in


awaiter.fulfill(nil)

self.boundWitness = boundWitness
self.canUpdate = true
XYCentral.instance.disconnect(from: device)
Expand All @@ -194,6 +212,11 @@ class ViewController: UITableViewController, XYSmartScanDelegate, XyoPipeCharact
self.performSegue(withIdentifier: "showView", sender: self)
}
})

_ = try await(awaiter)

}.then {
XYCentral.instance.disconnect(from: device)
}
}

Expand Down
14 changes: 3 additions & 11 deletions sdk-xyobleinterface-swift.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

Pod::Spec.new do |s|
s.name = 'sdk-xyobleinterface-swift'
s.version = '3.0.0'
s.version = '3.0.1'
s.summary = 'A short description of sdk-xyobleinterface-swift'
s.swift_version = 5.0
s.swift_version = '5.0'
# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
Expand All @@ -25,19 +25,12 @@ TODO: Add long description of the pod here.
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.license = { :type => 'LGPL3', :file => 'LICENSE' }
s.author = { 'Carter Harrison' => 'carterjharrison@gmail.com' }
s.source = { :git => 'https://github.com/XYOracleNetwork/sdk-xyobleinterface-swiftt', :tag => s.version.to_s }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
s.source = { :git => 'https://github.com/XYOracleNetwork/sdk-xyobleinterface-swift', :tag => s.version.to_s }

s.ios.deployment_target = '11.0'

s.source_files = 'sdk-xyobleinterface-swift/**/*.{swift}'

# s.resource_bundles = {
# 'sdk-objectmodel-swift' => ['sdk-objectmodel-swift/Assets/*.png']
# }

# s.public_header_files = 'Pod/Classes/**/*.h'
# s.frameworks = 'UIKit', 'MapKit'
s.dependency 'PromisesSwift', '~> 1.2.4'

s.dependency 'sdk-objectmodel-swift', '~> 3.0'
Expand All @@ -48,5 +41,4 @@ TODO: Add long description of the pod here.
ss.source_files = '../sdk-ble-swift/Source/**/*.{swift}'
end


end
Loading

0 comments on commit b2534bd

Please sign in to comment.