[React Native - ios] no such file or directory 1. 기존에 잘 빌드되어서 svn 에 import함 2. svn 에서 새로 commit 받음 3. 빌드 시 파일이 없다고 함 확인해보니 ~~~.a 파일이 svn에 import 시 정상적으로 업로드 되지 않았다. Cornerstone SVN 기준으로, [ignore files according to my global ignore settings] 를 체크 해제하여 업로드 할 것 React Native/React Native_error 2021.07.14
[React Native - ios] syntax error near unexpected token `(' * react-native 버전을 [0.61.5 -> 0.64.2] 로 변경 후, ios 빌드 중 발생한 에러 pod install 시에 발생한 에러로, 폴더명에 중괄호 '()' 가 들어가 있었서 발생한 에러였다. 폴더명에 중괄호 '()' 만 제거하니 해결됨 React Native/React Native_error 2021.07.13
[React Native - android] Execution failed for task ':app:checkDebugAarMetadata' * react-native 버전을 [0.61.5 -> 0.64.2] 로 변경 후, android 빌드 중 발생한 에러 RN 빌드 시 자동으로 Android 30 을 타겟하는 androidx.core:core:1.7.0-alpha01 로 빌드하기 때문이라고 함 androidXCore 버전을 지정해준다. # android > build.gradle buildscript { ext { buildToolsVersion = "29.0.3" minSdkVersion = 23 compileSdkVersion = 29 targetSdkVersion = 29 ndkVersion = "20.1.5948944" kotlin_version = "1.5.0" androidXCore = "1.5.0" } * 참고 : https:.. React Native/React Native_error 2021.07.13
[React Native - ios] error: linker command failed with exit code 1 (use -v to see invocation) * react-native 버전을 [0.61.5 -> 0.64.2] 로 변경 후, ios 빌드 중 발생한 에러 PROJECT > Build Settings > Library Search Paths 인용부호 (" ") 를 path 에서 지워주면 된다. * 참고 : https://github.com/facebook/react-native/issues/28483 React Native/React Native_error 2021.07.12
[React Native - ios/android] Error: Unable to resolve module stream from .../node_modules/cipher-base/index.js: stream could not be found within the project. * react-native 버전을 [0.61.5 -> 0.63.4] 로 변경, ios 빌드 완료 후 실행 중 발생한 에러 reat native 0.63.4 버전이 stream 패키지를 가져오지 못해서 발생한 이슈라고 함 stream 을 별도로 설치해서 해결 npm i --save stream * 참고 : https://github.com/aws-amplify/amplify-js/issues/153 * ios 에서는 아래와 같이 에러 발생 React Native/React Native_error 2021.07.09
[React Native - ios] 79 duplicate symbols for architecture arm64 npm i react-native-cli -g * react-native 버전을 [0.61.5 -> 0.63.4] 로 변경 후, ios 빌드 중 발생한 에러 다양한 해결법에 대한 이야기가 있지만, 다른 방법들은 안되고 아래 방법으로 해결 [Pods > TARGETS > TcpSockets > Build Phases > Compile Sources] 에 가면 CocoaAsyncSocket 이 있는데 해당 부분을 삭제 * 참고 : https://github.com/Rapsssito/react-native-tcp-socket/issues/61#issuecomment-653881488 ↓↓↓↓↓ pod update 할 때마다 삭제해줘야 하기에 근본적인 해결책은 아니다. 그러다 ~/Library/Caches/Co.. React Native/React Native_error 2021.07.08
[React Native - ios] Undefined symbol: _swift_getFunctionReplacement & Undefined symbol: _swift_getOrigOfReplaceable * react-native 버전을 [0.61.5 -> 0.63.4] 로 변경 후, ios 빌드 중 발생한 에러 나의 경우에는 아래의 [Don't Dead-strip Inits and Terms] 부분을 [Yes] 로 변경하니 빌드가 되었다 * 참고 : https://stackoverflow.com/questions/66079852/xcode-react-native-undefined-symbol-swift-getfunctionreplacement * 다른 케이스 참고 : https://github.com/react-native-community/upgrade-support/issues/25 React Native/React Native_error 2021.07.07
[React Native - ios] Typedef redefinition with different types ('uint8_t' (aka 'unsigned char') vs 'enum clockid_t') * react-native 버전을 [0.61.5 -> 0.63.4] 로 변경 후, ios 빌드 중 발생한 에러 아래와 같이 변경 후 해결 * 참고 : https://github.com/facebook/flipper/issues/834 # 변경 전 use_flipper!({ 'Flipper' => '0.74.0' }) # 변경 후 use_flipper!({ 'Flipper-Folly' => '2.5.3', 'Flipper' => '0.87.0', 'Flipper-RSocket' => '1.3.1' }) React Native/React Native_error 2021.07.07
[React Native - ios] Error: 'event2/event-config.h' file not found * react-native 버전을 [0.61.5 -> 0.63.4] 로 변경 후, ios 빌드 중 발생한 에러 Flipper SDK 버전이 낮아서 발생한 에러로 아래와 같이 수정함 # ios > Podfile # 변경 전 use_flipper! # 변경 후 use_flipper!({ 'Flipper' => '0.74.0' }) * 참고 : https://coding-dahee.tistory.com/252 React Native/React Native_error 2021.07.07