Error with Expo CLI 2.0 running ios simulator - ios

dev. environment
OS: Mac OS
npm version: 4.6.1
I simply init the project with command expo init my-app and start the project.
Then, I select the Run on ios server and get the error message like in the above image.
Is there anyone who can fix this error?
Thank you for your help in advance.

I fixed this error with restarting my Mac

Related

App Store Connect Operation Error, "An error occurred while trying to start the iTMSTransporter"

While uploading build I am getting an issue: "An error occurred while trying to start the iTMSTransporter"
XCode Version: 11.2 (11B52)
Mac Version: Catalina 10.15.2 (19C57).
I have tried to re-add my developer account to xcode, nothing works. Please help, Thanks in advance.
Solution 1:
Open the terminal and run the following command:
cd ~
mv .itmstransporter/ .old_itmstransporter/
This will force iTunes to recreate a new ~/.itmstransporter folder.
Solution 2:
Check if any updates are pending or not either iTunes or MacOs
After an huge R & d I get to know that the xcode 11.2 can't be used to upload TestFlight build. This is an issue with xcode.

react ntive ios buid fails as operatoin not permitted

when I try to build the ios app with
react-native run-ios
I receive
error: unable to open output file '.../ios/build/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/Objects-normal/x86_64/double-conversion.o': 'Operation not permitted'
1 error generated.
The environment
macbook pro mojave 10.14.5
Help appreciated
Whenever you get this error on mac, it is because you system is not allowing react native to read or write some files.
Please try this one
sudo react-native run-ios
Hope so it will help

Ionic CLI Build Error

I've been able to successfully using the Ionic CLI to build my iOS packages in the past, but I have a set of errors that I can't get rid of. The archive is succeeding, but I'm still having a few issues.
1) Even if I'm using the ionic build ios command, it's creating an archive package and not the build package.
2) I'm getting some IDEDistribution errors:
** ARCHIVE SUCCEEDED **
Non-system Ruby in use. This may cause packaging to fail.
If you use RVM, please run `rvm use system`.
If you use chruby, please run `chruby system`.
2017-03-15 10:00:54.132 xcodebuild[11254:474630] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/v9/dqmqkj455rjbmq4n9gg4dc4m0000gn/T/ExampleSQLite_2017-03-15_10-00-54.131.xcdistributionlogs'.
1.2.840.113635.100.1.61
Exported ExampleSQLite.xcarchive to: /Applications/XAMPP/xamppfiles/htdocs/dev/_ionic/ExampleSQLite/platforms/ios/build/device
** EXPORT SUCCEEDED **
This error occurs even after I've run the rvm use system command.
Is the archive setting something in XCode settings? If I try ionic build android it builds properly (meaning it doesn't archive, I get a BUILD SUCCEEDED message).
For reference, here is my system info:
Your system information:
Cordova CLI: 6.5.0
Ionic Framework Version: 2.2.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.1.4
ios-deploy version: 1.9.1
ios-sim version: 5.0.4
OS: macOS Sierra
Node Version: v7.5.0
Xcode version: Xcode 8.2.1 Build version 8C1002
I've tried uninstalling and reinstalling XCode with no change.
Was getting the same error and in my case, it turned out that the problem was caused because I had my device plugged to the computer during the Cordova build.
I just unplugged it and works.
It turned out that I had two iOS Developer Keys in my Keychain Access which was causing the error. Once I deleted that one and tried to build, the error went away.
If you have the same issue, go to Keychain Access > Keys and look for ones that start with iOS Developer... if you have any duplicates installed just delete them and reinstall and you should be all set.
I was getting the same error and in my case, it turned out that the problem was caused because I had my device plugged to the computer during the Cordova build.
I just unplugged it and works.

Cordova build iOS App' : "Could not find module 'npm-registry-client' (Node JS)

I try to build my Cordova App' on Iphone without success. Everything is ok with Android and Windows Phone. I always have the same error when I try to build it on Iphone or iOS simulator : "Could Not find module 'npm-registry-client'".
Here's some screens:
PC:
Mac (Remote Build):
I use Visual studio 2015 on Windows PC,Angular JS framework, Npm 2.11.3 and NodeJS 0.12.7 . I've already build a blank Iphone app' with Xcode 7 on my mac. I've tried to remove the node_modules folder and reinstall Npm but it's not working...
Any suggestions?
Thanks for reading
EDIT : SOLUTION
I found the solution. 'npm-registry-client' was installed on my Windows PC but not on my Mac. In terminal,just write "npm install npm-registry-client" and everything works great!! (Emulator and device)
That error is most likely a bad install of Cordova on your Mac. Clearing out the installed Cordova version(s) from ~/.taco_home/node_modules will let the next build reinstall Cordova and should clear up the problem.
It's also possible but less likely that a Cordova install issue happened on your Windows machine instead. Reading the Output panel in VS will tell you if the error happened in the remote build log section or not. If it didn't come from the remote build, then clearing your Cordova cache and your npm cache would be the needed fix.
Hope that helps.

Problems with Getting Started with Ionic OSX

I have a problem when it comes starting with ionic in Mac. I'll explain the steps I have taken and errors I found, to see if anyone can help me.
I installed node.js from this site: nodejs.org
Thereupon I executed these commands:
$ sudo npm install -g cordova ionic cordova
$ ionic start myApp tabs
$ ionic serve
And with this last order I can see the application running. but if I try to do this:
$ sudo ionic platform add ios
I get this error:
But, These are the versions of the programs I use:
cordova - 3.6.3-0.2.13
Ionic - 1.2.7 Xcode - 6.0.1 (6A317)
XAMPP - 1.8.3-3
Someone could help me solve my problem?
Thank you in advance.
The error message says the problem, "Cordova can only run in Xcode version 4.6 or greater."
You need to install Xcode and the Xcode command line tools. Download Xcode from the AppStore, and run this command in the terminal to get the command line tools.
xcode-select --install
Also do not use sudo with the ionic commands. You'll possibly cause permission issues down the road.

Resources