Hi,
apple_framework copies .swiftmodule files into app bundle when used with dynamic vendored_xcframeworks.
This seems to be unnecessary.
This can be validate by running the following commands on latest master
$ bazelisk build //tests/ios/xcframeworks/Basic:XCFrameworksApp --apple_platform_type=ios
...
INFO: Build completed successfully, 1 total action
$ cp bazel-bin/tests/ios/xcframeworks/Basic/XCFrameworksApp.ipa XCFrameworksApp.zip
$ unzip -qq XCFrameworksApp.zip
find Payload/XCFrameworksApp.app -name '*.swiftmodule'
Payload/XCFrameworksApp.app/Frameworks/BasicXCFrameworkDynamic.framework/Modules/BasicXCFrameworkDynamic.swiftmodule
Furthermore when building with xcodebuild, .swiftmodule are never copied into app bundle.
This can be validate by building the following example project.
Hi,
apple_frameworkcopies.swiftmodulefiles into app bundle when used with dynamicvendored_xcframeworks.This seems to be unnecessary.
This can be validate by running the following commands on latest master
Furthermore when building with
xcodebuild,.swiftmoduleare never copied into app bundle.This can be validate by building the following example project.