I've setup and installed npm, node, and verified they are both there. I've also worked through the Angular 2 quickstart guide and have compiled and ran the demo app successfully in my mac environment. However, I can't use Xcode to edit the .ts files.. Xcode is associating the files to quicktime player and refuses to open in the Xcode editor.
MacOS Sierra (vr. 10.12) Xcode vr. 8.2.1 NPM vr. 4.0.5 node vr. 7.4.0
Am I missing something?
What I see in Xcode
We can use the ts-node package to execute TypeScript files from the command line. Install it with npm or other package manager. After that, simply execute the TypeScript files with the command: ts-node filename.
Xcode is a code editor where you write your iOS programs and run them. In this chapter, you are going to learn how to install Xcode, create a program file, and run the program. Because this is a beginner-level Swift programming course, we are not going to build an actual app yet.
If you dont't want to install any xclangspec file, then you can change type to other in Identoty and Type inspector (on right side of window). I changed to javascript and looks great! But the best solution is the xclangspec of course if exists...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With