Skip to content

Commit

Permalink
Merge pull request #4 from adafruit/xcode15_update
Browse files Browse the repository at this point in the history
Xcode15 update
  • Loading branch information
TrevKnows authored Feb 29, 2024
2 parents 60c0ae8 + 47ffad0 commit 78a3e93
Show file tree
Hide file tree
Showing 106 changed files with 4,268 additions and 2,373 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build App
on:
push:
pull_request:
branches: [ "main" ]

jobs:
build-stable:
name: Build Bluefruit in stable Xcode
runs-on: macos-13
strategy:
matrix:
xcode: ['15.0.1']
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Select ${{ matrix.xcode }}
run: |
sudo xcode-select -s /Applications/Xcode_$XCODE_VERSION.app
xcode-select -p
env:
XCODE_VERSION: ${{ matrix.xcode }}

- name: Build
run: xcodebuild -scheme BluefruitPlayground -workspace BluefruitPlayground.xcworkspace -destination "generic/platform=iOS" -configuration Release build CODE_SIGNING_ALLOWED=NO
97 changes: 57 additions & 40 deletions BluefruitPlayground.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1130"
LastUpgradeVersion = "1500"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1120"
LastUpgradeVersion = "1500"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1130"
LastUpgradeVersion = "1500"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ extension BlePeripheral {
}

// Time period
if let timePeriod = timePeriod { // Set timePeriod if not nil
let serviceUuid = characteristic.service.uuid
if let timePeriod = timePeriod, let serviceUuid = characteristic.service?.uuid { // Set timePeriod if not nil

self.adafruitSetPeriod(timePeriod, serviceUuid: serviceUuid) { _ in

if Config.isDebugEnabled {
Expand Down
Loading

0 comments on commit 78a3e93

Please sign in to comment.