I am using Aurelia-esnext. After adding polyfills, It works fine on all browsers and devices. However in iPhone 6s, 6s Plus or any iPhone having iOS 9 it doesn't load.
iOS 9 safari throws below error. Any leads on this ? It works fine in iOS 8 and below
DEBUG [templating] importing resources for http://localhost:9000/wwwroot/jspm_packages/npm/aurelia-templating-resources#1.0.0/compose.js []
DEBUG [templating] importing resources for http://localhost:9000/wwwroot/jspm_packages/npm/aurelia-templating-router#1.0.0/router-view.js []
Unhandled rejection create#[native code]
resolve
loadViewFactory
load
load
load
tryCatcher
_settlePromiseFromHandler
_settlePromise
_settlePromise0
_settlePromises
_fulfill
_resolve
_promiseFulfilled
_settlePromise
_settlePromise0
_settlePromises
_drainQueue
_drainQueues
drainQueues
Related
I am using the following desiredCapabilities in my codeceptconf.js file.
Appium: { // IOS local Simulator iPhone 13
app: "./ipa/arvApp.app",
platform: "iOS",
desiredCapabilities: {
deviceName: "iPhone 13",
//os_version: "15.5",
"automationName": "XCUITest",
autoAcceptAlerts: 'true' ,
autoDissmissAlerts: 'true',
},
}
Facing the below error -
App Launch And Login options. --
Navigate to just browse in app and Login with Gmail
2022-10-04T17:44:00.627Z ERROR webdriver: Request failed with status 500 due to
unknown error: An unknown server-side error occurred while processing the command.
Original error: Simulator architecture is unsupported by the
'/Users/jule/Desktop/arive/automation/ipa/ariveApp.app' application. Make sure the
correct deployment target has been selected for its compilation in Xcode.
2022-10-04T17:44:00.628Z ERROR webdriver: unknown error: An unknown server-side
error occurred while processing the command. Original error: Simulator architecture is unsupported by the '/Users/jule/Desktop/arive/automation/ipa/ariveApp.app' application. Make sure the correct deployment target has been selected for its compilation in Xcode.
at getErrorFromResponseBody (/Users/jule/Desktop/arive/automation/node_modules/webdriver/build/utils.js:197:12)
at NodeJSRequest._request (/Users/jule/Desktop/arive/automation/node_modules/webdriver/build/request/index.js:166:60)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async startWebDriverSession (/Users/jule/Desktop/arive/automation/node_modules/webdriver/build/utils.js:67:20)
at async Function.newSession (/Users/jule/Desktop/arive/automation/node_modules/webdriver/build/index.js:46:45)
at async Object.remote (/Users/jule/Desktop/arive/automation/node_modules/webdriverio/build/index.js:77:22)
at async Appium._startBrowser (/Users/jule/Desktop/arive/automation/node_modules/codeceptjs/lib/helper/Appium.js:232:24)
Error: Can't connect to WebDriver.
Error: Failed to create session.
An unknown server-side error occurred while processing the command. Original error: Simulator architecture is unsupported by the '/Users/jule/Desktop/arive/automation/ipa/ariveApp.app' application. Make sure the correct deployment target has been selected for its compilation in Xcode.
Please make sure Selenium Server is running and accessible
I wait for element 30
✖ FAILED in 13ms
Please help to resolve this error.
Thanks
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-tabBarController must return an instance of a UITabBarController subclass. <MMTabViewController: 0x7fb601727d40> returned <ESTabBarController: 0x7fb60688da00>, which is not a kind of UITabBarController.'
terminating with uncaught exception of type NSException
CoreSimulator 783.5 - Device: iPhone 13 (FF523057-CBC8-4BD0-8315-6F674C6EB86B) - Runtime: iOS 15.2 (19C51) - DeviceType: iPhone 13
It was working fine till iOS 15. Issue sttarted when i run my project on iOS 15.2.
It is hard to tell from question but ESTabBarController is this library https://github.com/eggswift/ESTabBarController ?
Probably this library has a problem with the new iOS or you updated that library with pod install and now something is broken inside it.
[self customizeTabBarForController:_tabBarController];
[self.view addSubview:_tabBarController.view];
[_tabBarController didMoveToParentViewController:self];
use this in tabbarviewcontroller
I am following the Aurelia docs for Production setup and I am encountering an issue with the the Running The Unit Tests section.
I have the app running with no issues. I open a new terminal window and successfully installed karma-cli 3.9.3. But when I run gulp test I get the following error:
31 05 2016 15:58:09.929:INFO [Chrome 51.0.2704 (Mac OS X 10.11.5)]: Connected on socket /#kJiah_Vi_OxBaoMGAAAA with id 68824261
Chrome 51.0.2704 (Mac OS X 10.11.5) ERROR
Uncaught TypeError: Cannot read property 'config' of undefined
at /Users/XXX/Documents/Websites/Aurelia/Production/node_modules/karma-jspm/src/adapter.js:18
I know enough that I should not be editing any source files in node_modules, so how do I go about fixing this?
Just a few days ago I could both run (in the simulator and on my iphone device) and package my iOS app for the iOS iTunes Store. But now I cannot get past this error during package:
[ERROR] : ** BUILD FAILED **
[ERROR] : The following build commands failed:
[ERROR] : Validate build/Release-iphoneos/Trivia\ Rain.app
[ERROR] : (1 failure)
TRACE | titanium exited with exit code 1
ERROR | Error: ti run exited with error code 1
at ChildProcess.<anonymous> (/Users/natej/.appcelerator/install/4.1.2/package/node_modules/appc-cli-titanium/plugins/run.js:84:66)
at ChildProcess.emit (events.js:117:20)
at Process.ChildProcess._handle.onexit (child_process.js:810:12)
Since a few days ago when the package worked perfectly, I have changed nothing related to my keychains, keystore, profiles, certificates, etc. I have made a few code changes, but after my changes, the app compiled fine, runs in simulator, and deploys/runs on my iphone 6 device. I have double checked that my certs and distribution profiles are all valid, and nothing has changed from a few days ago.
I have cleaned my project, restarted Appcelerator Studio, restarted my mac. Still I cannot get past this error.
Any ideas?
I came back 4 days later after having these problems, having changed nothing (no code, no settings, no Appcelerator updates)...and it simply worked this time.
In summary, Appcelerator is buggy. :-|
My app works fine on the iPhone simulator. However, when I launch the Android 2.2 simulator, the app loads (all the tabs appear) but then it crashes before my TableView appears. Here's the error:
E/TiJSError( 269): (main) [644,1030] ----- Titanium Javascript Runtime Error -----
E/TiJSError( 269): (main) [1,1031] - In ti:/titanium.js:178,19
E/TiJSError( 269): (main) [0,1031] - Message: Uncaught Error: Failed to load resource, Java exception was thrown.
E/TiJSError( 269): (main) [1,1032] - Source: source = assets.readAsset(assetPath);
E/V8Exception( 269): Exception occurred at ti:/titanium.js:178: Uncaught Error: Failed to load resource, Java exception was thrown.
Does this have anything to do with memory? How can I fix this?
Thanks!!
I had a similar problem, and it turned out to be a memory issue.
Try inserting the following line into tiapp.xml:
<property name="ti.android.threadstacksize" type="int">32768</property>
Then clean the Android build folder and run the app again. I hope it works for you!