728x90
반응형

분류 전체보기 134

[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 - 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 - 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 - 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 - 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' })

728x90
반응형