Home Features Docs Blog Support GitHub

Library not found when building project: libObjectAL.a

Hello there,

I’m trying to build a libGDX project for iOS but I’m getting this error when trying to run it in XCode:

ld: file not found: ios-moe/xcode/native/ios/libObjectAL.a

(NOTE: project’s directory omitted there)

Any ideas to solve this or hint to point me in the right direction to do so?

Thanks in advance!

I answer myself:

It seems building the whole project or the ios-moe module will NOT execute the task to copy the native libraries (and I think it should do it). I just executed the task by hand:

$ ./gradlew ios-moe:copyNatives

And the libraries were downloaded and copied to its expected place.