본문 바로가기
#모바일 [Mobile]/iOS

[iOS] Xcode에서 파이썬 빌드하기 (Running Python in Xcode)

by cy_mos 2020. 5. 14.
반응형
카테고리 (Category) 작성 날짜 (Write Date) 최근 수정 날자 (Recent Write Date) 작성자 (Writer)
iOS 2020.05.14. 17:29 2020.09.29. 15:28 Dev.Yang

 

[iOS] Xcode에서 파이썬 빌드하기 (Running Python in Xcode)

🗂 Running Python in Xcode Step

001. Xcode에서 새로운 프로젝트 생성을 선택한 뒤 Cross-platform 항목을 선택한 뒤 External Build System을 선택하여 프로젝트를 생성합니다.


002. 생성된 프로젝트. xcodeproj 선택한 뒤 Build Tool 항목에 /usr/bin/python을 입력합니다.


003. 프로젝트의 Edit Scheme 메뉴로 접근하여 Excutable 항목에서 Debug executable 항목을 선택 해제 한 뒤 /usr/bin 경로에서 python Build 프로그램을 선택합니다.


004. Arguments 탭에서 Arguments Passed On Launch 항목에 Python Build를 수행하고자 하는 파일을 추가하고 Expand Baraibles Based On 항목에 현재 작업 중인 빌드 프로젝트를 선택합니다.


005. Options 탭에서 Working Directory 항목을 체크한 뒤 새롭게 생성한 프로젝트의 .xcodeproj 파일이 포함된 경로를 선택하여줍니다.


🚀 REFERENCE

 

[ iOS ] Xcode에서 Python 빌드하기(External Build)

[ iOS ] Xcode에서 Python 빌드하기(External Build)

blog.naver.com

 

Running Python in Xcode: Step by Step

As I’m preparing for a project that will involve Python programming, I need to get up to speed with at least a basic level of Python mastery. However, I’m not a big fan of using the int…

ericasadun.com

반응형

댓글