Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
Crashes when running via xcode simulator — Gideros Forum

Crashes when running via xcode simulator

This bug appears in 2021.9

It works without issues in 2020.5

Here is the error dump

2021-10-10 16:56:07.143789+0100 jumpRage iOS[12958:383943] Metal GPU Frame Capture Enabled
2021-10-10 16:56:07.144186+0100 jumpRage iOS[12958:383943] Metal API Validation Enabled
2021-10-10 16:56:07.810940+0100 jumpRage iOS[12958:383943] [plugin] AddInstanceForFactory: No factory registered for id F8BB1C28-BAE8-11D6-9C31-00039315CD46
2021-10-10 16:56:07.946548+0100 jumpRage iOS[12958:384794] [ddagg] AggregateDevice.mm:790 couldn't get default input device, ID = 0, err = 0!
METAL:Apple iOS simulator GPU

/Users/john/Library/Developer/CoreSimulator/Devices/02DD06A0-5668-40BF-8D72-5910B37CFEF2/data/Containers/Data/Application/FC739429-7096-4BD9-820F-E7AA50F1CE22/Documents
/Users/john/Library/Developer/CoreSimulator/Devices/02DD06A0-5668-40BF-8D72-5910B37CFEF2/data/Containers/Data/Application/FC739429-7096-4BD9-820F-E7AA50F1CE22/tmp/
/Users/john/Library/Developer/CoreSimulator/Devices/02DD06A0-5668-40BF-8D72-5910B37CFEF2/data/Containers/Bundle/Application/B35C1195-9228-479C-B297-57A0ABA757F0/jumpRage iOS.app
/Users/john/Library/Developer/CoreSimulator/Devices/02DD06A0-5668-40BF-8D72-5910B37CFEF2/data/Containers/Data/Application/FC739429-7096-4BD9-820F-E7AA50F1CE22/Library/Caches
2021-10-10 16:56:09.355198+0100 jumpRage iOS[12958:383943] Compiler failed to build request
2021-10-10 16:56:09.355773+0100 jumpRage iOS[12958:383943] Error creating render pipeline state: Error Domain=CompilerError Code=1 "Target OS is incompatible: library was not compiled for the simulator" UserInfo={NSLocalizedDescription=Target OS is incompatible: library was not compiled for the simulator}
-[MTLDebugRenderCommandEncoder validateCommonDrawErrors:instanceCount:baseInstance:maxVertexID:]:3889: failed assertion `renderPipelineState must be set.

Comments

  • hgy29hgy29 Maintainer
    Accepted Answer
    This is a known problem, simulator is t supported out of the box now we switched to metal. You can overcome the problem by replacing the default.mtllib file by the simulator version

    Likes: MoKaLux

    +1 -1 (+1 / -0 )Share on Facebook
Sign In or Register to comment.