asked    Daphne     2018-08-04       ios       377 view        2 Answers

[SOLVED] error: Unable to resolve build file: XCBCore.BuildFile

error: Unable to resolve build file: XCBCore.BuildFile (missingTargetProductReference("3bf83096e50de72a94699e9afc1133ebe3512682230d04680075c283a974e273")) (in target 'MyTarget')

Xcode 10 is giving this error immediately when trying to build our project. It's not immediately clear what is causing it.

How can I resolve it?

  2 Answers  

        answered    Elaine     2018-08-04      

I came across this same error while using openframeworks 0.10 with xcode 10 recently. It seems like it was caused by having multiple openframeworks projects opened at a time. If you close them all one by one, and then reopen the one you'd like to work on, it should resolve the error. Hoping this is just an xcode-beta thing.

error message

Xcode used to tell you that there as a workspace integrity problem, and you could just ignore it. But it seems like it's returned. There's some discussion about this issue here.

        answered    Gwendolyn     2018-08-04      

For XCode 10 Beta: Problem occurs when I have two workspaces open that share the same project directories. Solution was

Short version

  1. Shut down all but one workspaces
  2. exit XCode and reopen XCode
  3. XCode > Product > Clean Build Folder

Longer version

  1. Shut down all but one workspace
  2. XCode > Preferences > Locations > Derived Data > goto directory ~/Library/Developer/Xcode/DerivedData
  3. Clear out subdirectories from DerivedData
  4. exit XCode and reopen XCode
  5. XCode > Product > Clean Build Folder

Thanks to @aferriss answer for the clue.

Your Answer

 2018-08-04         Ed

UITableView Section Header not showing

I'm trying to make section headers with autolayout.A simple header with a title and a counterclass ProfilePeopleListHeaderViewCell: UIView { let titleLeftOffset = 12 let counterRightOffset = 5 let counterWidth = 50 var title = "title" { didSet { titleLabel.text = title } } var numberOfPeople = 0 { didSet { peopleCounter.text = "\(numberOfPeople)" } } let titleLabel = UILabel() let peopleCounter = UILabel() convenience init(title: String, numberOfPeople:Int) { self.init() self.title = title self.numberOfPeople = numberOfPeople back...
 ios                     3 answers                     91 view
 2018-08-04         Everley

what's the shortcut to update frames in xcode?

Does anyone know what is the shortcut to update frames in xcode? I know how to do it manually but I am wondering if there's a keyboard shortcut. You can find that in Xcode preferences: Xcode > Preferences > Key BindingsThe default is CmdOpt= [XXX]
 xcode                     1 answers                     92 view
 2018-08-04         Cecilia

Xcode 4 build succeeds, command line build fails?

I have a project in Xcode 4 (the latest non-beta version) that builds fine when built in Xcode itself. Specifically, the Ld command correctly uses the derived data directory (where build products, including a dependent static library, are placed).However, when I build the same project from the command line, the Ld command fails, as it is trying to use the /build folder within the project, which is not being populated.I've tried adjusting every build setting I know about, both in the parent and the dependent project.Any ideas on where to start debugging this? I can provide m...
 ios                     10 answers                     94 view