반응형
반응형

보통 Git이나 Cocoapods 등 terminal을 켜서 특정 작업을 진행한 뒤 다시 Xcode를 실행하기 위해 Finder를 다시 열거나 Xcode를 실행한다. 만약 Cocoapods을 사용하는 프로젝트인 경우 .xcworkspace 파일을 실행해야 하고 그렇지 않은 경우 .xcodeproj 을 실행하게 된다. 

open MyProjectName.xcodeproj

open MyProjectName.xcworkspace

위 명령어를 입력해 Cocoapods의 사용 유무에 따라 직접 입력해 줄 수도 있다. 하지만 xed 명령어를 사용하면 더욱 더 생각할 필요 없이 바로 실행이 가능하다.

 

Xed 사용

xed .

해당 명령어를 입력하면 만약 xcworkspace 파일이 존재할 경우에는 해당 파일을 우선적으로 실행하고 그렇지 않은 경우 xcodeproj파일을 실행하게 된다. 즉 Cocoapods의 사용 유무를 전혀 고려할 필요도 없다!

 

이제 프로젝트 파일을 다시 열기전에 open ... 이라던지 터미널을 끄고 Xcode 아이콘을 눌러 실행해준다던지 할 필요가 전혀 없다!!

반응형

'ios > Xcode' 카테고리의 다른 글

Xcode 13.2 - Internal error: missingPackageDescriptionModule  (0) 2021.12.18

Xcode 13.2 버전 업데이트 후 발생하는 오류

 

애플 공식 답변

- We're currently investigating this issue — thank you to those who have filed bug reports so far.

To workaround this issue, please re-download Xcode 13.2 directly from Releases section of the Apple Developer website. This information is also captured in the Xcode 13.2 Release Notes.

If you still encounter this issue after downloading that specific version of Xcode, please open a bug report using Feedback Assistant, and post the FB number here.

 

해결방법은 Xcode 삭제 후 Apple Developer 웹 사이트에서 직접 재설치 한다.

 

https://developer.apple.com/download/all/?q=Xcode%2013.2

 

로그인 - Apple

 

idmsa.apple.com

 

반응형

'ios > Xcode' 카테고리의 다른 글

Terminal에서 바로 Xcode 프로젝트 파일 실행하기  (0) 2022.05.11

+ Recent posts