2018-10-03 12:11:54 -04:00
|
|
|
Building wxWidgets for iOS {#plat_ios_install}
|
|
|
|
----------------------------
|
|
|
|
|
|
|
|
wxiOS is far from a full supported port, but can be used
|
|
|
|
as base for simple applications and future improvements.
|
|
|
|
|
|
|
|
It requires Xcode with iOS SDK 9.0 or later. Xcode is available
|
2020-07-04 16:08:24 -04:00
|
|
|
for free in the macOS app store.
|
2018-10-03 12:11:54 -04:00
|
|
|
|
|
|
|
To build wxiOS you should use Xcode to open the minimal samples
|
|
|
|
Xcode project file located at:
|
|
|
|
|
|
|
|
samples/minimal/minimal_iphone.xcodeproj
|
|
|
|
|
|
|
|
That project files includes wxiphone.xcodeproj so you just need
|
|
|
|
to hit run in order to see the minimal sample running in the
|
|
|
|
simulator.
|
|
|
|
|
|
|
|
The library can also be build via configure/make:
|
|
|
|
|
|
|
|
mkdir build_ios
|
|
|
|
cd build_ios
|
|
|
|
../configure --with-osx_iphone --enable-monolithic \
|
|
|
|
--with-macosx-version-min=8.0 --disable-shared \
|
|
|
|
--enable-macosx_arch=i386 \
|
|
|
|
--with-macosx-sdk=$(xcrun --sdk iphonesimulator --show-sdk-path)
|
|
|
|
make
|