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

fail to add package from SPM #31

Closed
LonYui opened this issue Dec 16, 2022 · 5 comments
Closed

fail to add package from SPM #31

LonYui opened this issue Dec 16, 2022 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@LonYui
Copy link

LonYui commented Dec 16, 2022

Describe the bug

i am try to install it . but fail
with err msg


Showing Recent Messages
package at 'https://github.com/MarcoDotIO/OpenAIKit' @ 2e6ad42b94ac283697a0affe41f9e9cd235a7777 is using Swift tools version 5.7.0 but the installed version is 5.5.0 in https://github.com/MarcoDotIO/OpenAIKit


To Reproduce

  1. open xcode any project
  2. File -> add package
  3. search for "https://github.com/MarcoDotIO/OpenAIKit"
  4. click add package

Code snippets

no code just xcode UI interact

OS

11.6.5

Swift Version

Swift 5.5

Xcode Version

Xcode 13.2.1

Library version

OpenAikit 1.1.1

@LonYui LonYui added the bug Something isn't working label Dec 16, 2022
@MarcoDotIO
Copy link
Member

Hello,

What iOS / macOS / watchOS / tvOS target version is your project?

@MarcoDotIO
Copy link
Member

Actually hold that thought, looked it up and 5.5 is backwards compatible with iOS 13 and similar Apple hardware versions. I will be making a version later today that incorporates multiple Swift versions down to 5.5. Thank you for bringing this up!

@MarcoDotIO MarcoDotIO self-assigned this Dec 16, 2022
@MarcoDotIO
Copy link
Member

Alright @LonYui please let me know if 1.1.2 reports the same errors for your project. I'd be happy to help further, as I have now added the different package variations for Swift 5.5 and 5.6.

@MarcoDotIO
Copy link
Member

Closing the issue, assuming the issue has been resolved. Please reopen if any further problems arise.

@LonYui
Copy link
Author

LonYui commented Dec 19, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants