Missing signing identifier at

Hello friends. I’m going to upload a game to the appstore, but I’m getting such an error and I couldn’t find a solution. Xcode is up to date

I’m having the same issue. Were you able to figure out what the problem was?

same issue here. No solution found so far.

Error is gone after setting the min target to iOS 15 in xcode.

I’m having the same problem! Started after upgrading to Xcode 14.1, Unity 2020.3.41 and Facebook SDK 14.1.
The “one weird trick” mentioned at XCode Bug: Missing signing identifier at Unity Framework does indeed work, but it’s suspicious and manual.

I wish I could understand what’s going on and fix it permanently and at the source.

@DarekRusin I explained why the “weird trick” works on my other comment here: XCode Bug: Missing signing identifier at Unity Framework

Now I just want to know if ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES is set to YES by default for UnityFramework or is there a library like GitHub - googlesamples/unity-jar-resolver: Unity plugin which resolves Android & iOS dependencies and performs version management that is setting it to YES (I haven’t got time to dig through their source code).

I have a vague recollection that we’ve eventually linked this to the changes in Facebook SDK, which at some point started adding pieces of Swift code and then in turn, it seems that Unity, upon seeing any traces of Swift code, forces ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES to YES. Here’s the relevant comment from them:

yeah, we have code that forcibly set it to YES if .swift file is encountered. essentially we have this:

source: SetBuildProperty ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES to NO doens't work - Unity Engine - Unity Discussions

In the end we ended up with the same solution as you did in the linked comment and we’re setting the flag to NO in a postprocess step:

proj.SetBuildProperty(unityFrameworkTargetGuid, "ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES", "NO");

Just make sure that your postprocess step priority is high enough so that other SDKs won’t override your override. We’ve been bitten by this too :wink:

1 Like