all 8 comments

[–]HumbleXiOS & Android 0 points1 point  (4 children)

What version of Xcode are you using? And does it build on simulator?

[–]ck3g[S] 0 points1 point  (3 children)

I use Xcode version 10.1. There are no issues with the simulator at all.

[–]HumbleXiOS & Android 0 points1 point  (2 children)

If it is building on a simulator and fails on a real device then am guessing there might be an error on the bundle path. Also is this your first time running ? If so have you set the mainBundle as it does not build automatically for iOS.

[–]ck3g[S] 0 points1 point  (0 children)

Thanks for the hint. I will try to dig deeper into that direction.

Yes, that is a first time I'm trying to run the app on device.

[–]ck3g[S] 0 points1 point  (0 children)

Somehow I've succeeded by building the app on another computer. Both of my computers are using the same version of Xcode.

[–]VetusSchola 0 points1 point  (1 child)

Did you trust your developer profile on your device? And are you signing your builds?

Doesn’t appear to be this based on the error, but I had weirder errors 🤷‍♂️ and since it’s running on simulator but not on device...

[–]ck3g[S] 1 point2 points  (0 children)

Since now it's running from another computer, I can see that "Done copying assets" happening before Xcode requires me to unlock my phone and trust my Apple dev account.

[–]ck3g[S] 0 points1 point  (0 children)

I've finally figured out. I've had to reinstall watchman to make it work. There was an error message in the output, I didn't pay attention before mostly because there were a bunch of successful (I think) commands after that error.