facebook-sdk-for-unity icon indicating copy to clipboard operation
facebook-sdk-for-unity copied to clipboard

Unity 2021.3.4f1 iOS build failed. (Podfile not found)

Open h3902340 opened this issue 2 years ago • 7 comments

Checklist

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 version 15.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

  1. Create an empty project using Unity 2021.3.4f1.2.
  2. Import Facebook Unity SDK 13.2.3.
  3. Build for iOS.
  4. Build failed.

h3902340 avatar Jun 11 '22 18:06 h3902340

We're experiencing this too.

fahall avatar Jun 23 '22 19:06 fahall

It feels like this plugin is not even being tested. This issue has been around for 13 days now.

h3902340 avatar Jun 24 '22 11:06 h3902340

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.

fahall avatar Jun 27 '22 16:06 fahall

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.

fahall avatar Jun 27 '22 22:06 fahall

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 avatar Jul 12 '22 12:07 JordiFB

@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 :)

snorrsi avatar Jul 12 '22 22:07 snorrsi

我好像知道问题了,你要看看项目中用来管理依赖的插件中是否少了IOS平台的Dll文件,或者直接去下载最新的packge导入“https://github.com/googlesamples/unity-jar-resolver/tags”

627514 avatar Mar 04 '23 07:03 627514