Problem with Enterprise and Applovin

I’m using Applovin and want to create a build in Xcode with Enterprise.

My problem is that I don’t know where to put the metadata.lua file that comes with the libapplovinPlugin.a.

For libapplovinPlugin.a, i just drag that into the lib folder in the Xcode directory tree.

But I have no idea where to put the metadata.lua. I’ve tried dragging the iphone directory (that contains both these files) into the lib folder in Xcode but that doesn’t work.

I don’t know that Enterprise needs the metadata.lua file. It’s primarily there to manage dependencies for SDK builds. For Xcode you would manually include any needed frameworks or .a files needed in your project like you adding your libapplovinPlugin.a file.

I’ll double check with Engineering. 

Other than not finding a home for the metadata.lua is something not working?

Rob

metadata.lua is not used by Enterprise. It’s provided with the plugin to give you information about any additional frameworks that the plugin uses, and that you will need to add to your project.

The AppLovin plugin doesn’t require any additional frameworks so you’re good to go just by adding the plugin’s static libraries to your project.

When I put the libapplovinPlugin.a into the project, Xcode gives me a linker error:

clang: warning: libstdc++ is deprecated; move to libc++

ld: warning: directory not found for option ‘-L/Users/romero/Documents/coding/gunman-taco-truck/trunk/gmtt/ios/iphone’

Undefined symbols for architecture armv7:

  “_OBJC_CLASS_$_ASIdentifierManager”, referenced from:

      objc-class-ref in libapplovinPlugin.a(CoronaBeaconApplovin.o)

      objc-class-ref in libapplovinPlugin.a(ALDataCollector.o)

ld: symbol(s) not found for architecture armv7

clang: error: linker command failed with exit code 1 (use -v to see invocation)

 

 

First, the “iphone” directory doesn’t exist in the directory that’s built for iOS builds. It’s not one that I created.

 

android

Corona

ios <------- this is where the iphone directory is missing

mac

Readme.markdown

shared

tvos

win32

 

Then, the ASIdentifierManager is being referenced but is not included in the project.

Have you checked that you have the AdSupport framework included in your project?

No, i didn’t have it included. Nothing in the Applovin plugin documentation told me to do so.

I just added it and it now compiles.

Thanks :wink:

I don’t know that Enterprise needs the metadata.lua file. It’s primarily there to manage dependencies for SDK builds. For Xcode you would manually include any needed frameworks or .a files needed in your project like you adding your libapplovinPlugin.a file.

I’ll double check with Engineering. 

Other than not finding a home for the metadata.lua is something not working?

Rob

metadata.lua is not used by Enterprise. It’s provided with the plugin to give you information about any additional frameworks that the plugin uses, and that you will need to add to your project.

The AppLovin plugin doesn’t require any additional frameworks so you’re good to go just by adding the plugin’s static libraries to your project.

When I put the libapplovinPlugin.a into the project, Xcode gives me a linker error:

clang: warning: libstdc++ is deprecated; move to libc++

ld: warning: directory not found for option ‘-L/Users/romero/Documents/coding/gunman-taco-truck/trunk/gmtt/ios/iphone’

Undefined symbols for architecture armv7:

  “_OBJC_CLASS_$_ASIdentifierManager”, referenced from:

      objc-class-ref in libapplovinPlugin.a(CoronaBeaconApplovin.o)

      objc-class-ref in libapplovinPlugin.a(ALDataCollector.o)

ld: symbol(s) not found for architecture armv7

clang: error: linker command failed with exit code 1 (use -v to see invocation)

 

 

First, the “iphone” directory doesn’t exist in the directory that’s built for iOS builds. It’s not one that I created.

 

android

Corona

ios <------- this is where the iphone directory is missing

mac

Readme.markdown

shared

tvos

win32

 

Then, the ASIdentifierManager is being referenced but is not included in the project.

Have you checked that you have the AdSupport framework included in your project?

No, i didn’t have it included. Nothing in the Applovin plugin documentation told me to do so.

I just added it and it now compiles.

Thanks :wink: