2022-05-14 09:02:33 +02:00
|
|
|
---
|
2023-07-15 22:10:45 +02:00
|
|
|
title: iOS
|
2022-05-14 09:02:33 +02:00
|
|
|
weight: 23
|
|
|
|
---
|
|
|
|
|
|
|
|
```
|
|
|
|
cd
|
|
|
|
# For saving your time and our time, we prepared dependent files for you.
|
|
|
|
https://github.com/rustdesk/doc.rustdesk.com/releases/download/console/ios_dep.tar.gz
|
|
|
|
tar xzf ios_dep.tar.gz
|
|
|
|
git clone https://github.com/rustdesk/rustdesk
|
|
|
|
cd rustdesk
|
|
|
|
# For simulator: VCPKG_ROOT=$HOME/vcpkg ./flutter/ios_x64.sh
|
|
|
|
VCPKG_ROOT=$HOME/vcpkg ./flutter/ios_arm64.sh
|
|
|
|
cd flutter
|
2022-05-20 09:30:54 +02:00
|
|
|
dart pub global activate ffigen
|
2022-05-14 09:02:33 +02:00
|
|
|
# Good Luck!
|
|
|
|
# For simulator: sed 's/aarch64/x86_64/g' ios/Runner.xcodeproj/project.pbxproj
|
|
|
|
# Forget if need: cd ios; pod install; cd -;
|
|
|
|
flutter run
|
|
|
|
```
|