iphone - iOS project shows linker error for i386 -


today tried integration of urbanairship in ios project.

got linker error saying -logging not found i386 architecture.

so removed i386 architecture lib.

lipo -remove i386 libuairship-1.4.0.a  -output libuairshipnew 

then got lots of linker error i386 after adding this.

enter image description here

why still checking i386 ? used ios in valid architecture. enter image description here

how can remove dependency i386?

updates 1: sorry confusion, need i386 run in simulator. how can fix original problem -

undefined symbols architecture armv7: "_logging", referenced 

libuairship-1.4.0.a

update 2: finaly got solution hit https://support.urbanairship.com/customer/portal/questions/3170-push-api-libuairship-1-4-a-missing-required-architecture-i386

removed line:

extern bool logging;  , line around line 32:  if (logging) { \   to:  if (1) { \ 


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -