3

I have a project that I can deploy to my iphone and simulator with no problem. When I try to archive it, I get a error.

Here is XCBuildConfiguration that was requested.

I don't know why i would randomly have this problem. The only changes I have made recently was I added app icon images.

5
  • Could you post the XCBuildConfigutation section of your .pbxproj here please? (Everything between /* Begin XCBuildConfiguration section */ and /* End XCBuildConfiguration section */) Commented Jul 17, 2014 at 20:58
  • Where can it be found? Commented Jul 17, 2014 at 21:05
  • 1
    Inside the .xcodeproj (which really just is a folder). Either use the terminal, or navigate to the xcodeproj in Finder, right-click on it and select "Show package content". Commented Jul 17, 2014 at 21:06
  • Try to clean project/derived data folder. This usually helps from random errors like this. Also you may try to create another project and add only JASidePanels pod there and try to reproduce error. Commented Aug 6, 2014 at 6:18
  • "generating multiple output files" is probably caused by the fact that clang can also compile header files to "precompiled header files".So will you please check all the import statement in the .pch file is between#ifdef __OBJC__ and #endif.Are you using any .c file in your project ? Commented Aug 6, 2014 at 11:27

2 Answers 2

3

In the Other C Flags build setting there is an -iquote argument that is not followed by the required directory argument. This causes the subsequent -isystem argument in the clang invocation to be interpreted as the directory for the stray -iquote and /Users/ethan/WorkSpace/StudyTree/JASidePanels-master/../Pods/Headers to be interpreted as an additional input file, resulting in the multiple output files error.

Either remove the -iquote argument from the build setting or add the directory argument.

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

Comments

0

Try Setting Enable Index-While-Building Functionality to No.

In Xcode, Build Settings > Build Options > Enable Index-While-Building Functionality set it to "No".

If that worked, make sure to upvote this answer where I got it from:

https://stackoverflow.com/a/48717558/293280

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.