Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GTaps opened this issue Sep 20, 2024 · 5 comments
Open

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

GTaps opened this issue Sep 20, 2024 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@GTaps
Copy link

GTaps commented Sep 20, 2024

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 GTaps added the bug Something isn't working label Sep 20, 2024
@GTaps
Copy link
Author

GTaps commented Sep 20, 2024

image_2024_09_20T12_51_15_213Z

@applovinAsh applovinAsh self-assigned this Sep 20, 2024
@applovinAsh
Copy link
Contributor

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
Copy link
Author

GTaps commented Sep 23, 2024

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
Copy link
Contributor

@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
Copy link
Author

GTaps commented Sep 26, 2024

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants