Current we could workaround by using a custom define in Package.swift
swiftSettings: [.define("SWIFT_PACKAGE")])
Topic:
Developer Tools & Services
SubTopic:
Swift Playground
Tags: