Could not insert new outlet connection error

后端 未结 21 1384
南方客
南方客 2020-12-14 01:29

I have created a custom cell for loading into a table. The interface is complete and now I am trying to link the xib and the class.

I have the split screen view open

相关标签:
21条回答
  • 2020-12-14 02:25

    It worked in my case. 1 create new project with different name 2 copy and paste file to it 3 delete file from first project 4 copy and paste file from new project to first project.

    0 讨论(0)
  • 2020-12-14 02:25

    Just restart the XCode. It worked for me.

    0 讨论(0)
  • 2020-12-14 02:25

    Make sure indexing has not been turned off (this was my problem). Here's how to turn it back on from the command line:

    defaults write com.apple.dt.Xcode IDEIndexDisable 0

    0 讨论(0)
  • 2020-12-14 02:26
    1. 'clean' Project
    2. lets complete indexing(if not completed)
    3. 'build' once
    4. check your issue is fixed
    0 讨论(0)
  • 2020-12-14 02:29

    Quit XCode, then purge the derivedData using:

    rm -rf ~/library/Developer/Xcode/DerivedData/*
    

    Restart XCode and connect.

    If you want, create an alias

    alias purgeallbuilds='rm -rf ~/library/Developer/Xcode/DerivedData/*'
    

    in your .bash_profile as suggested here.

    0 讨论(0)
  • 2020-12-14 02:33

    I had the same issue with Xcode 6.2 In this case it was sufficient to 'touch' the target class - by adding and removing something meaningless - to force a recompile. The issue went away then.

    0 讨论(0)
提交回复
热议问题