My configuration is:
.target(name: “Analytics”,
destinations: .iOS,
product: .framework,
bundleId: “com.something.Analytics”,
sources: [“…/Sources/Analytics/**”],
dependencies: [
.external(name: “LibraryOne”),
.external(name: “LibraryTwo”),
.external(name: “LibraryThree”)
]
),
when I am trying to build a target in generated project I am receiving this error
(fatal) module ‘App’ in AST file ‘/Users/alexgurin/Library/Developer/Xcode/DerivedData/AppTuist-gufegumupdjguqgqxaxwgigbnxmb/Build/Intermediates.noindex/AppTuist.build/Debug-iphonesimulator/Analytics.build/VerifyModule/Analytics_objective-c_arm64-apple-ios17.6-simulator_gnu99/cache/VAVK90RM406Y/AppTuist-7HEJ4EJRO4W5.pcm’ (imported by AST file ‘/Users/alexgurin/Library/Developer/Xcode/DerivedData/AppTuist-gufegumupdjguqgqxaxwgigbnxmb/Build/Intermediates.noindex/AppTuist.build/Debug-iphonesimulator/Analytics.build/VerifyModule/Analytics_objective-c_arm64-apple-ios17.6-simulator_gnu99/cache/VAVK90RM406Y/Test-JFZC6H15ACPT.pcm’) is not defined in any loaded module map file; maybe you need to load ‘/Users/alexgurin/Library/Developer/Xcode/DerivedData/AppTuist-gufegumupdjguqgqxaxwgigbnxmb/Build/Products/Debug-iphonesimulator/Analytics.framework/Modules/module.modulemap’?
The file that it showing me as an error is Test.m with #import <Test/Test.h> in it.
How to fix this error?