From 44fb55745824133b4be6ad957450374e593db3d4 Mon Sep 17 00:00:00 2001 From: wtfdnvxk <86326526@qq.com> Date: Wed, 11 Nov 2020 17:06:03 +0800 Subject: [PATCH] fix ios readme build device description MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit if none arch has been defined,then you can use "xcodebuild -scheme "lua-empty-test" -sdk iphonesimulator SYMROOT=." to compile the simulator ,or,You can use 'xcodebuild -scheme "lua-empty-test" -sdk iphoneos SYMROOT=.' to build in ios device。 The Xcode Architectures will show "Standard architecture" --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f92ddcf9e8..5802a5f0dd 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ ```sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer``` 3. Generate xcode project ```sh - # for device arm64 + # for any device cmake -S . -B build -GXcode -DCMAKE_TOOLCHAIN_FILE=cmake/ios.mini.cmake # for device combined armv7,arm64