Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add project.yml for xcodegened project with SPM #1713

Merged
merged 2 commits into from
Nov 18, 2023

Conversation

rinat-enikeev
Copy link
Contributor

Motivation: migrate from development pods.

What: created project.yml and refactored code to enable SPM based build.

Steps:

brew install xcodegen
xcodegen
xed Ruuvi\ Station.xcodeproj/
Build and Run

Motivation: migrate from development pods.
What: created project.yml and refactored code to enable SPM based build.
Steps:
> brew install xcodegen
> xcodegen
> xed Ruuvi\ Station.xcodeproj/
Build and Run
Copy link

sonarcloud bot commented Nov 12, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

No Coverage information No Coverage information
47.3% 47.3% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "RuuviLocalization",
platforms: [.macOS(.v10_15), .iOS(.v13)],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can probably set minimum target to iOS 14 since the main target is already bumped to iOS 14 min.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree that main target is iOS 14+, but we don't need it in these packages :) Imho let's keep the iOS 13 for now, will bump it if there is a need

Copy link
Collaborator

@priyonto priyonto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Except we can probably make the minimum target for packages to iOS 14. But, its not critical.

@priyonto priyonto marked this pull request as ready for review November 12, 2023 15:54
@rinat-enikeev rinat-enikeev merged commit 6cc7f56 into dev Nov 18, 2023
1 of 2 checks passed
@rinat-enikeev rinat-enikeev deleted the feature/xcodegen_spm branch November 18, 2023 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants