I started getting this error only after upgrading from Xcode 8.2 to Xcode 8.3 and only when creating an archive assembly (debug builds work fine).
When I make an archive through Xcode, the only message I get is "Linker command failed with exit code 1 (use -v to view the call).
I am building using the command line xcodebuild -scheme MyProduct
When I built this path, I discovered a number of problems (again, only when performing Archiving):
- I had to add
import UIKitfor almost every swift file. - all pods had problems
- remove everything from app-Bridging-Header.h
- add a few things back to app-Bridging-Header.h
My current problem is with the AWS module using version 2.5.3
So in my application-Bridging-Header.h there is #import <AWSS3/AWSS3.h>
Here is the error from the command line build:
error: 'AWSS3/AWSS3.h' file not found with <angled> include; use "quotes" instead
^
The error log continues after that. I also tried the crazy switch suggestion when importing to "AWSS3 / AWSS3.h" ... which didn't work either.
What's going on here?
More information
It really seems to be a problem with one of my pods. I built a new solution, imported a subset of my modules and everything built. Then, when I updated the complete list of pods, it broke.
source
share