Post not yet marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
contentPostList.repliesup-voted.tooltip
Replied In
Framework internal ModuleMap leaks to App?
Hi dhoel,I am compiling my framework including other sub-frameworks. When I got "error: missing required modules: ", I was looking for solution on internet and I found your post.I followed all your steps. My explicit module is Firebase and it has Firebase.h header file itself. I made sure to include it in "Public Header" of my framework "Base Phases". Following is my modlue map file.framework module MyFramework {
umbrella header "MyFramework.h"
export *
module * { export * }
explicit module Firebase {
header "Firebase.h"
export *
}
}But inside the Firebase.h file, there are other dependencies like "FirebaseCore.h", "FirebaseAnalytics.h", "FirebaseAuth.h" etc. Before I build my framework I also made sure to include that frameworks in "Link Binary With Libraies", "Copy Files" with destination with "Frameworks".But when I embed my framework to a project, I got "FirebaseCore/FirebaseCore.h" file not found error. Previous was "Firebase" moudule not found error.May I know do you have any clue for it?Best Regards,zaythu