Closed uchar closed 1 year ago
Are Add use_frameworks! to Podfile
and Always add the main target to Podfile
unchecked in the External Dependency manager? If not, could you try unchecking them and rebuilding the project?
Hi @JonathanLiuApp , with :
I get this build error :
No such module ‘FBSDKCoreKit’
Hi @uchar, could you check to make sure that FBSDKCoreKit
is in your podfile and there are no cocoapods errors when running pod install
? You may need to increase your minimum deployment target for the latest versions of FBSDKCoreKit
. You can change that in Unity by going to Target minimum iOS Version
in iOS Player Settings. https://docs.unity3d.com/Manual/class-PlayerSettingsiOS.html
@JonathanLiuApp It didn't work, I increased the target minimum iOS, checked cocoapods , test different combinations of options in the external dependency manager and none of them worked! I finally fixed it by downgrading Facebook SDK from 16.0.1 to 14.1.1
After upgrading to the latest AppLovin version we see the same crash on startup in iOS. But we do not use Facebook SDK.
@AntonPetrov83 Unchecking Add use_frameworks! to Podfile
and Always add the main target to Podfile
should fix the issue. However, if for some reason you are unable to uncheck them or that doesn't solve the issue, you would need to add the missing framework to the embedded frameworks list of the main target to fix this startup crash.
Unchecking Add use_frameworks! to Podfile
and Always add the main target to Podfile
leads to an error:
[!] The following Swift pods cannot yet be integrated as static libraries:
The Swift pod `FirebaseCoreInternal` depends upon `GoogleUtilities`, which does not define modules. To opt into those targets generating module maps (which is necessary to import them from Swift when building as static libraries), you may set `use_modular_headers!` globally in your Podfile, or specify `:modular_headers => true` for particular dependencies.
UPDATE: Did managed to solve this by modifying AppDependencies.xml file of the Firebase adding modular_headers="true" property:
<iosPods>
<iosPod name="Firebase/Core" version="10.13.0" minTargetSdk="8.0"/>
<!-- ADD THIS! -->
<iosPod name="FirebaseCore" modular_headers="true"/>
<iosPod name="GoogleUtilities" modular_headers="true"/>
</iosPods>
MAX Plugin Version
5.11.2
Unity Version
2021.3.29
Device/Platform Info
iOS 16
Current Behavior
Recently, after updating applovin to the latest version with all plugins updated and also Xcode to the latest version (14.3.1), the game builds fine but we get this crash in the startup :
Also if we uncheck Link frameworks statically in iOS resolver settings ( because some solutions on the internet suggest doing it )
We get the following error :
Expected Behavior
Game should build and run fine
How to Reproduce
In Unity 2021.3.29 add networks from the screenshot below and then try to build it using code 14.3.1 and then run it on iOS 16 ( it also happens on lower version e.g iOS 15)
Additional Info
No response