Trying to create a framework using last Tuist

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?

Hi @IceFloe :wave:

Welcome to the community forum. I’m sorry to hear that you are having issues with the project.

Unfortunately, it’s hard for us to debug the issue without a reproducible project and a set of steps that I can follow.

You can also check out our fixtures directory, which contains a lot of examples of generated projects. You might be able to find the issue yourself.