• Register
0 votes

Problem :

I got an error on Xcode saying that there was no information about the view controller as follows:

Could not insert new outlet connection: Could not find any information for the class named

Why am I getting this error?

6 5 3
7,540 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

Please find below the steps that can fix your issue:

·    Clean your affected Project  by doing Product > Clean

·    Please Manually paste following code

·    @IBOutlet weak var viewName: UIView!

     // or

    @IBAction func viewTapped(_ sender: Any) { }

     control drag to it also change type as needed.

·    Completely close your Xcode and restart your project.

·    To Delete the Derived Data folder please Go to Xcode > Preferences > Locations and click the visible gray arrow by the Derived Data and after that delete your project folder.

·    Finally click delete on the class and remove reference Please do not Move it to Trash and add it back again.

·    This will solve your issue.



Here are the alternate steps which solved the issue for me:

1.      Please Remove Class name reference from View(e.g. storyboard/xib) and click on save;

2.      After that Add Class name again and click on save;

3.      Finally just do Clean and Build;

Done ! this will solve your issue.

9 7 4
38,600 points

Related questions

0 votes
1 answer 2 views
Problem: My application is crashing with the following error. What does this mean? How can I fix it? *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIViewController 0x6e36ae0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key XXX.'
asked Mar 24 ummesalma 25.2k points
0 votes
1 answer 1 view
1 view
Problem,: please help to solve this wquestion... creating an image format with an unknown type is an error swift 3
asked Apr 1 Ifra 24.4k points
0 votes
1 answer 467 views
Problem: I am trying to archive my project but facing very unexpected error as shown below: Showing Recent Messages:-1: mkdir -p /Users/spritzindia/Library/Developer/Xcode/DerivedData/Contigo-atftiouzrdopcmcpprphpilawwzm/Build/Products/Debug-iphonesimulator/Contigo.app/Frameworks Showing ... : pod 'IQKeyboardManagerSwift'  pod 'SDWebImage', '~> 4.0'  pod 'KRPullLoader'  pod 'Paytm-Payments'
asked Aug 25, 2020 Raphael Pacheco 4.9k points
0 votes
1 answer 828 views
Problem : Facing following Swift issue must register a nib or a class for the identifier or connect a prototype cell in a storyboard
asked Nov 15, 2019 peterlaw 6.9k points
0 votes
1 answer 14 views
Problem : xcode couldn't find any ios app development provisioning profiles matching
asked Feb 28 Shovo210 14k points
0 votes
1 answer 5 views
Problem: itunes was unable to load dataclass information from sync services.
asked Feb 13 Shovo210 14k points
0 votes
1 answer 148 views
Problem : I have very simple program HelloWorld is running on iOS. The same program has been running fine for a long time. But recently I noticed that I get the below listed BoringSSL error when my program runs on my ... boringssl_session_errorlog: line 2871 [boringssl_session_read] SSL_ERROR_ZERO_RETURN(6): operation failed because the connection was cleanly shut down with a close_notify alert
asked Dec 4, 2019 alecxe 7.5k points
0 votes
1 answer 4 views
Problem: I am trying to upload an Apple TV App to the App Store for testing purposes, but I got the issue: This Action could not be completed. Try Again (-22421)
asked Mar 19 ummesalma 25.2k points
0 votes
1 answer 2 views
Problem: What went wrong that caused the error?
asked 2 days ago zayed1 35.6k points
1 vote
1 answer 9 views
Problem : When upgraded to Xcode 6.3 Beta 3 and a lot of error(s) are appearing relating to the following: Initializer does not override a designated initializer from its superclass. Can someone please help fix this, I am new in IOS Swift .
asked Mar 20 Shovo210 14k points