Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tabris failed to open on ios simulator #2278

Open
jhay06 opened this issue Oct 24, 2023 · 3 comments
Open

Tabris failed to open on ios simulator #2278

jhay06 opened this issue Oct 24, 2023 · 3 comments
Labels

Comments

@jhay06
Copy link

jhay06 commented Oct 24, 2023

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`.

@jhay06 jhay06 added the bug label Oct 24, 2023
@jhay06
Copy link
Author

jhay06 commented Oct 24, 2023

okay upon digging on the logs
i found out that the command is building for arm64 i saw this build parameter -requiredArchitecture arm64
how can i target x86/x86_64 since im using mac intel not mac arm64

@jhay06
Copy link
Author

jhay06 commented Oct 25, 2023

does tabris xframework support x86 / x86_64 ?

@ishigo1987
Copy link

@karolszafranski can you please respond to this issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants