Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.

SPM support #33

Open
raulriera opened this issue Nov 16, 2020 · 3 comments
Open

SPM support #33

raulriera opened this issue Nov 16, 2020 · 3 comments
Assignees
Labels
feature A new feature proposal needs triage Someone from the team needs to look at this issue

Comments

@raulriera
Copy link
Contributor

Feature

It would be preferable to use Swift Package Manager over all the options disclosed in the readme file

@raulriera raulriera added feature A new feature proposal needs triage Someone from the team needs to look at this issue labels Nov 16, 2020
@raulriera
Copy link
Contributor Author

I was able to create a starting guide for this. But there appears to be issues with the inner submodule of .Client. Unable to trouble shoot because I can't get the SDK to compile with Carthage either

// 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: "FiskalySDK",
	defaultLocalization: "en",
	platforms: [
		.iOS(.v9)
	],
	products: [
		.library(
			name: "FiskalySDK",
			targets: ["FiskalySDK"]),
	],
	dependencies: [],
	targets: [
        .target(name: "FiskalySDK",
                path: "FiskalySDK"),
		.testTarget(name: "FiskalySDKTests",
					dependencies: ["FiskalySDK"],
                    path: "FiskalySDKTests"),
	]
)

@prempador
Copy link
Contributor

Thank you @raulriera for the feature request. I will take a look into it as soon as I have time.

@havocked
Copy link

havocked commented Dec 1, 2020

#35

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature A new feature proposal needs triage Someone from the team needs to look at this issue
Projects
None yet
Development

No branches or pull requests

4 participants