0

Im using https://github.com/justeat/JustLog to log the details. This pod is being used by the sdk universal static library. So when building the library it’s success and they libios.a also there.

I’m using standard architecture. And valid archs arm64 armv7 x86_x64

When I’m using this universal library in the Xcode project it’s says

Undefined symbols for architecture arm64: "OBJC_CLASS$_Logger", referenced from: LogzLogger ld: symbol(s) not found for architecture arm64

Same issue for when running in simulator as well x86_x64 not found.

I tried setting build active architecture only to NO and try adding valid archs for pods as well in the sdk project.

But the issue remains stable. So what is the solution for this.

Is that library not build for arm 64 and x86_x64 ?

Or any issue with my cocoa pods version it’s the latest version of pods I’m using.

Thanks in advance!

2 Answers2

1

you may check whether you have added $(inherited) , which will add linker flags generated in pods, to Other Linker Flags as below:

enter image description here

enter image description here

saqib kafeel
  • 296
  • 3
  • 8
0

connect your physical device and select that device and run or archive error will be gone

saqib kafeel
  • 296
  • 3
  • 8
  • Yeah sdk is building successfully and but the issue is when I’m running the project by using this library it says the above issue. Even for device same. Architecture not found issue. Any issue with this library which is not build for arm 64 and _x86_x64? – Avinas Udayakumar Dec 11 '20 at 17:25