AppLovin / AppLovin-MAX-SDK-Android

Other
231 stars 102 forks source link

Linker command failed with exit code 1 (use -v to see invocation) #716

Open GTaps opened 1 month ago

GTaps commented 1 month ago

MAX SDK Version

12.6.1

Device/Platform Info

IOS

Current Behavior

i am using unity 2021.3.28f1. Max SDK : 12.6.1 Adpters Added : Chart Boost, Admob, Facebook,iron source, mintegral, unity When i try to hit the build, with Bitcode Enable No, Gives error as follows : Undefined symbols: Linker command failed with exit code 1 (use -v to see invocation)

Expected Behavior

This should generate build and install in Ipad device.

How to Reproduce

Import 12.6.1 version, Add the networks , Adpters Added : Chart Boost, Admob, Facebook,iron source, mintegral, unity. Cretae Xcode Build from unity , and try to install build in IOS device with workspace.

Reproducible in the demo app?

Not Tested

Additional Info

image_2024_09_20T12_48_20_976Z

GTaps commented 1 month ago

image_2024_09_20T12_51_15_213Z

applovinAsh commented 1 month ago

Can you provide the podfile of the iOS project? Please also verify that you have properly integrated the MAX SDK: https://developers.applovin.com/en/max/unity/overview/integration/ and have added all of the adapters correctly: https://developers.applovin.com/en/max/unity/preparing-mediated-networks?androidnetworks=843%2C632&iosnetworks=352%2C859

GTaps commented 1 month ago

Can you provide the podfile of the iOS project? Please also verify that you have properly integrated the MAX SDK: https://developers.applovin.com/en/max/unity/overview/integration/ and have added all of the adapters correctly: https://developers.applovin.com/en/max/unity/preparing-mediated-networks?androidnetworks=843%2C632&iosnetworks=352%2C859

image Here is the podfile, and yes everything have been implemented properly, all adopters and SDk etc.

applovinAsh commented 1 month ago

@GTaps - Thank you for providing that information. I could not recreate the issue in my test app with the same SDK and Adapter versions as in your podfile.

In Unity, please navigate to Assets > External Dependency Manager > iOS Resolver > Settings and unclick the Add use_frameworks! to Podfile to see if that fixes your issue. If it does not, can you also ensure that the AppLovinSDK.xcframework is in the Frameworks, Libraries, and Embedded Content section of Xcode and that it is set to "Embed & Sign".

If these two solutions do not help, can you provide what is specifically causing the linker error? It should point to some file names to help us identify the issue.

GTaps commented 1 month ago

@GTaps - Thank you for providing that information. I could not recreate the issue in my test app with the same SDK and Adapter versions as in your podfile.

In Unity, please navigate to Assets > External Dependency Manager > iOS Resolver > Settings and unclick the Add use_frameworks! to Podfile to see if that fixes your issue. If it does not, can you also ensure that the AppLovinSDK.xcframework is in the Frameworks, Libraries, and Embedded Content section of Xcode and that it is set to "Embed & Sign".

If these two solutions do not help, can you provide what is specifically causing the linker error? It should point to some file names to help us identify the issue.

Sure will do it , and get back to you soon.