Dovakin Skyrim
Dovakin Skyrim

Reputation: 176

Framework path not found in one of Xcode scheme

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?

Upvotes: 5

Views: 1316

Answers (1)

Dovakin Skyrim
Dovakin Skyrim

Reputation: 176

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.

Upvotes: 4

Related Questions