Have obtained separate frameworks for device and simulator, and I want to integrate those frameworks to achieve the desired functionality. I have included the simulator framework in my carthage framework project. When I am compiling my framework, I am getting the following error
building for iOS-armv7 but attempting to link with file built for iOS-arm64 Undefined symbols for architecture armv7: "OBJCCLASS$...", referenced from: objc-class-ref in ViewController.o "OBJCCLASS$...", referenced from: objc-class-ref in DepedencyInjector.o objc-class-ref in ViewController.o ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)
reference: https://developer.apple.com/forums/thread/66978 https://developer.apple.com/forums/thread/66978?answerId=215100022#215100022