• 카테고리

    질문 & 답변
  • 세부 분야

    모바일 앱 개발

  • 해결 여부

    미해결

react-native-nmpa ios 빌드 오류

22.03.02 13:59 작성 조회수 3.19k

0

안녕하세요 강사님 강의 잘 보고 있습니다!!

react-native-nmap 설치하는 과정에서 android는 잘 동작하는데 ios는 빌드 오류가 납니다.

Podfile에 pod 'NMapsMap'도 넣어주고 xcode에서 bundle id까지 수정했는데 이런 오류가 납니다. ㅠ

노트북은 macbook m1 air를 사용하고 있습니다. 

 

// 터미널 문구

info Found Xcode workspace "FoodDeliveryApp.xcworkspace"

info Building (using "xcodebuild -workspace FoodDeliveryApp.xcworkspace -configuration Debug -scheme FoodDeliveryApp -destination id=4BDB24A8-2FAC-4B60-B43D-208AB82BE481")

error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening FoodDeliveryApp.xcworkspace.

Command line invocation:

    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace FoodDeliveryApp.xcworkspace -configuration Debug -scheme FoodDeliveryApp -destination id=4BDB24A8-2FAC-4B60-B43D-208AB82BE481

 

User defaults from command line:

    IDEPackageSupportUseBuiltinSCM = YES

 

note: Using new build system

note: Planning

Analyze workspace

 

Create build description

Build description signature: 45f1ce7cd1236994427031452d16ebc3

Build description path: /Users/a/Library/Developer/Xcode/DerivedData/FoodDeliveryApp-bhfyfhetxyujlxbhakmqeeloavkh/Build/Intermediates.noindex/XCBuildData/45f1ce7cd1236994427031452d16ebc3-desc.xcbuild

 

note: Build preparation complete

note: Building targets in dependency order

/Users/a/Documents/inflearn/FoodDeliveryApp/ios/FoodDeliveryApp.xcodeproj: error: The linked library 'libPods-FoodDeliveryApp.a' is missing one or more architectures required by this target: x86_64. (in target 'FoodDeliveryApp' from project 'FoodDeliveryApp')

 

objc[29745]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libamsupport.dylib (0x203f87678) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1088342c8). One of the two will be used. Which one is undefined.

objc[29745]: Class AMSupportURLSession is implemented in both /usr/lib/libamsupport.dylib (0x203f876c8) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x108834318). One of the two will be used. Which one is undefined.

** BUILD FAILED **

답변 2

·

답변을 작성해보세요.

1

https://wiwi-pe.tistory.com/168

이게 해결법인 것 같습니다.

0

Mobum Shin님의 프로필

Mobum Shin

2022.03.14