I have one of my own iOS framework embeded in my iOS application. I have workspace file where both framework and my application project exist. I have created universal scheme in framework project which takes care of updating framework changes in my application project.
I am able to run my application project with my default scheme. (say "ProjectName")
However when I am trying to run my project with other scheme (say "ProjectName-Dev), Xcode is not able to build project and gives the error:
"No such module <Framework name>"
Any idea why one scheme is working fine while other not?
To include a framework in your Xcode project, choose Project > Add to Project and select the framework directory. Alternatively, you can control-click your project group and choose Add Files > Existing Frameworks from the contextual menu.
Ok I found the answer to my problem. All I needed was to update my build products path. I update my other scheme (stage environment scheme) build product path to same as my default debug scheme. $(PROJECT_TEMP_DIR)/Debug$(EFFECTIVE_PLATFORM_NAME)
Where "Debug" is my default scheme.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With