Computer Science/swift ๋ฝ€๊ฐœ๊ธฐ - ์ฐธ๊ณ  ์‚ฌ์ดํŠธ ์ €์žฅ์†Œ

[Xcode] Simulator Error ํ•ด๊ฒฐ๋ฐฉ๋ฒ• : ld: in /Users/../.../Pods/FirebaseAnalytics/Frameworks/FIRAnalyticsConnector.framework/FIRAnalyticsConnector(FIRAnalyticsConnector_e321ed8e3db06efc9803f6c008e67a34.o), building for iOS Simulator, but linking in obj..

_cactus 2021. 10. 29. 14:19
๋ฐ˜์‘ํ˜•

์ด๋ฒˆ์— ์•„์ด๋งฅ M1์„ ๊ตฌ๋งคํ•˜๊ณ  simulator๋ฅผ ์‚ฌ์šฉํ•  ๋•Œ๋งˆ๋‹ค ์—๋Ÿฌ์™€ ๋งˆ์ฃผํ•˜์—ฌ,, ๊ต‰์žฅํžˆ ๋ถˆํŽธํ–ˆ๋‹ค,,ใ…Ž

๋‚ด๊ฐ€ ๋งˆ์ฃผํ•œ ์—๋Ÿฌ๋Š”

ld: in /Users/../.../Pods/FirebaseAnalytics/Frameworks/FIRAnalyticsConnector.framework/FIRAnalyticsConnector(FIRAnalyticsConnector_e321ed8e3db06efc9803f6c008e67a34.o), building for iOS Simulator, but linking in object file built for iOS, file '/Users/.../.../Pods/FirebaseAnalytics/Frameworks/FIRAnalyticsConnector.framework/FIRAnalyticsConnector' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

 ์œ„์™€ ๊ฐ™๋‹ค.

 

๋‚˜์˜ ํ•ด๊ฒฐ๋ฐฉ๋ฒ•์€ ์ด๋Ÿฌํ•˜๋‹ค

1. Build Settings -> Architectures -> Excluded Architectures ์— "arm64" ์ถ”๊ฐ€

2. Build Settings -> Architectures -> Build Active Architecture Only ๋ฅผ ์ „๋ถ€ "NO"๋กœ ์„ค์ •

๋ฐ˜์‘ํ˜•

 

๋“œ๋””์–ด simulator๋กœ ๋นŒ๋“œ๊ฐ€ ๊ฐ€๋Šฅํ•ด์กŒ๋‹ค ...!!!!!! (๊ฐ๊ฒฉ) ใ…œใ…œ

728x90
๋ฐ˜์‘ํ˜•