react-native-ml-kit icon indicating copy to clipboard operation
react-native-ml-kit copied to clipboard

BUILD FAILED on IOS

Open taatiq882 opened this issue 2 years ago • 2 comments

using on M1 Mac

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 mustaqbill.xcworkspace. Command line invocation: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace mustaqbill.xcworkspace -configuration Debug -scheme mustaqbill -destination id=12D92B4A-96CD-4871-96FD-9C0A5B7FD54C

User defaults from command line: IDEPackageSupportUseBuiltinSCM = YES

note: Using new build system note: Planning Analyze workspace

Create build description Build description signature: f4aa7eb76e1c41b541f9b546ae266813 Build description path: /Users/talhaatiq/Library/Developer/Xcode/DerivedData/mustaqbill-fhemmipxsgoadjbxflibshapgaaz/Build/Intermediates.noindex/XCBuildData/f4aa7eb76e1c41b541f9b546ae266813-desc.xcbuild

note: Build preparation complete note: Building targets in dependency order /Users/talhaatiq/Documents/GitHub/P103-Mstqbl-App/ios/mustaqbill.xcodeproj: error: The linked library 'libPods-mustaqbill.a' is missing one or more architectures required by this target: x86_64. (in target 'mustaqbill' from project 'mustaqbill')

2022-06-29 18:09:26.542 xcodebuild[12083:734655] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore 2022-06-29 18:09:26.542 xcodebuild[12083:734655] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore ** BUILD FAILED **

taatiq882 avatar Jun 29 '22 16:06 taatiq882

Hey @taatiq882, thanks for waiting! I wonder what React Native ML Kit packages and versions you have? Also, it would be helpful to provide the npx react-native info output so I can get more context.

a7medev avatar Jul 09 '22 04:07 a7medev

Hey there! I tried creating a new app and installing all RN ML Kit packages and running it on my M1 Mac but it seems like GoogleMLKit for iOS doesn't yet support Apple Silicon, so we will have to wait until Google supports it. You can follow the status of Apple Silicon support for GoogleMLKit iOS here.

a7medev avatar Jul 09 '22 14:07 a7medev

It's been almost a year and no Apple Silicon support yet :/

efstathiosntonas avatar Oct 10 '23 08:10 efstathiosntonas

@efstathiosntonas I'm running it on an M1 machine, did you try upgrading to the latest versions of RN ML Kit?

a7medev avatar Oct 10 '23 14:10 a7medev

@a7medev I have to install rosetta for it to work which I don’t want.

efstathiosntonas avatar Oct 10 '23 15:10 efstathiosntonas