Undefined symbols for architecture i386: _OBJC_CLASS_$_ZipException, referenced from: error
The error message says that the undefined symbol is referenced by ZipFile.o
, ZipReadStream.o
, and ZipWriteStream.o
. This implies that you're trying to use the Objective-Zip library in your app.
The undefined symbol is _OBJC_CLASS_$_ZipException
. The compiler generates this symbol when it sees the @implemention ZipException
directive in a source file.
The Objective-Zip library includes a file named ZipException.m
, which contains the @implementation ZipException
directive.
The most likely explanation is that you simply haven't included ZipException.m
in your target. Check that you have done so. If you don't know how, look at this answer.
Another possible explanation is that you have modified the ZipException.m
file, perhaps accidentally, in a way that removes the @implementation ZipException
directive or hides it from the compiler. Check that you have not modified the file, and that it contains the @implementation ZipException
directive.
Undefined symbols for architecture i386: _OBJC_CLASS_$_SKPSMTPMessage, referenced from: error
You can get this type of error if your class' .m file is not listed under the "Compile Sources" step of the "Build Phases" tab of your target. Normally Xcode does this for you, but sometimes it loses the plot and you need to add the .m file manually.
To do this:
TargetSettings -> Build Phases -> Compile Sources -> add your .m class ->Build and Run
Undefined symbols for architecture i386: _OBJC_CLASS_$_SKPSMTPMessage, referenced from: error
You can get this type of error if your class' .m file is not listed under the "Compile Sources" step of the "Build Phases" tab of your target. Normally Xcode does this for you, but sometimes it loses the plot and you need to add the .m file manually.
To do this:
TargetSettings -> Build Phases -> Compile Sources -> add your .m class ->Build and Run
Undefined symbols for architecture i386: _OBJC_CLASS_$_SKPSMTPMessage, referenced from: error
You can get this type of error if your class' .m file is not listed under the "Compile Sources" step of the "Build Phases" tab of your target. Normally Xcode does this for you, but sometimes it loses the plot and you need to add the .m file manually.
To do this:
TargetSettings -> Build Phases -> Compile Sources -> add your .m class ->Build and Run
I am having trouble linking the Firebase Simple Login Framework to my project with an Undefined symbols for architecture i386: error
From your picture, you are trying to use FB Login but haven't yet installed the Facebook SDK. Check out developer.facebook.com and sign up. Once you connect that to your project, it should run fine. The simple login is dependent on classes from this SDK to utilize facebook login. When it can't find them, your project crashes.
Syncing UserDefaults to iCloud using MKiCloudSync. Undefined symbols for architecture i386?
Followed solution here https://stackoverflow.com/a/10415850/1092219. .m file wasn't added to correctly
Related Topics
Alert View Is Showing White Rectangle in iOS7
How to Logout User Using Facebook Authentication Using Swift and iOS
Replace Occurrences of Nsnull in Nested Nsdictionary
How Programmatically Restart an iPhone App in iOS
iOS Nested View Controllers View Inside Uiviewcontroller's View
Pods-Resources.Sh Permission Denied in iOS Project
Facebook Graph API Get Request - Should Contain "Fields" Parameter (Swift, Facebook Sdk V4.5.1)
Set Uitableview's Height to the Height of Its Content with Auto Layout
Using Uipageviewcontroller with Swift and Multiple View Controllers
Nsinternalinconsistencyexception, Reason: Could Not Load Nib in Bundle
Sending a Private Message to Your Friends via Facebook iOS Sdk
Set Custom Images to the Uibarbuttonitem But It Doesn't Show Any Image
Uikeyboardboundsuserinfokey Is Deprecated, What to Use Instead
Presenting Viewcontroller with Navigationviewcontroller Swift