I am getting an empty error message when I try to run cordova build ios command.
I tried removing and adding the platform again and also re-installing cordova with no luck.
version details are;
cordova#6.4.0
ios#4.3.1
following is the output when I run the command with --verbose on
Thanks for help!
Same problem here, which was indeed fixed after disconnecting the device from the Mac.
Related
Getting this error "An unknown server-side error occurred while processing the command. Original error: '13.3' does not exist in the list of simctl SDKs. No Simulator SDK versions are available on your system. Please install some via Xcode preferences."
I was getting the same exact error and then I updated appium to latest version and now it works.
The error speaks for itself: requested platform should be visible in xcrun simctl list output.
You either use incorrect developer tools dist or Xcode installation is corrupted. Not an Appium issue, but your environment.
Go to XCode and add a new simulator with iOS 13.3, you might need to update XCode as well in oder to do it.
I want to build existing react-native app on ios simulator. It shows build is successfull but the App is not launching and crashed the App. It shows the given Error.
Native module can not be null
please someone help me to find out the solution of the given problem. I am getting stuck for long time
Maybe it's because of your dependecies or your node_modules folder, try running npm install or npm i on terminal
Thanks everyone for helping me.
I fix the above problem by uninstalling Push Notifaction and Geolocation and react-native-vectors-icons and then install again react-native-vector-icons and boom..!!!
my ios application is running on my xcode simulator.
I'm trying to deploy my Ionic app to an iPhone by running either of these commands:
ionic cordova run ios
ionic cordova run ios --device
The console displays the following text:
[OK] Your app has been deployed.
Did you know you can live-reload changes from your app with --livereload?
If we look at the console output everything seems to be fine, but my iPhone doesn't detect anything and the application doesn't run. I managed to get it on my phone by opening the workspace file inside the platforms/ios and running it with Xcode, but that's a pretty tedious process, and I'm sure that's not the way to go, as it doesn't support livereload.
Also, I tried to start a new project and I'm having the same issue, so I guess it's not any plugin's fault.
Thanks in advance for your answers.
When you run the app from Xcode, does Xcode give you any more error messages in its output window? This may be a signing issue.
same error here from console.
with --verbose
get this message
registerShutdownFunction.process.exit/normal shutdown
Updated Xcode this morning and now ionic project wont deploy to a device.
ionic run ios --device
Returns:
** BUILD SUCCEEDED **
xcrun: error: unable to find utility "PackageApplication", not a developer tool or in PATH
Error: Error code 72 for command: xcrun with args: -sdk,iphoneos,PackageApplication,-v
No idea what to do to fix, Googling returns lots of options but none correct.
Cordova is trying to use "PackageApplication" tool. But it was removed since Xcode 8.3. Either downgrade Xcode or wait for Cordova to have a fix for that.
Linked in the Jenkins issue that matson kepson mentioned here there was a guy who attempted a PR to fix the issue. There was some unfinished change requests in his PR and I also found a few null ptrs in his changes. I forked his pr and fixed these things here and there is now a snapshot linked here that you can download and become unblocked until such a change is merged into the full build.
Hi its official Bug from jenkins
here you have a fresh status
https://issues.jenkins-ci.org/browse/JENKINS-43163
Little bit clearer to look at this:
http://subathrathanabalan.com/2016/01/07/building-ipa-export-archive/
I've just come across this and my solution was to remove the iOS platform from the project:
ionic platform rm ios
Then add it back in again
ionic platform add ios
I needed to run an initial build for it to fail with no signing set, so opening up the project in Xcode to just fix that. After that, building via the ionic cli worked as expected. I am guessing that re-adding the platform pulled in a new version of cordova-ios.
Update: I had only started on this project and created the base project from the blank template. I have Xcode 8.3.1 installed and using Ionic 3 (still with the --v2 switch with ionic cli).
I used shenzhen this automatic procedure encountered a similar problem, and finally in accordance with the github Pull Request to solve my problem, hope for your reference!
https://github.com/nomad/shenzhen/pull/347
I found a workaround to solve this using command line, with device connected on your mac:
ionic build ios --device
ios-deploy --noninteractive --debug --bundle build/device/YOURAPP.app
After this, stop debug using Ctrl C, and your app will be working on your device.
Hope work for you guys.
The is caused by the deprecated PackageApplication. If you're using the remotebuild tool to run from Windows, it will be solved when the remotebuild bug has been fixed: https://github.com/Microsoft/remotebuild/issues/26
Another solution is to downgrade XCode.
Here if the explanation on how to uninstall current XCode.
And here you can download XCode 8.2.
An option is open a .xcodeproj file located at platforms/ios and run the project directly from Xcode.
I'm developing an iOS App using Firebase SDK, The app runs perfectly on the simulator, but when I try to run it on an actual device I'm getting an error like this
Also when I'm trying to archive it. I forgot to tell that I used cocoapods to install Firebase SDK. Thanks!
I had this error because the xcode version.
I have created the project using the xcode beta version, then i updated it and got this error.
hours later, when I gave up trying to resolve this error, when trying to install another pod, this error occurred:
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/command.rb:118:in git_version': Failed to extract git version fromgit --version("xcrun: error: active developer path (\"/Applications/Xcode-beta.app/Contents/Developer\") does not exist\nUsesudo xcode-select --switch path/to/Xcode.appto specify the Xcode that you wish to use for command line developer tools, or usexcode-select --installto install the standalone command line developer tools.\nSeeman xcode-select` for more details.\n") (RuntimeError) ...
when trying to run the
pod-install command
Then I ran the sudo
xcode-select command --switch path / to / Xcode.app
which was prompted for the error, and the Firebase-related error was miraculously fixed. Hope it could helps someone.