Questions tagged linker-errors

Explore the latest questions and answers asked by our top developers.

Xcode12 – building for iOS Simulator, but linking in object file built for macOS, file ‘dir/SomeFile.a’ for architecture x86_64

Getting linker error in Xcode 12 when I am trying to build my large iOS app (hybrid, swift+objc). The application is building fine for real device, but It gives linker error when I am trying to run in Simulator directly with Debug configuration. I have tried all possible solutions in other post here, but unfortunately […]

Why no linker error for same class names in two different iOS frameworks?

I am importing two different frameworks FrameworkA and FrameworkB in a sample app MyApp, and those two frameworks define the same Person class. If you run the MyApp, it gives you the following warning on the console. objc[27167]: Class Person is implemented in both /private/var/containers/Bundle/Application/9762DB63-21E9-4592-B875- 6DF6F373FFD0/ (0x100b18100) and /private/var/containers/Bundle/Application/9762DB63-21E9- 4592-B875-6DF6F373FFD0/ (0x100b30100). One of the two […]

By slow
Categorised as frameworks, ios, linker-errors

Still Have Questions?

Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us