tabris-js
tabris-js copied to clipboard
Tabris failed to open on ios simulator
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`.
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
does tabris xframework support x86 / x86_64 ?
@karolszafranski can you please respond to this issue ?