Reputation: 41
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!
Upvotes: 0
Views: 581
Reputation: 306
you may check whether you have added $(inherited) , which will add linker flags generated in pods, to Other Linker Flags as below:
Upvotes: 1
Reputation: 306
connect your physical device and select that device and run or archive error will be gone
Upvotes: 0