#native:run fails - recursive rsync [Solved]

1 messages ยท Page 1 of 1 (latest)

vernal crag
#

I have a new Laravel 12 project with the React type. Updated the XCode project with the team and identifier, executed npm run build and then php artisan native:run. It is stuck at the folowing step:

/bin/sh -c /Users/patrick/Herd/client/ios/build/Build/Intermediates.noindex/NativePHP.build/Debug-iphonesimulator/NativePHP-simulator.build/Script-1EE65C2E2D42A0C100F2812B.sh

Furthermore I had 40GB hard drive space left and after it timed out 0GB. That happens everytime. Is that a known issue and is there any solution for this?

I have also tried to build it in XCode directly, it get's stuck forever there as well.

I have initially tried with iOS 18.2, then upgraded to 18.4 with the same result.

vernal crag
#

rsync -aL --delete --checksum "$PROJECT_DIR/../" "$PROJECT_DIR/NativePHP/app/"

Looks like this piece of code is responsible for that. Having a look at the Activity Monitor it writes until the hard drive is full. Screenshot after running it for 1 or 2 minutes only

#

Ok, the rsync script is including the ios directory as well, which copies itself over and over again. Is that a known bug and is there any fix for that already?

#

native:run fails - recursive rsync

eternal pebble
#

it shouldn't be doing that for sure... i'm working on an improved approach to copying the files into the right places, so if you are able to wait for a new release in the next few days, i will get this fixed

vernal crag
#

Great, thank you!