5

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?

4
  • 1
    there are screenshots ? Commented Apr 21, 2016 at 14:11
  • I can try to explain it here with more details...which particular screenshot you looking for? Commented Apr 21, 2016 at 14:14
  • those two schemes has same target? Commented Apr 21, 2016 at 14:24
  • Yes, both of them have same iOS mobile app as target. (Schemes I have for dev and stage environments) Commented Apr 21, 2016 at 14:26

1 Answer 1

4

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.

Sign up to request clarification or add additional context in comments.

1 Comment

Where exactly that "build product path" can be set?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.