Skip to content

CodeSphere-Academy/GitHubCore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GitHubCore SDK for Swift Package Manager

This repository provides Swift Package Manager support for GitHubCore SDK, allowing you to easily integrate the SDK into your iOS/iPadOS/visionOS application.

Installing GitHubCore SDK

To install GitHubCore SDK using Swift Package Manager you can follow the tutorial published by Apple using the URL for this repository with the current version:

  1. In Xcode, select “File” → “Add Packages...”
  2. Enter https://github.com/CodeSphere-Academy/GitHubCore.git

Alternatively, you can add the following dependency to your Package.swift file:

.package(url: "https://github.com/CodeSphere-Academy/GitHubCore.git", from: "1.1.0")

Why is there a separate repository for Swift Package Manager support?

The main git repository for GitHubCore SDK is very large, and Swift Package Manager always downloads the full repository with all git history. This GitHubCore repository is much smaller, so can be downloaded much more quickly.

Instead of downloading the full git history of GitHubCore SDK and building it from source, this repository just contains a pointer to the precompiled XCFramework included in the latest GitHubCore iOS SDK release. Since GitHubCore SDK doesn't provide source code it's strongly recommended that users depend on GitHubCore instead.

When using GitHubCore SDK SPM, the downloaded GitHubCore.xcframework isn't visible in the project navigator. To validate the authenticity of a GitHubCore SDK SPM package, you can confirm that the Package.swift file references a binary XCFramework from https://github.com/CodeSphere-Academy/GitHubCoreSDK/.

About

GitHubCore SPM package

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages