cocoapods-binary icon indicating copy to clipboard operation
cocoapods-binary copied to clipboard

Invalid redeclaration of 'variable.storage' on Lazy variables

Open kapoorsahil opened this issue 6 years ago • 3 comments

All lazy variables in files used in app-extensions give this error.

Xcode 10.2 Swift 5.0

Screenshot 2019-04-03 at 2 36 06 PM

kapoorsahil avatar Apr 03 '19 09:04 kapoorsahil

@kapoorsahil I didn't reproduce it. Would you like to provide a demo?

leavez avatar Apr 16 '19 12:04 leavez

It's happening when a class's target membership is shared between the Main app and Siri Intents/Intents UI extension.

kapoorsahil avatar Apr 16 '19 12:04 kapoorsahil

Sorry, it doesn't reproduce. Maybe I doesn't understand precisely. Please provide a demo to demonstrate the problem. ( A blank project with cocoapods-binary can be downloaded here)

leavez avatar Apr 17 '19 03:04 leavez