xcode 4

UE4 Generate Xcode Project

[velog에서 블로그 이전하며 가져온 글입니다] 작성 일자 : 2023년 3월 21일 Mac에서는 언리얼 엔진의 C++ 코드를 수정, 빌드하기 위해서 XCode를 사용한다. 윈도우에서는 {project}.uproject 파일에 우클릭 후 "Generate visual studio project" 메뉴를 눌러서 Visual studio 프로젝트를 생성하지만, Mac에는 "Generate Xcode project" 메뉴를 눌러도 터미널만 화면에 나올 뿐 프로젝트를 생성하지 않고 아무런 동작을 하지 않는다. 그럴 땐 "GenerateProjectFiles.sh" 를 직접 실행해서 xcode 프로젝트를 생성하는 방법이 있는데 아래 명령어를 입력하면 된다. cd /Users/Shared/Epic\ Games/U..

공부 2023.08.18

UE4 XCode 컴파일 에러 : Cannot code sign because the target does not have an Info.plist file and one is not being generated automatically.

[velog에서 블로그 이전하며 가져온 글입니다] 작성 일자 : 2023년 4월 11일 Cannot code sign because the target does not have an Info.plist file and one is not being generated automatically. Apply an Info.plist file to the target using the INFOPLIST_FILE build setting or generate one automatically by setting the GENERATE_INFOPLIST_FILE build setting to YES (recommended). 언리얼 프로젝트를 개발하던 중 IOS로 앱을 패키징하기 위해 Mac에서 컴파일을 시도했지만 ..

개발일지/UE4 2023.08.18

UE4 Xcode build error : variable “LayerNames” set but not used [-Werror,-Wunused-but-set-variable]

[velog에서 블로그 이전하며 가져온 글입니다] 작성 일자 : 2022년 11월 30일 출처 : https://velog.io/@hon454/Unreal-macOS-에서-빌드-시-variable-LayerNames-set-but-not-used-Werror-Wunused-but-set-variable-에러가-발생하는-경우 MacOS 환경에서 XCode로 UE4 프로젝트를 빌드할 때 아래 에러가 나온다. variable “LayerNames” set but not used [-Werror,-Wunused-but-set-variable] 해결책은 *.build.cs 파일에 아래 코드를 삽입해주는 것이다. bOverrideBuildEnvironment = true; AdditionalCompilerArgum..

개발일지/UE4 2023.08.18

UE4 Xcode build error : Trigraph converted to '[' character

[velog에서 블로그 이전하며 가져온 글입니다] 작성 일자 : 2023년 3월 22일 윈도우에서 UE4.27 프로젝트를 다루다가 IOS용 패키징을 위해서 Mac에 xcode 로 빌드했을 때 나타난 에러이다. Trigraph는 일부 문자 세트에서 단일 문자를 나타내기 위해 사용되는 세 개의 문자로 이루어진 시퀀스로, C++ 코드에서 예기치 않은 동작을 일으킬 수 있다고 한다. xcode에서 Trigraph를 비활성화하여 빌드한다면 문제를 해결할 수 있을 것이다. 내 경우에는 unused-but-not-set-variable 문제와 함께 나타나 아래 코드를 *.target.cs 에 추가했다. bOverrideBuildEnvironment = true; AdditionalCompilerArguments = ..

개발일지/UE4 2023.08.18