본문 바로가기

IOS10

[React Native] iOS Multiple commands produce... .ttf 또는 .otf 관련 에러 커스텀 폰트를 추가하려다 react-native link 명령어를 사용했더니... 두둥! 이런 에러를 Xcode에서 내뿜는다. 뿜뿜!! 확인해보니 react-native link 명령어로 인해 react-native-vector-icons에서 잠자고 있던 리소스들을 깨워(?) 중복이 발생하여 벌어지는 에러이다 위 이미지를 보면 react-native-vector-icons도 보이고 Zocial.ttf도 보인다 그래서 .ttf 관련 파일들의 참조를 없애주면 해결 가능하다 (추가로 android는 문제없었으며 iOS에서만 발생했다) 위 이미지와 관련된 에러를 Xcode에서 확인 시, Build Phases > Copy Bundle Resources에서 커스텀 폰트(.ttf나 .otf 파일)를 제외한 나머지 .. 2022. 3. 10.
[React Native] iOS 실행시 에러(arm64 관련) m1 맥북 Xcode: 12.4 react: "17.0.1" react-native: "0.64.1" React Native로 iOS나 aOS를 빌드할 때 발생하는 에러를 가볍게 무시하면 엄청난 삽질을... 개발을 진행하다 이런 에러를 만났다 The linked library 'libPods-xxx.a' is missing one or more architectures required by this target: arm64. 딱 이 에러를 만났을 때 다른 짓(?) 하지 말고 바로... Build Settings > Architectures로 이동하여 그림처럼 arm64를 추가해주고 다시 빌드하면 성공! 끝. 2021. 5. 9.
[React Native] iOS 실행시 에러(Flipper 관련) Xcode: 12.4 react: "16.13.1" react-native: "0.63.4" 새로운 프로젝트 생성 후 npx react-native run-ios를 실행했는데 에러가 발생했다. 뭐지?! 터미널을 확인해보니, warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'Flipper' from project 'Pods') 그리고 Xcode에서는 event2/event-config.h file not found 이런 경고가 있어서 검색을 해보았다.. 2021. 3. 8.
[React Native] iOS 환경 설정 중 발생하는 에러 iOS 환경 설정 중, [React Native] 개발에 필요한 아이들 설치부터 실행까지 시켜보자 mac OS Catalina를 기준으로 설치한다. Homebrew https://brew.sh/ Homebrew The Missing Package Manager for macOS (or Linux). brew.sh 홈페이지에 보면 Apple(또는 Linux 시스템)에서 제공하지 않는 유용한 패.. success206.tistory.com 프로젝트 초기화 및 생성 부분(npx react-native init ...)에서 프로젝트 이름을 "test-1" 이렇게 작성하면 error "test-1" is not a valid name for a project. Please use a valid identifier.. 2021. 3. 8.
iOS 기기별 해상도 Devices screen sizes and orientations iPhone 3 - 480 x 320 iPhone 4 - 960 x 640 iPhone 5 - 1136 x 640 iPhone 6 - 1334 x 750 iPhone 6 Plus - 1920 x 1080 iPad, iPad 2, iPad Mini - 1024 x 768 New iPad - 2048 x 1536 참고 Layout | Apple Developer Documentation A consistent layout that adapts to various contexts makes your experience more approachable and helps people enjoy their favorite apps and games.. 2015. 3. 10.