facebook-sdk-for-unity
facebook-sdk-for-unity copied to clipboard
Unity 2021.3.4f1 iOS build failed. (Podfile not found)
Checklist
- [y] I've updated to the latest released version of the SDK
- [y] I've searched for existing GitHub issues
- [y] I've looked for existing answers on Stack Overflow, the Facebook Developer Community Forum and the Facebook Developers Group
- [y] I've read the Code of Conduct
- [y] This issue is not security related and can safely be disclosed publicly on GitHub
Environment
Describe your dev environment here, giving as many details as possible. If you have them, make sure to include:
- Unity Editor Version:
2021.3.4f1
- Unity SDK Version:
13.2
- Installation Platform & Verison:
iOS
version15.5
Goals
Build for iOS using Unity 2021.3.4f1 and Facebook Unity SDK 13.2
Expected Results
Build successes.
Actual Results
Build failed with error "FileNotFoundException: Could not find file "{ProjectPath}/iOS/Podfile""
Steps to Reproduce
- Create an empty project using Unity 2021.3.4f1.2.
- Import Facebook Unity SDK 13.2.3.
- Build for iOS.
- Build failed.
We're experiencing this too.
It feels like this plugin is not even being tested. This issue has been around for 13 days now.
The sense I've gotten is that Facebook is allocating minimal resources to this. It took about a year v12 released, then several months to get a build of v12 of the SDK that actually worked. Now, we're sitting with a v13 that does not build.
Unity + FacebookSDK is an expensive proposition, because it requires significant dev time for anyone who wants to use it to get it to compile and keep it up to date.
There appears to be a fix here: f5649dbb4bce05bd134ffa421fa6e3d7d00befd8 , but the instructions in the README are insufficient for building the .unitypackage
, so the fix is unusable until a new release is built.
Seems like this project needs a CI/CD pipeline (e.g. Github Actions) so that the latest fixes can be released without waiting for a dev (who seem extremely time constrained) to trigger something.
Bug fixed in the latest SDK version v14. Please download it.
Also we recommend to visit this new GitHub wiki page about common integration issues and how to solve it: https://github.com/facebook/facebook-sdk-for-unity/wiki/FAQ---Troubleshooting-Unity-SDK-14.0.0
@JordiFB it’s awesome you are showing some effort in supporting Unity. What would be even more awesome if you would create UPM packaged Tgz version and even host UPM version on your Github
I do it myself and so could you :)
我好像知道问题了,你要看看项目中用来管理依赖的插件中是否少了IOS平台的Dll文件,或者直接去下载最新的packge导入“https://github.com/googlesamples/unity-jar-resolver/tags”