Hello , When I use
swift package generate-xcodeproj I get a warning:
warning: Xcode can open and build Swift Packages directly. 'generate-xcodeproj' is no longer needed and will be deprecated soon.
However, it is still needed. Without running the above command, Xcode is not smart enough to open it as an Xcode project, it looks like a normal package instead.
I don't understand this comment: Swift package generate-xcodeproj - #2 by lukasa
With Xcode 11 you can simply open a Swift package directly, without needing to generate an intermediary Xcode project. Navigate to your directory and type
Sure you can open with
xed but that will get you the screenshot above, with no Xcode project tab e.g. (build settings, build phases, targets, etc.)
I'm afraid this functionality will be removed in the future, because I don't know what the error means.
generate-xcodeproj seems useful to me.