본문 바로가기

유니티/IOS BLE

Unity IOS BLE 컴파일 환경 구성

728x90

m.blog.naver.com/PostView.nhn?blogId=seohee_yoo&logNo=220657539091&proxyReferer=https:%2F%2Fwww.google.com%2F

 

[ iOS ] Library 참조 시 ARC 오류 해결하기

필요에 따라 라이브러리를 참고할 경우 ARC가 적용되기 이전 라이브러리일 경우 에러가 발생한다. AR...

blog.naver.com

 

IOS 라이브러리 추가하는 방법

www.ibm.com/support/knowledgecenter/SSFRDS_6.3.0/com.ibm.mqa.uau.doc/topics/t_Installing_IOS_Swift.html


Example
The example code is detailed in the section above.
Editor Preprocessor
The Editor folder contains a preprocessor script that adds some required values to the plist.info file in the final Xcode project file.
CoreBluetooth Framework
In order to use Bluetooth Low Energy in an iOS app you must link your app with the CoreBluetooth framework library. This is done in Xcode and not in Unity. After you have built your app in Unity and opened the project in Xcode follow these steps to add the CoreBluetooth framework library:
1. Show the Project Navigator (upper left of tool panel the folder icon).
2. Select the Unity-iPhone Project at the top of the list. This will show the
settings panel in the middle of the screen which has: General, Capabilities,
Info, Build Settings, Build Phases and Build Rules.
3. Select the Build Phases
4. If it is not open already, open the Link Binary With Libraries section.
5. If CoreBluetooth is not in the list then click on the + symbol at the bottom of
the list.

Bundle Indentifier in Unity

 

Unity Compile

수정된 c# 코드

Command + B 핫키를 이용하여 수정된 c# 코드를 수정한다.

 

IOS XCODE BUILD & RUN

'유니티 > IOS BLE' 카테고리의 다른 글

선수 파일 로딩 & 스윙 종류 분석  (0) 2020.12.26
Ble Racket Data  (0) 2020.12.22