Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/beta-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
deploy_public_beta_pod:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.PAT_ACTIONS }}
Expand All @@ -20,6 +20,7 @@ jobs:
with:
fallback: 1.0.0


- name: Deploy to Cocoapods
run: |
set -eo pipefail
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bump_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
bump_version_spec:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.PAT_ACTIONS }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -64,7 +64,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
Expand All @@ -77,12 +77,12 @@ jobs:
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"

- name: Upload SARIF Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: sarif-results-swift
path: /Users/runner/work/skyflow-ios/results/swift.sarif
3 changes: 2 additions & 1 deletion .github/workflows/internal_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
deploy_private_pod:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.PAT_ACTIONS }}
Expand Down Expand Up @@ -48,6 +48,7 @@ jobs:
with:
ssh-private-key: ${{ secrets.SSH_ACTIONS }}


- name: Push updated spec file
run: |
pod repo add private_spec git@github.com:skyflowapi/skyflow-iOS-private-spec.git
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main_coverage_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ on:
jobs:
CoverageReport:
name: Xcode Build
runs-on: macOS-latest
runs-on: macOS-15
timeout-minutes: 30

steps:
- name: Checkout Repo
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Select Xcode 16
run: sudo xcode-select --switch /Applications/Xcode_16.4.app/Contents/Developer
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
SwiftLint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: SwiftLint
uses: norio-nomura/action-swiftlint@3.2.1
env:
Expand All @@ -28,12 +28,12 @@ jobs:
args: --config .swiftlint.yml
xcode-build:
name: Xcode Build
runs-on: macOS-latest
runs-on: macOS-15
timeout-minutes: 30

steps:
- name: Checkout Repo
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Select Xcode 16
run: sudo xcode-select --switch /Applications/Xcode_16.4.app/Contents/Developer
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@ name: Public Release

on:
push:
tags: '*.*.*'
tags:
- '*.*.*'


jobs:
deploy_private_pod:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: main
Expand All @@ -21,6 +22,7 @@ jobs:
with:
fallback: 1.0.0


- name: Deploy to Cocoapods
run: |
set -eo pipefail
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Semgrep
run: pip install semgrep
Expand Down
16 changes: 0 additions & 16 deletions Package.resolved

This file was deleted.

3 changes: 1 addition & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,13 @@ let package = Package(
dependencies: [
// Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, from: "1.0.0"),
.package(url: "https://github.com/tadija/AEXML.git", from: "4.6.1")
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages this package depends on.
.target(
name: "Skyflow",
dependencies: ["AEXML"],
dependencies: [],
resources: [
.process("Resources")
]
Expand Down
9 changes: 4 additions & 5 deletions Skyflow.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,17 @@ Pod::Spec.new do |spec|

spec.author = { "Skyflow" => "service-ops@skyflow.com" }

spec.swift_version = '4.2'
spec.swift_version = '5.0'

spec.platform = :ios, "9.0"
spec.ios.deployment_target = "9.0"
spec.platform = :ios, "13.0"

spec.ios.deployment_target = "13.0"

spec.source = { :git => "https://github.com/skyflowapi/skyflow-iOS.git", :tag => "1.25.0" }

spec.source_files = "Sources/Skyflow/**/*.{swift}"

spec.resource_bundles = {'Skyflow' => ['Sources/Skyflow/Resources/**/*.{xcassets}'] }

spec.dependency "AEXML", "4.6.1"
end

1 change: 0 additions & 1 deletion Sources/Skyflow/core/Client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
// Implementation of Skyflow Client class

import Foundation
import AEXML

public class Client {
var vaultID: String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import Foundation
import XCTest
import AEXML

@testable import Skyflow


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import Foundation
import XCTest
import AEXML

@testable import Skyflow

class RevealSkyflowLabelViewTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import Foundation
import XCTest
import AEXML

@testable import Skyflow

// swiftlint:disable:next type_body_length
Expand Down
Loading