Error while importing AEPCore module
Hello,
I am trying to import AEPCore module in my objective-c file using
@15844621 AEPCore;
but seeing following build error : -
Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_AEPMobileCore", referenced from: objc-class-ref in AEPUtils.o
Ignoring file /<DERIVED_DATA_DIRECTORY>/Build/Products/Debug.Stage-iphonesimulator/AEPCore.o, building for iOS Simulator-x86_64 but attempting to link with file built for unknown-arm64
Undefined symbol: _OBJC_CLASS_$_AEPMobileCore |
When I saw supported architecture for the AEPCore library code, it was only available for ARCHS_STANDARD, due to this project's build is failing.
Also when we are trying to import the same lib in swift file, seeing following error
Could not find module 'AEPCore' for target 'x86_64-apple-ios-simulator'; found: arm64, arm64-apple-ios-simulator, at: /Users/nbhawsar/Library/Developer/Xcode/DerivedData/Theo-aagcberfiecdfmgpwhvoojbngfoy/Build/Products/Debug.Stage-iphonesimulator/AEPCore.swiftmodule |
Any help for this error is much appreciated.