Xcode(15)
-
Xcode 지원 정보
developer.apple.com/kr/support/xcode/ Xcode - 지원 - Apple Developer 문의하기 어떻게 도와드릴 수 있는지 알려주시면 핸드폰이나 이메일을 통해 해결 방법을 찾아드립니다. 지원받기 developer.apple.com 최소 요구 사항 및 지원되는 SDK Xcode 버전필요한 최소 OSSDK아키텍처OS시뮬레이터Swift Xcode 12.3 베타 macOS Catalina 10.15.4(Intel 기반 Mac) macOS Big Sur 11.0 (Apple 실리콘 기반 Mac) iOS 14.3 macOS 11.1 tvOS 14.3 watchOS 7.3 DriverKit 20.0 x86_64 armv7 armv7s arm64 arm64e iOS 9.0-14.3 iP..
2020.12.26 -
Xcode unsupported family
# 디바이스 연결시 unsupported family 메시지 노출 # TARGETS > Build Settings > Targeted Device Family > 1,2 로 설정 1 : iPhone/iPod touch 2 : iPad 1,2 : universal (iPhone and iPad) 3 : tvOS 4 : watchOS
2020.09.22 -
다국어 지원
# 코드에서 지역화 추출 genstrings -o sampleapp.lproj *.m Localizable.strings 파일을 반환한다. # Interface Builder(XIB) 파일에서 문자열 추출 ibtool --generate-stringsfile MainViewController.strings MainViewController.xib # 다수의 파일 처리 쉘스크립트(Shell Script) 생성 후 실행 #!/bin/bash for f in *.xib; do echo "변환 중 $f file..." ibtool --generate-stringsfile ${f%.*}.strings $f done xib 파일이 위치한 곳에서 실행
2020.09.18 -
[Error] tool 'ibtool' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
# ibtool 사용시 오류 error: tool 'ibtool' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance # 해결방법 sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
2020.09.17 -
[Error] Initializer element is not a compile-time
# 다국어 처리중 오류 static const NSString *str = @"문자열"; 형태로 사용된 코드에 NSLocalizedString 사용시 오류 발생. 컴파일 불가 static const NSString *str = NSLocalizedString(@"문자열", @""); # 처리 방안 define을 이용한 문자열 정의(이름은 상황에 맞게 정의) #define str NSLocalizedString(@"문자열", @"")
2020.09.17 -
CocoaPods 사용법
# 설치 $ sudo gem install cocoapods # Xcode 프로젝트 Root 폴더로 이동 $ cd project_directory # Pod 파일 생성 $ pod init # Podfile 생성 확인 # Podfile 을 열어 설치할 Pod 내용 추가 pod 'Firebase/Messaging' 추가 # Pod 설치 $ pod install # 프로젝트.xcworkspace 생성 확인 및 Xcode로 열어 Pods 프로젝트 추가 확인 ## 2020.09.10 ## # 설치 중 오류 - 다른 개발 Mac에 설치 중 오류 발생 ERROR: Error installing cocoapods: ERROR: Failed to build gem native extension. current direc..
2020.09.09