SAP Knowledge Base Article - Preview

2310137 - Duplicate symbol error occurs in building SMP3 iOS native client application when the application imports "EncryptionKeyManager.h"

Symptom

If your SAP Mobile Platform 3.0 (SMP3) iOS native client project on xcode imports "EncryptionKeyManager.h", then the project fails to build application with duplicate symbol error.

Sample error message:
duplicate symbol _kNilOrEmptyEncryptionKey in:
    /Users/user1/Library/Developer/Xcode/DerivedData/SMP3-101-fpuaugmpfckruecsenfzglwdvjyw/Build/Intermediates/SMP3-101.build/Debug-iphonesimulator/SMP3-101.build/Objects-normal/x86_64/SMPController.o
    /Users/user1/testApp01/SMP3-101/SMP3-101/libraries/Debug-universal/libCache.a(EncryptionKeyManager.o)
duplicate symbol _kCacheDbResetNotification in:
    /Users/user1/Library/Developer/Xcode/DerivedData/SMP3-101-fpuaugmpfckruecsenfzglwdvjyw/Build/Intermediates/SMP3-101.build/Debug-iphonesimulator/SMP3-101.build/Objects-normal/x86_64/SMPController.o
    /Users/user1/testApp01/SMP3-101/SMP3-101/libraries/Debug-universal/libCache.a(EncryptionKeyManager.o)
ld: 2 duplicate symbols for architecture x86_64


Read more...

Environment

SAP Mobile Platform 3.0 SDK SP10 or later 

Product

SAP Mobile Platform SDK 3.0

Keywords

SMP3, SDK, ios, native, Encryption, login, duplicate symbol , KBA , MOB-SDK , SAP Mobile SDK , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.