Ah..I figure out it’s that I have multiple entries under Targets/Compiled Sources ( in newer XCode it’s under Build Phases/Compile Sources ). I removed them and the problem is solved. The multiple entry thing probably has to do with Git merge.
More Related Contents:
- How can I delete derived data in Xcode 8?
- Is it possible to get the iOS 5.1 SDK for Xcode 4.2 on Snow Leopard?
- The target … overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Pods.xcconfig
- Where is Xcode’s build folder?
- GFortran error: ld: library not found for -lSystem when trying to compile
- Adding system header search path to Xcode
- Xcode is not currently available from the Software Update server
- Build fails with “Command failed with a nonzero exit code”
- How should I manage dependencies across projects in an Xcode workspace?
- Reverting all Xcode settings to their original state
- Xcode error when uploading to App Store: “No suitable application records were found”
- How can I use swift in Terminal?
- What’s the correct way to configure Xcode 4 workspaces to build dependencies when needed?
- How can I make a countdown with NSTimer?
- Git and pbxproj
- How do I debug SwiftUI AttributeGraph cycle warnings?
- Xcode stuck on Indexing
- Xcode warning: “Multiple build commands for output file”
- Adding resource files to xcode
- xcode 4.5 how to pick storyboards at launch
- SwiftUI 2.0 TabView disable swipe to change page
- Couldn’t register with the bootstrap Server
- Class variables not yet supported
- Xcode full stack trace
- How to add an existing framework in Xcode 5
- How to present a modal atop the current view in Swift
- iAd in xcode 6 with Swift
- OSX Swift open URL in default browser
- Xcode ARC (automatic reference counting), “release is unavailable”
- “Your binary is not optimized for iPhone 5” after I upload an app with xcode 6.0.1