-
Notifications
You must be signed in to change notification settings - Fork 495
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
XCode 12 Build broken due to static package dependency #1530
Comments
Have you tried with a simple |
@mbarnach thanks for the response. Is there currently and Docs/Getting Started/Migration Guide on how a previously working IBM Kitura app? Which dependencies are still supported, which have to be replaced? A simple Kitura-only dependent Package.swift is building, but leaves one clueless on how to use, since kitura.io and the getting started guide are down. |
@hakkurishian you can find all the info on the new website Kitura.dev |
@hakkurishian Github is normally doing the migration, meaning if you have a package with @futurejones Thanks for the PR, we will review it ASAP. |
@hakkurishian Right now the focus is on making sure everything that was working from the IBM-Swift is now working on the Kitura org. I think all the package dependencies should be migrated, but not the examples/tutorials yet. So please let us know if you hit any dependencies that you need that are either not working or still on the IBM-Swift org. |
@mbarnach thank you for the advice. I updated my package to the Kitura versions of the packages resulting in this Package.swift:
The resulting errors are: |
@hakkurishian I just updated We still need to migrate |
@hakkurishian @dannys42 For SwiftMetrics, I have a temporary fork, that I'm using due to NIO update: https://github.com/mbarnach/SwiftMetrics/tree/NIO-update. I've pushed the PR, but no response yet. Hopefully the Kitura org could adopt that framework too... |
@mbarnach thanks a lot, I have tried to reference all of the later versions resulting in this Package.swift:
Unfortunately the errors about the static libraries remain |
@hakkurishian I had no issues compiling your package. I've you tried the command line ( |
Context and Description
A simple Kitura App ( kitura init) does not build on XCode 12 due to static library linking issue.
Environment Details
XCode 12.0
OSX 10.15.7
Swift 5.1
Steps to Reproduce
Expected vs. Actual Behaviour
Build Error Swift package target 'agentcore' is linked as a static library by 'ApplicationTests' and 'agentcore'. This will result in duplication of library code.
The text was updated successfully, but these errors were encountered: