software-mansion / react-native-executorch

http://docs.swmansion.com/react-native-executorch/
Other
104 stars 4 forks source link

Can't run iOS example #18

Closed byjlw closed 1 week ago

byjlw commented 1 week ago

(.venv) byjlw@byjlw-mbp llama % yarn expo run:ios

✔ Installed CocoaPods › Planning build

› 0 error(s), and 0 warning(s)

CommandError: Failed to build iOS project. "xcodebuild" exited with error code 70. To view more error logs, try building the app with Xcode directly, by opening /Users/byjlw/Documents/source/react-native-executorch/examples/llama/ios/llama.xcworkspace.

Command line invocation: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace /Users/byjlw/Documents/source/react-native-executorch/examples/llama/ios/llama.xcworkspace -configuration Debug -scheme llama -destination id=5C22A0BC-EB9A-44BA-A505-72B9DCBB6B61

User defaults from command line: IDEPackageSupportUseBuiltinSCM = YES

2024-11-13 08:32:34.491 xcodebuild[49810:876653] Writing error result bundle to /var/folders/nj/3xwfv5_55457s6gcrk5r8r6r0000gn/T/ResultBundle_2024-13-11_08-32-0034.xcresult xcodebuild: error: Unable to find a destination matching the provided destination specifier: { id:5C22A0BC-EB9A-44BA-A505-72B9DCBB6B61 }

Ineligible destinations for the "llama" scheme:
    { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device, error:iOS 18.1 is not installed. To use with Xcode, first download and install the platform }

Build logs written to /Users/byjlw/Documents/source/react-native-executorch/examples/llama/.expo/xcodebuild.log

chmjkb commented 1 week ago

Hi, Thank you for taking the time to look into our library. This error occurred because you had the latest version of Xcode, but you didn't have the latest simulator downloaded. Unfortunately, we can't do much about these kinds of issues, as they are related to your setup and not the library. However, we will add a note about the minimum iOS version required to run the library and the demo app (which is not 18.1).