Tuesday, March 19, 2024
HomeiOS Developmentc++ - Xcode doesn't acknowledge PoDoFo constructed for iOS

c++ – Xcode doesn’t acknowledge PoDoFo constructed for iOS


I’ve cross-compiled the PoDoFo (https://github.com/podofo/podofo) library for iOS utilizing conan with the next profiles:

Profile host:
[settings]
arch=armv8
build_type=Launch
compiler=apple-clang
compiler.libcxx=libc++
compiler.model=15
os=iOS
os.sdk=iphoneos
os.model=15.0

Profile construct:
[settings]
arch=armv8
build_type=Launch
compiler=apple-clang
compiler.cppstd=gnu17
compiler.libcxx=libc++
compiler.model=15
os=Macos

Xcode provides me the next construct error once I add the ensuing libpodofo.0.11.0.dylib in my challenge:

ld: constructing for 'iOS', however linking in dylib (/Customers/tarlanismayilsoy/Paperwork/iOS Initiatives/.../Sources/Podofo/libpodofo.0.11.0.dylib) constructed for 'macOS'



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments