Add ios support for product-mini (#1602)

Generate `xcodeproj`, that could build iwasm shared library for iOS or iOS Simulator

Signed-off-by: HangedFish <bravohangedman@outlook.com>
This commit is contained in:
Hanged Fish
2022-10-18 07:52:38 +08:00
committed by GitHub
parent ace05b182d
commit 3fe441844c
2 changed files with 155 additions and 0 deletions

View File

@ -0,0 +1,8 @@
#!/bin/sh
# Copyright (C) 2022 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
rm -rf ./iwasm-proj
git clone https://github.com/leetal/ios-cmake.git ios-cmake
cmake -Biwasm-proj -G Xcode -DDEPLOYMENT_TARGET=11.0 -DPLATFORM=OS64 -DENABLE_BITCODE=0 -DCMAKE_TOOLCHAIN_FILE=ios-cmake/ios.toolchain.cmake .