Skip to content
Closed
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
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.DS_Store
/.build
/Packages
/*.xcodeproj
xcuserdata/
DerivedData/
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
16 changes: 16 additions & 0 deletions Package.resolved

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 33 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "ROX",
platforms: [.iOS(.v8), .tvOS(.v10)],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(
name: "ROX",
targets: ["ROX"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
.package(name: "ROXCore", url: "https://github.com/arnauddorgans/rox-ios-core", .branch("spm"))
],
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: "ROX",
dependencies: [
"ROXCore"
],
path: "RoxSdk",
exclude: [
"Info.plist",
"RoxSdk.h"
])
]
)
2 changes: 1 addition & 1 deletion ROX.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Pod::Spec.new do |s|

s.source = { :git => "https://github.com/rollout/rox-ios.git", :tag => "4.10.16" }

s.source_files = '**/*.{h,swift}'
s.source_files = 'RoxSdk/**/*.{h,swift}'

s.dependency 'ROXCore', '4.10.16'

Expand Down