I'm building MediaPipe based face recognition lib using Bazel, I'm using apple_xcframework bazel rule.
This creates a dynamic xcframework, which I then share to other devs who add it to their XCode projects (Apps). They do this by adding my xcframework to their app target and setting embed & sign
since it is dynamic framework.
Issue: Everything builds fine but when app starts to get installed on device they get this error:
could not inspect application package
Initial research concluded in manually resigning my xframework with app devs' signature as mentioned here. But it doesn't work.
What else I'm missing here?
I have finally figured this out,
In the bazel rule, I had missed mentioning bundle_id
, once I add it as a parameter to apple_xcframework rule and also (optional) add it in the info.plist
file it worked.
This has solved my issue. Its clearly dev mistake but for some reason bazel doensn't throw an error even though bundle_id
is missing (which is infact a required
param).