Swift, Swiftui, iOS Development, Ios Developer, Mobile Development.
Now, simply calling Bundle.i18n will generate the correct Bundle instance based on the current environment. Add resource files PackageA Modify Package.swift Add defaultLocalization: "en", add .package(path: "I18NResource") in the dependencies of Package, and add .product(name: "I18NResource",