@@ -13,7 +13,7 @@ Apple's tooling for building iOS apps requires that you compile your application
13
13
2 . Laravel 10 or higher
14
14
3 . An Apple Silicon Mac running macOS 12+ with Xcode 16+
15
15
4 . An active [ Apple Developer account] ( https://developer.apple.com/ )
16
- 5 . [ A NativePHP for iOS license] ( https://checkout.anystack.sh/nativephp-ios )
16
+ 5 . [ A NativePHP for mobile license] ( https://checkout.anystack.sh/nativephp )
17
17
6 . _ Optional_ iOS device
18
18
19
19
You don't _ need_ a physical iOS device to compile your application and test it for iOS, as NativePHP for mobile supports
@@ -36,20 +36,20 @@ To make NativePHP for mobile a reality has taken a lot of work and will continue
36
36
it's not open source and you are not free to distribute or modify its source code.
37
37
38
38
Before you begin, you will need to purchase a license.
39
- Licenses can be obtained via [ Anystack] ( https://checkout.anystack.sh/nativephp-ios ) .
39
+ Licenses can be obtained via [ Anystack] ( https://checkout.anystack.sh/nativephp ) .
40
40
41
41
Once you have your license, you will need to add the following to your ` composer.json ` :
42
42
43
43
``` json
44
44
"repositories" : [
45
45
{
46
46
"type" : " composer" ,
47
- "url" : " https://nativephp-ios .composer.sh"
47
+ "url" : " https://nativephp.composer.sh"
48
48
}
49
49
],
50
50
```
51
51
52
- ## Install NativePHP for iOS
52
+ ## Install NativePHP for mobile
53
53
54
54
``` shell
55
55
composer require nativephp/ios
@@ -96,13 +96,10 @@ If you want to run your app on a real iOS device, you need to make sure the devi
96
96
been added to your Apple Developer account as
97
97
[ a registered device] ( https://developer.apple.com/account/resources/devices/list ) .
98
98
99
- 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
100
- Finder. Click on model name at the top until the UDID appears, then right-click on it to copy it.
101
-
102
- Then you can simply run, replacing ` {UDID} ` with your device's UDID:
99
+ Then you can simply run and choose your device from the list of available devices:
103
100
104
101
``` shell
105
- php artisan native:run {UDID}
102
+ php artisan native:run
106
103
```
107
104
108
105
Alternatively, you may open the ` ios/NativePHP.xcodeproj ` file in Xcode and run builds using Xcode's UI.
0 commit comments