Jongbeom2 / example

0 stars 0 forks source link

@react-native-seoul/kakao-login 설치후 ios 빌드 에러 #2

Open Jongbeom2 opened 3 years ago

Jongbeom2 commented 3 years ago

@react-native-seoul/kakao-login 설치후 ios 빌드 에러가 발생함.

undefined symbols for architecture x86_64:
"Swift._ArrayBuffer._copyContents(initializing: Swift.UnsafeMutableBufferPointer<A>) -> (Swift.IndexingIterator<Swift._ArrayBuffer<A>>, Swift.Int)", referenced from:
generic specialization <serialized, Swift._ArrayBuffer<Swift.Int8>> of Swift._copyCollectionToContiguousArray<A where A: Swift.Collection>(A) -> Swift.ContiguousArray<A.Element> in libAlamofire.a(NetworkReachabilityManager.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Jongbeom2 commented 3 years ago

패키지 문제가 아니라 특정 패키지를 다운받아서 사용할 때 생기는 Xcode 12.5 버그임. ios/client_app.xcodeproj/project.pbxproj 파일의 특정 코드를 해결함. (진짜 해결 방법인지는 아직 확인 안되는데, 아직은 이 방법 뿐임).

참고링크 1 참고링크 2