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
Using Xcode 16b1 we are currently unable to compile because of:
Undefined symbols for architecture arm64:"methodInfo.unsafeMutableAddressor : Reproducer.RCTMethodInfo in Static #1 in static Reproducer.CalendarModule.__rct_export__createEvent() -> Swift.UnsafePointer<Reproducer.RCTMethodInfo>?", referenced from:static Reproducer.CalendarModule.__rct_export__createEvent()-> Swift.UnsafePointer<Reproducer.RCTMethodInfo>? in noop-file.o
ld: symbol(s) not found for architecture arm64
Reproducer:
@ReactModule(jsName:"Calendar")classCalendarModule:NSObject,RCTBridgeModule{@ReactMethod@objcfunc createEvent(title:String, location:String){print("Create event '\(title)' at '\(location)'")}}
Hi!
I'm able to reproduce the same on Xcode 16 beta and it looks like a Xcode's issue with macros because it throws the error for Swift 5. Lets wait next beta to test.
Using Xcode 16b1 we are currently unable to compile because of:
Reproducer:
Workaround, inline the macro source:
Feels like an Xcode and/or Swift bug at this point given the inlined source works fine.
The text was updated successfully, but these errors were encountered: