pitt500 / SwiftAndTipsMacros

A list of Swift Macros to make your coding live on Apple ecosystem simpler and more productive.
MIT License
83 stars 7 forks source link

Type X has no member sample #5

Closed EmirhanKarahan closed 2 weeks ago

EmirhanKarahan commented 4 weeks ago

After adding "SampleBuilder", even expanding macro sample is shown but IDE gives error of has no member.

Screenshot 2024-06-25 at 09 57 30

Device Specs: Xcode 15.4 M3 Pro - MacOS Sonoma

pitt500 commented 3 weeks ago

Hi @EmirhanKarahan, thanks for posting the issue.

SampleBuilder UIKit

I tried to replicate the same issue you posted, but everything works fine on my machine.

Did you try cleaning build folder and removing derived data?

I ran it in Xcode 15.4 and Xcode 16 beta.

Regards, Pitt

EmirhanKarahan commented 2 weeks ago

I was hundred percent sure that I have removed derived data and build folder but It seems I didn't. :D It works now. Thank you for your time.