myCmyL
myCmyL

Reputation: 435

Build failed with xcode 10 beta

I created a new project on Xcode beta and built it, It gives me the below build error.

Encountered an error communication with IBAgent-iOS on launchscreen.storyboard.

The same storyboard error that I am getting when I try to build any sample projects built on Xcode 10 beta.

Has anyone come across the same issue with Xcode 10 beta IDE?

Upvotes: 15

Views: 13558

Answers (9)

mig_loren
mig_loren

Reputation: 194

I'm on Xcode 13 and still get the issue sometimes. No help with cleaning the build folder or removing DerivedData.

However, this usually saves my life ^^

sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService

Upvotes: 13

Rattanakoudom Sambath
Rattanakoudom Sambath

Reputation: 514

I'm using Xcode 11 but still, encounter this problem, I've tried to clean the project and rebuild it but it still won't work. The only solution I found it work is to uninstall Xcode and download the new one from App Store, this work fine with me and I can use it normally now. I hope this works for you guys too. Cheer.

Upvotes: 1

Tarun Seera
Tarun Seera

Reputation: 4402

  • Remove the product file (.app) if old build exits
  • Clean the build (Command + Shift + K)

Upvotes: 1

Amit Thakur
Amit Thakur

Reputation: 1081

If you are getting this issue, then I think it is bug of an Xcode 10. The only fix is uninstall your Xcode 10 , and reinstall it again . It will definitely work. This worked for me. Thanks.

Upvotes: 0

Maulik Rajani
Maulik Rajani

Reputation: 639

I face the same issue with Xcode 10.1... issue resolved by just clean the build folder using Command+Shift+K

enter image description here

I hope this will work for you.

Upvotes: 24

Naval Hasan
Naval Hasan

Reputation: 1510

I renamed the

Xcode to Xcode10 (from finder > Applications), 

and then cleaned the build folder

(Xcode > Product > Clean Build Folder). 

It worked for me.

Upvotes: 1

Harish
Harish

Reputation: 252

I had the same error.
I renamed Xcode from Xcode-beta to Xcode and it worked for me.

Upvotes: 4

jeprubio
jeprubio

Reputation: 18002

I had the same problem with xcode 10 installed from the App Store and I tried removing the derived data, cleaning the build folder... nothing worked.

And then I just restarted my computer and it's working. I did not rename anything. It must be some glitch in the memory which is solved after restarting the system.

Upvotes: 4

user1664018
user1664018

Reputation: 81

You need to remove the Targets from that xib, compile and add them back to your xib and compile. It works!

Upvotes: 2

Related Questions