15

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?

Hemant Singh Rathore
  • 2,153
  • 1
  • 24
  • 38
myCmyL
  • 435
  • 2
  • 4
  • 11

9 Answers9

24

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.

Maulik Rajani
  • 639
  • 8
  • 17
12

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
Dharman
  • 30,962
  • 25
  • 85
  • 135
mig_loren
  • 184
  • 1
  • 5
4

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

Lukas Würzburger
  • 6,543
  • 7
  • 41
  • 75
Harish
  • 252
  • 1
  • 13
  • It worked for me too..!! I renamed xcode 9.4.1 (version current stable) to Xcode_9.4.1 and v10.0 beta to Xcode.!! – myCmyL Jul 09 '18 at 07:55
  • This is applicable for the Xcode10 formal release too! It seemed irrelevant but it did work when I renamed the old xcode (9.4) to xcode9.4 and renamed xcode10 to xcode. – Wei WANG Sep 26 '18 at 05:37
4

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.

jeprubio
  • 17,312
  • 5
  • 45
  • 56
2

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

1

I renamed the

Xcode to Xcode10 (from finder > Applications), 

and then cleaned the build folder

(Xcode > Product > Clean Build Folder). 

It worked for me.

Pradeep
  • 9,667
  • 13
  • 27
  • 34
Naval Hasan
  • 1,226
  • 1
  • 13
  • 18
1
  • Remove the product file (.app) if old build exits
  • Clean the build (Command + Shift + K)
Tarun Seera
  • 4,212
  • 4
  • 27
  • 41
1

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.

0

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.

Amit Thakur
  • 1,081
  • 12
  • 14