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

Build IOS error #307

Open
IgorLifeKife opened this issue Mar 27, 2024 · 4 comments
Open

Build IOS error #307

IgorLifeKife opened this issue Mar 27, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@IgorLifeKife
Copy link

MAX SDK Version

12.3.§

Device/Platform Info

IOS

Current Behavior

When I run the build on an iPhone, the build is built successfully, but when I start the application I get an error. Frameworks/UnityFramework.framework/UnityFramework, 0x0109): Library not loaded: @rpath/FBAEMKit.framework/FBAEMKit
I add through “framework, libraries, and embedded content” FBAEMKit
also x code wants libraries FBSDKCoreKit, FBSDKCoreKit_Basics, FBSDKGamingServicesKit, FBSDKShareKit, FBSDKLoginKit...
After adding these libraries, the application starts and works properly.
But when the archive is launched I get an error.
“0D43A9F9-2A23-386C-9568-E0D28099B3D5.bcsymbolmap” couldn’t be copied to “BCSymbolMaps” because an item with the same name already exists.
Without libraries, the archive is uploaded to test flight, but the application does not work.

Expected Behavior

No response

How to Reproduce

run the build.
launch archive.

Additional Info

No response

@IgorLifeKife IgorLifeKife added the bug Something isn't working label Mar 27, 2024
@thomasmso
Copy link
Member

@IgorLifeKife - First of all, what MAX Unity Plugin version are you on? The latest is 6.3.1 and you can check this through our Integration Manager. Secondly, you can try adding or removing "FBAEMKit.xcframework" from Assets/MaxSdk/Scripts/Editor/MaxPostProcessBuildiOS.cs's DynamicLibrariestoEmbed list.

@IgorLifeKife
Copy link
Author

MAX Unity Plugin version 6.3.1. libraries added to DynamicLibrariestoEmbed list.
Even adding one FBAEMKit library to xcode causes the archive to fail.

@JonathanLiuApp
Copy link
Contributor

I wasn't able to reproduce the error you encountered. Could you send a project where this is reproducible so we can investigate further?

@IgorLifeKife
Copy link
Author

I managed to solve the problem. I didn’t have to add libraries, I changed it to the file, now it looks like this.
`source 'https://cdn.cocoapods.org/'

platform :ios, '11.0'

target 'UnityFramework' do
pod 'Firebase', :modular_headers => true
pod 'FirebaseCoreInternal', :modular_headers => true
pod 'GoogleUtilities', :modular_headers => true
pod 'FirebaseCore', :modular_headers => true
pod 'AppLovinMediationChartboostAdapter'
pod 'AppLovinMediationFacebookAdapter'
pod 'AppLovinMediationFyberAdapter'
pod 'AppLovinMediationGoogleAdapter'
pod 'AppLovinMediationInMobiAdapter'
pod 'AppLovinMediationIronSourceAdapter'
pod 'AppLovinMediationMintegralAdapter'
pod 'AppLovinMediationUnityAdsAdapter'
pod 'AppLovinMediationVerveAdapter'
pod 'AppLovinMediationVungleAdapter'
pod 'AppLovinSDK'
pod 'FBAudienceNetwork'
pod 'FBSDKCoreKit'
pod 'FBSDKCoreKit_Basics'
pod 'FBSDKGamingServicesKit'
pod 'FBSDKLoginKit'
pod 'FBSDKShareKit'
pod 'Firebase/Analytics'
pod 'Firebase/Core'
pod 'GoogleUserMessagingPlatform'

end
target 'Unity-iPhone' do
end
`

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

3 participants