Add CoreBluetooth framework automatically

After generating xcode project from Unity, I have to manually add CoreBluetooth.framework manually. Can i make it automatic???
Is there any settings where i can manage these things??
Thanks in advance.

I haven’t tested this but should work:
go to the folder where xCode keeps its frameworks:


this is path on my machine, it may be different on yours.

copy the CoreBluetooth.framework into your unity project’s Assets/Plugins/iOS folder (or any subfolder)


Again, I’m not sure if this will work but I’ve seen plenty of Unity SDK’s come with a bunch of files in Plugins folder.
Usually everything is copied into xCode project. Please let me know if it works.

Yes, you can. Through Unity post process build scripts and this: