Skip to content

Tabris failed to open on ios simulator #2278

@jhay06

Description

@jhay06

Problem description

The app failed to open when launching it to ios simulator

Expected behavior

should run

Environment

  • Tabris.js version: 3.9.1
  • Device: Simulator (iPhone 13 Pro)
  • OS: iOS 15.5

Code snippet

Okay , i built the app using below command

tabris run ios --debug --cordova-build-config=/path/to/my/build.json --target="iPhone-13-Pro"

it build and signed ,
i am currently using Mac OS Sonoma with Xcode 14 and has iphonesdk17 installed on it and per checking on the logs
it builds using iphonesdk17 i don't know if it does matter because the simulator iPhone-13-Pro is running on iOS 15.5 sdk

it builds successfully but failed to launch from the simulator ,
below is the logs i received

device.name: iPhone 13 Pro
device.runtime: iOS 15.5
device.id: D00847F9-5C23-47A2-8797-979D4B9F91B0
[ios-sim] Simulator already running.
[ios-sim] An error was encountered processing the command (domain=IXUserPresentableErrorDomain, code=4):
Simulator device returned an error for the requested operation.
This app needs to be updated by the developer to work on this version of iOS.
Failed to find matching arch for input file: /Users/xxx/Library/Developer/CoreSimulator/Devices/D00847F9-5C23-47A2-8797-979D4B9F91B0/data/Library/Caches/com.apple.mobile.installd.staging/temp.1rQd8A/extracted/MyApp.app/MyApp
Underlying error (domain=IXUserPresentableErrorDomain, code=4):
        “My App” Needs To Be Updated
        This app needs to be updated by the developer to work on this version of iOS.
[ios-sim] An error was encountered processing the command (domain=FBSOpenApplicationServiceErrorDomain, code=1):
Simulator device returned an error for the requested operation.
[ios-sim] The request was denied by service delegate (SBMainWorkspace) for reason: NotFound ("Application "com.domain.myapp" is unknown to FrontBoard").
Underlying error (domain=FBSOpenApplicationServiceErrorDomain, code=1):
        The request to open "com.domain.myapp" failed.
        The request was denied by service delegate (SBMainWorkspace) for reason: NotFound ("Application "com.domain.myapp" is unknown to FrontBoard").
[ios-sim] logPath: /Users/xxx/tabris_proj/build/cordova/platforms/ios/cordova/console.log
Command finished with error code 0: /Users/xxx/tabris_proj/build/cordova/platforms/ios/cordova/node_modules/ios-sim/bin/ios-sim launch,/Users/xxx/tabris_proj/build/cordova/platforms/ios/build/emulator/MyApp.app,--devicetypeid,com.apple.CoreSimulator.SimDeviceType.iPhone-13-Pro,--log,/Users/xxx/tabris_proj/build/cordova/platforms/ios/cordova/console.log,--exit
Simulator successfully started via `ios-sim`.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions