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
After updating to version 0.34 of rules_swift_package_manager some SPM libs stopped to work with following error fail("No header files were provided.")
For example it appears when trying to add aws_sdk.
It seems in all cases it happens because those sdks create dummy targets in their Package.swift file. Those targets contain only single empty.m file and binary dependencies. Rules_swift_package_manager can't find any headers while creating module map for those targets and fail with error. https://github.com/aws-amplify/aws-sdk-ios-spm/blob/f7e79d076556210b1aec4289cc0028d7ac785959/Package.swift#L193
Are there any options to bypass this behaviour?
The text was updated successfully, but these errors were encountered:
After updating to version 0.34 of rules_swift_package_manager some SPM libs stopped to work with following error
fail("No header files were provided.")
For example it appears when trying to add aws_sdk.
It seems in all cases it happens because those sdks create dummy targets in their Package.swift file. Those targets contain only single empty.m file and binary dependencies. Rules_swift_package_manager can't find any headers while creating module map for those targets and fail with error.
https://github.com/aws-amplify/aws-sdk-ios-spm/blob/f7e79d076556210b1aec4289cc0028d7ac785959/Package.swift#L193
Are there any options to bypass this behaviour?
The text was updated successfully, but these errors were encountered: