node-iOS | Allows javascript access to iOS functionality | iOS library
kandi X-RAY | node-iOS Summary
kandi X-RAY | node-iOS Summary
This module offers javascript access to Apple iOS functionality, meant for node running on an Apple iDevice.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of node-iOS
node-iOS Key Features
node-iOS Examples and Code Snippets
Community Discussions
Trending Discussions on node-iOS
QUESTION
After upgrading an iPhone6s to iOS 14 and Xcode to the latest version, I am unable to serve the app.
The error stack is as following
...ANSWER
Answered 2020-Sep-20 at 23:08I am having the same problem. According to this post https://github.com/ios-control/ios-deploy/issues/469 an update to ios-deploy 1.11.2 should solve the problem. I've tried it, multiple times + reinstalling Xcode and other options but nothing works. I am curious if an update to ios-deploy will work for you, so let me know please!
QUESTION
I have installed Appcelerator Studio on macOS and have created a new iOS module without any changes.
When I try to build from the command line or from the studio I get the following issue:
...ANSWER
Answered 2020-Sep-04 at 13:39For anyone else that hits this idiotic issue, you have to install
Node version: 12.18.3
or probably any 12.x
release
You can find it here:
https://nodejs.org/dist/latest-v12.x/
14.x will not work!
Source:
https://wiki.appcelerator.org/display/guides2/Installing+Node
QUESTION
$ appc ti build -T dist-adhoc
Appcelerator Command-Line Interface, version 7.1.2
Copyright (c) 2014-2020, Appcelerator, Inc. All Rights Reserved.
An uncaught exception was thrown!
Rebuild failed:
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using node-pre-gyp@0.10.3
node-pre-gyp info using node@13.11.0 | darwin | x64
node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp info check checked for "/Users/test/Library/Application Support/Titanium/mobilesdk/osx/8.1.1.GA/node_modules/node-ios-device/binding/node-v79-darwin-x64/node_ios_device.node" (not found)
node-pre-gyp http GET https://appc-node-binaries.s3.amazonaws.com/node-ios-device/v1.6.3/node_ios_device-v1.6.3-node-v79-darwin-x64.tar.gz
node-pre-gyp http 403 https://appc-node-binaries.s3.amazonaws.com/node-ios-device/v1.6.3/node_ios_device-v1.6.3-node-v79-darwin-x64.tar.gz
node-pre-gyp WARN Tried to download(403): https://appc-node-binaries.s3.amazonaws.com/node-ios-device/v1.6.3/node_ios_device-v1.6.3-node-v79-darwin-x64.tar.gz
node-pre-gyp WARN Pre-built binaries not found for node-ios-device@1.6.3 and node@13.11.0 (node-v79 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp http 403 status code downloading tarball https://appc-node-binaries.s3.amazonaws.com/node-ios-device/v1.6.3/node_ios_device-v1.6.3-node-v79-darwin-x64.tar.gz
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'node-gyp clean' (Error: spawn node-gyp ENOENT)
node-pre-gyp ERR! stack at ChildProcess. (/Users/test/Library/Application Support/Titanium/mobilesdk/osx/8.1.1.GA/node_modules/node-pre-gyp/lib/util/compile.js:77:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:315:20)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:273:12)
node-pre-gyp ERR! stack at onErrorNT (internal/child_process.js:467:16)
node-pre-gyp ERR! stack at processTicksAndRejections (internal/process/task_queues.js:84:21)
node-pre-gyp ERR! System Darwin 19.3.0
node-pre-gyp ERR! command "/usr/local/Cellar/node/13.11.0/bin/node" "/Users/test/Library/Application Support/Titanium/mobilesdk/osx/8.1.1.GA/node_modules/node-pre-gyp/bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/test/Library/Application Support/Titanium/mobilesdk/osx/8.1.1.GA/node_modules/node-ios-device
node-pre-gyp ERR! node -v v13.11.0
node-pre-gyp ERR! node-pre-gyp -v v0.10.3
node-pre-gyp ERR! not ok
...ANSWER
Answered 2020-May-27 at 07:32Please downgrade your Node version to 12.x (LTS version). Also I would suggest updating the SDK to a newer release: if you have to stay with 8 the you can use 8.3.1.GA; 9.0.1.GA would be even better of course. That might already fix the issue.
QUESTION
I'm trying to compile a Titanium app (on iOS) with a new computer. But when I launch the compilation, I'm facing an error I don't understand :
...ANSWER
Answered 2020-May-20 at 15:39Change your nodejs version to 10.x (https://nodejs.org/dist/latest-v10.x/) and install the CLI again: npm install -g titanium appcelerator alloy
and run the build process again.
05/2020 - Titanium SDK 9: you can now use Node 12.x!
QUESTION
I am Trying to run a titanium project with appcelerator studio in simulator but getting some node error, I have used same node version from which it was developed, please help me out
Error below
File
...ANSWER
Answered 2020-Apr-28 at 16:46I would stick to the LTS version 12.16.x and try to re-install the node packages after you moved to node 12.16.x:
npm install -g titanium appcelerator alloy
Also keep in mind: 9.1.0.v20200422074103
is a nightly build, so not a supported version.
Another thing to look at:
Since there is this error Spaces in action output filenames not supported
you could edit:
/Users/czmac01/.appcelerator/install/8.0.0/package/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py
and add a log where it throws that error to see which file is making the problem.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install node-iOS
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page