0

Add Framework to project scheme rather than target. I have debug framework it has to be tested only in debug scheme created and should not be added to the project by adding it in the Frameworks, Libraries in the General Tab of Xcode project.

1 Answer 1

1

In order to add framework dynamically to a scheme. place below configurations in the config file. I want to use Alamofire only in debug scheme rather than adding it to the project target.

FRAMEWORK_SEARCH_PATHS = $(inherited) $(PROJECT_DIR)/Vendor/Alamofire OTHER_LDFLAGS = $(inherited) -framework "Alamofire"

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

Comments

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.