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.
Answer by taxvi · Nov 27, 2015 at 07:15 AM
I haven't tested this but should work: go to the folder where xCode keeps its frameworks:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk/System/Library/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)
build.
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.
Answer by bombsquare · Aug 29, 2016 at 11:39 AM
Yes, you can. Through Unity post process build scripts and this:
https://docs.unity3d.com/ScriptReference/iOS.Xcode.PBXProject.AddFrameworkToProject.html
Your answer
Follow this Question
Related Questions
What am I doing wrong? 0 Answers
How to get input of VR head movement??!! 1 Answer
Can I combine untiy with x-code? 0 Answers
undefined symbol error related to WebRTC while building in Xcode 0 Answers
[Not Answered] Fog not working iOS Build 2 Answers