Cannot run my game in iOS simulator

#1

I’ve installed my game to iOS Simulator:

xcrun simctl install booted MyApp.app

But I cannot start MyApp in Simulator :frowning: Crash… No logs… No errors…

When I install MyApp.app to real device via Xcode/Devices, my game works very well.
How to run my game in iOS Simulator?

0 Likes

#2

Oh, I don’t think I’ve ever tried running in the iOS simulator. I’m thinking that it won’t work since the ipa and the bundled engine and LuaJIT version are built to run on an ARM CPU. The simulator doesn’t actually emulate the ARM CPU does it?

0 Likes

#3

Yes, ipa doesn’t work in simulator. But *.app file should work in simulator.
I’m trying to start *.app file.

0 Likes

#4

Isn’t the app version ment to be used on Mac OS and not iOS?

0 Likes

#5

Yes, generally

ipa = ios
app = macos

I believe I tested xcode simulator and it worked but I may be mistaken… putting back on todo to test again. (Misremembering from working on too many projects)

0 Likes

#7

@britzl is right. You cannot run your game in iOS Simulator.

0 Likes

#8

Can the ios builds work on the iOS simulator now?
I’ve been trying to run my build on a simulator but it crashes at opening.

0 Likes

#9

Yes if you bundle for the simulator.

0 Likes

#10

I think there is an issue https://github.com/defold/defold/issues/5282 with ios simulator build.

0 Likes

#11

Ugh, I missed that one.

0 Likes

#12

OK, I tried with Defold 1.2.173 and had the same issue though.
Will wait for a patch.

0 Likes

Delayed response on iPad Pro 2nd Generation