:::: MENU ::::

Simplicity Studio 5 – 맥에서 이슈 해결

Silab 사의 개발 환경인 Simplicity Studio 5 를 맥(Big Sur)에서 사용시 프로젝트를 구성을 할 때 Bluetooth Configurator 가 제대로 안되고 에러가 난다.

An internal error occurred during: “Generating apack_btConfig for project_name“.

Failed to generate setup apack_btConfig exited with 134:

dyld: Library not loaded: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation

  Referenced from: /Applications/Simplicity Studio.app/Contents/Eclipse/developer/adapter_packs/python/bin/python3

  Reason: image not found

문제를 해결하기 위해서는 /Applications/Simplicity Studio.app/Contents/Eclipse/developer/adapter_packs/python/bin/ 이 위치에 설치된 파이썬을 사용하지 않고 Python 3.6버전을 사용하고 이 버전에 심볼릭 링크를 거는 것이다.

1.  Create a python 3.6 anaconda environment. Activate it and find the location of python in the env.

In my case, it is /Users/user_name/opt/anaconda3/envs/studio/bin/python

2. Soft link all python files to that location in the following location.
/Applications/Simplicity Studio.app/Contents/Eclipse/developer/adapter_packs/python/bin

ln -s /Users/yaoyu/opt/anaconda3/envs/studio/bin/python ./python

ln -s /Users/yaoyu/opt/anaconda3/envs/studio/bin/python ./python3

ln -s /Users/yaoyu/opt/anaconda3/envs/studio/bin/python ./python3.6

참고: https://www.silabs.com/community/software/simplicity-studio/forum.topic.topic.15.15.html/macos_big_sur_support-UO87