You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apple Swift Package Manager - Swift 5.0.0 (swiftpm-14490.62.2)
Additional Detail from JIRA
Votes
1
Component/s
Package Manager
Labels
Improvement
Assignee
None
Priority
Medium
md5: 1dbee19adf0d648d26a655c3c8bacecc
Issue Description:
I would like to have a complex example which covers all corners of Package manager.
Particularly, I would like to know how to lift existed Objective-C project into Swift packages.
I have encountered several errors.
Error
Description
Unable to search public headers recursively
When you specify path to headers, you should specify path to headers Include directory, no matter what it is.
Unable to exclude headers
When you put all headers in one directory, you should consider which headers are public and which are private and sort them appropriately.
Unable to handle framework imports with angle brackets
All imports of #import <Library/PublicHeader.h> should be replaced by plain #import "PublicHeader.h" to allow SwiftPM to build library.
Unable to resolve modern module import in command line interface for tests.
When you would like to test existed library, you need to change all framework imports by module imports. At this point, library will compile and even tests are executed in Xcode. But when you try to test library from command line ( run `swift test` ), it won't compile with error "unable to find module @import Library;"
Environment
Xcode 11 beta 3
Build version 11M362v
Apple Swift Package Manager - Swift 5.0.0 (swiftpm-14490.62.2)
Additional Detail from JIRA
md5: 1dbee19adf0d648d26a655c3c8bacecc
Issue Description:
I would like to have a complex example which covers all corners of Package manager.
Particularly, I would like to know how to lift existed Objective-C project into Swift packages.
I have encountered several errors.
Project:
https://github.com/lolgear/CocoaLumberjack
Branch: swift_package
The text was updated successfully, but these errors were encountered: