Closed kaninhot004 closed 3 months ago
@kaninhot004 - we have not had any other reports of this issue. Please try to do the following:
Thanks I will try that.
@kaninhot004 could you try updating Xcode to 15.4 and see if that fixes your issue?
@kaninhot004 could you try updating Xcode to 15.4 and see if that fixes your issue?
Thanks for solution, but I can't do it because Unity Cloud Build only support 15.2 at this moment.
Did you happen to upgrade FB recently? This seems to be an issue with FB, so we would recommend rolling back any FB upgrades until Unity Cloud Build supports Xcode 15.4.
Yes Facebook SDK are required to update because of policy. So I will wait Unity Cloud Build to support new XCode.
I will close this issue now. Thank you so much!
I have a similar issue. Maybe it is rather connected with CocoaPods installation. In my case, the build also faied to create the .xcworkspace file which might have caused the issues with linking the libraries.
@JonathanLiuApp Are there any recommended steps to make sure CocoaPods get properlly installed during Unity Cloud Build? Do we have to manually run pod install
in a post-build script?
Thank you!
@stepanfiala Cocoapods should automatically install and create an .xcworkspace file unless there is an issue with your podfile or the pods it contains. Running the command pod install --repo-update
and then rebuilding fixes a lot of Cocoapods build issues that I have run into with Unity.
Could you share the build logs so we can take a look at why your Cocoapods installation failed?
@JonathanLiuApp Thanks a lot!
So far I've only added a pre-build script that upgrades cocoapods to version 1.15.2 (as I was recommended by the Unity Support) but it didn't help.
Here is my log, any help highly appreciated!
stepan-fiala-letter-fair-ios-release-46-letterfair-unity-iphone.log
@stepanfiala It looks like your cocoapods installation may be failing because your IPHONEOS_DEPLOYMENT_TARGET isn't high enough. Could you try upgrading your Target Minimum iOS Version
to 13.0?
MAX Plugin Version
6.6.1
Unity Version
2021.3.39f1
Device/Platform Info
iOS
Current Behavior
XCode Build Failed.
Expected Behavior
XCode Build Succeed.
How to Reproduce
After import AppLovin into project and start Unity Cloud Build it failed.
Setup
Plug-in Using: AppsFlyer, AppLovin, Facebook SDK. AppLovin Adapter Using: Facebook, Google AdMob.
Additional Info
Some Error Logs