hmlongco / Factory

A new approach to Container-Based Dependency Injection for Swift and SwiftUI.
MIT License
1.7k stars 107 forks source link

Disable emitted module interface verification in order to create an XCFramework #192

Closed aaskrv closed 2 weeks ago

aaskrv commented 3 months ago

Hello!

As you mentioned in issue#173 making Key internal solved the issue with the compiler

However, the issue with xcodebuild failing to create an XCFramework remained. As for now, trying to create XCFramework using latest Factory 2.3.2 outputs a SwiftVerifyEmittedModuleInterface error

As I searched through, module verification was added starting from Xcode 14.3 and the only workaround I could find was to add a flag to disable it

hmlongco commented 3 months ago

Not too keen on disabling something that's telling me there's a problem.