iOS FBX SDK - Integration issue (linker issue)

iOS FBX SDK - Integration issue (linker issue)

emals
Observer Observer
1,509 Views
1 Reply
Message 1 of 2

iOS FBX SDK - Integration issue (linker issue)

emals
Observer
Observer

Hello Autodesk Team,

 

I would like to import the Autodesk iOS FBX SDK into my iOS project (Objective-C).

I've add the path to the include folder in the Header Search Path

I've also added the paths to libfbxsdk.a in the Library Search Paths

Finally, I've added the libfbxsdk. file to the Link Binary with Libraries

 

Using the same steps, I was able to build and compile when using the MacOS FBX SDK for a MacOS application, however with the iOS project (and the iOS FBX SDK), I get the following error:

 

 

building for 'iOS', but linking in object file (/Users/Lond/Documents/v2/Autodesk/iOS/2020.3.7/lib/ios/debug/libfbxsdk.a[28](fbxalloc.cxx.o)) built for 'macOS'

 

 

In the terminal, if I type the command:
lipo -info libfbxsdk.a

I get the message

 

 

Non-fat file: libfbxsdk.a is architecture: arm64

 

 

 confirming that I'm using the library for the correct architecture.

 

Do I need to add any other confifuration option?

 

I'm using Mac Os Sonoma 14.6.1

Tested on Xcode 15.4 and 16.2

Target Device: iPhone 13 Pro (iOS 17.6.1)

iOS FBX SDK version: 2020.3.7

 

Any help would be greatly appreciated

Thank you

1,510 Views
1 Reply
Reply (1)
Message 2 of 2

stasromanov800
Community Visitor
Community Visitor

Same issue here. It's reached over 1,000 views, but apparently, Autodesk couldn't care less about fixing it.
some cli tests for 2020.3.9:

➜  ~ cd /tmp
ar -x /Applications/Autodesk/FBX\ SDK/2020.3.9/lib/ios/debug/libfbxsdk.a
xcrun vtool -show-build fbxclassid.cxx.o
fbxclassid.cxx.o:
Load command 2
      cmd LC_BUILD_VERSION
  cmdsize 32
 platform MACOS
    minos 12.0
      sdk 12.3
   ntools 1
     tool LD
  version 764.0

 

0 Likes