You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: resources/views/docs/mobile/1/getting-started/installation.md
+10-17Lines changed: 10 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,14 +9,14 @@ order: 100
9
9
2. Laravel 10 or higher
10
10
3. An Apple Silicon Mac running macOS 12+ with Xcode 16+
11
11
4. An active [Apple Developer account](https://developer.apple.com/)
12
-
5.[A NativePHP for mobile license](https://checkout.anystack.sh/nativephp)
12
+
5.[A NativePHP for mobile license](https://checkout.anystack.sh/nativephp)
13
13
6._Optional_ iOS device
14
14
15
15
16
16
#### For iOS
17
17
1. An Apple Mac (ideally Silicon) running macOS 12+ with Xcode 16+
18
18
2. An active [Apple Developer account](https://developer.apple.com/)
19
-
3. You can download Xcode from the Mac App Store.
19
+
3. You can download Xcode from the Mac App Store
20
20
21
21
#### For Android
22
22
1.[Android Studio Giraffe (or later)](https://developer.android.com/studio)
@@ -77,7 +77,8 @@ Then run:
77
77
composer require nativephp/mobile
78
78
```
79
79
80
-
If this is the first time you're installing the package, you will be prompted to authenticate. Your username is the email address you registered with Anystack. Your password is your license key.
80
+
If this is the first time you're installing the package, you will be prompted to authenticate. Your username is the
81
+
email address you registered with Anystack. Your password is your license key.
81
82
82
83
This package contains all the libraries, classes, commands, and interfaces that your application will need to work with
83
84
iOS and Android.
@@ -110,26 +111,18 @@ Once you're ready:
110
111
php artisan native:run
111
112
```
112
113
113
-
This will start compiling your application and boot it in whichever device you select.
114
+
This will start compiling your application and boot it on whichever device you select.
114
115
115
116
### Running on a real device
116
117
117
118
#### For iOS
118
119
If you want to run your app on a real mobile device, you need to make sure the device is in
119
-
[Developer Mode](https://developer.apple.com/documentation/xcode/enabling-developer-mode-on-a-device) and that it's been added to your Apple Developer account as [a registered device](https://developer.apple.com/account/resources/devices/list).
120
-
121
-
For iOS: You will need to get the device's UDID. You can find this by connecting the device to your Mac and opening it in the
122
-
Finder. Click on model name at the top until the UDID appears, then right-click on it to copy it.
123
-
124
-
Then you can simply run, replacing `{UDID}` with your device's UDID:
125
-
126
-
```shell
127
-
php artisan native:run
128
-
```
129
-
130
-
Alternatively, you may open the `ios/NativePHP.xcodeproj` file in Xcode and run builds using Xcode's UI.
0 commit comments