Undefined Symbols for Architecture I386: "_Objc_Class_$_Zipexception", Referenced From: Error

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



Leave a reply



Submit