-
I just implemented this for [EnumeratorMacro](https://github.com/MahdiBM/enumerator-macro):
This will basically report back if a function call is invalid, and won't result in a silent failure…
-
### What happened?
When I use tuist cache macros work, however they cannot be expanded
### How do we reproduce it?
1. Download attached project [framework_with_native_swift_macro.zip](https://githu…
-
### Description
`swift/bridging` header defines a `SWIFT_CONFORMS_TO_PROTOCOL` macro, which expands to `__attribute__((swift_attr("conforms_to:MyModule.MyProtocol")))`.
This attribute lets the Swi…
-
### Description
Given a macro declaration like:
```swift
@freestanding(expression)
macro stringify(_ value: Int) -> (Int, String) = #externalMacro(module: "MyMacros", type: "StringifyMacro")
``…
-
**Is your feature request related to a problem? Please describe.**
When using Swift Testing in Swift 6, trying to do an `#expect(throws: XMLDeserializationError.***) {}` fails to compile due to a req…
-
### Description
Currently you need to use `XCTest` to run macro tests with `SwiftSyntaxMacrosTestSupport` functions because they rely on some `XCTest` functions such as `XCTFail`.
swift-syntax tes…
-
Using Xcode 15.2, periphery 2.18.0. I want to use periphery also to scan generated code from SwiftGen, R.swift, Xcode or macros. For SwiftGen and R.swift it's not a big deal, because their output file…
-
### Description
With Swift 5.9, I implemented a Swift package which provides a freestanding declaration macro. That macro expands to two variable declarations and a `defer` block to start a signpos…
-
### Description
In https://github.com/apple/swift-syntax/pull/2450 we introduced
```
@freestanding(expression)
public macro checkGeneric_root() = #externalMacro(module: "MacroDefinition", typ…
ktoso updated
4 weeks ago
-
### What happened?
xcodebuild -workspace App.xcworkspace \
-scheme App-DEVELOPMENT\
-sdk iphoneos \
-skipMacroValidation \
-archivePath $PWD/build/App.xcarchive \
-destination 'generic…