I'm learning to use vueJs/Capacitor to build an app for Android & IOS.
I succeed to build the Android version, but I'm blocked with the IOS version. I tried to many way since yesterday ....
I'm working under Window 11 & vmWare - MacOS 12.
Under W11 :
npm install #capacitor/ios
npx cap add ios
npm run build
npx cap sync
copy the ./myProject/ios folder to the shared folder
Under MacOS :
opened App.xcworkspace
launched build and got the bellow error
If somebody is able to help :)
Edit :
npx cap doctor (under Windows 11)
Latest Dependencies:
#capacitor/cli: 3.3.3
#capacitor/core: 3.3.3
#capacitor/android: 3.3.3
#capacitor/ios: 3.3.3
Installed Dependencies:
#capacitor/cli: 3.3.3
#capacitor/ios: 3.3.3
#capacitor/core: 3.3.3
#capacitor/android: 3.3.3
[success] Android looking great! š
[error] Xcode is not installed
Issue resolved by :
Reinstallations of Ruby / curl / cocoapods
error verify_xcode_license_approved! : https://stackoverflow.com/a/60546847/3355901 (solution work with a simple command shell and not with powershell)
Could not open library 'libcurl' : https://stackoverflow.com/a/54520917/3355901
Unable to add a source with url https://cdn.cocoapods.org/ named trunk : https://stackoverflow.com/a/61179841/3355901 & https://stackoverflow.com/a/47138575/3355901
Related
I was trying to install flutter, I did all the procedure for android studio but now the "Windows Version (Unable to confirm if installed Windows version is 10 or greater)" issue appear, anybody knows how to solve this? I have W10.
i found this answer in another forum
i have the same problem but my app works just fine
try this :
flutter clean
....
flutter downgrade 1.6.3 or (1.6.6)
...
flutter channel stable
...
flutter upgrade
..
Then the editor will ask to do flutter packages get
and finally we do flutter run .
You can run the project as debug from the home file (optional).
to know if flutter is installed
run the flutter command in the cmd (Command line) :
flutter
and if you want to know the version:
flutter -v
and if you have installed the required tools to use flutter without problem :
flutter doctor
So, basically, I'm trying to work on a Minecraft 1.12.2 mod. I downloaded the 1.12.2 Forge MDK file and un-zipped it. Whenever I try to run: ./gradlew setupDecompWorkspace, I just get this error:
Whole output: https://pastebin.com/rCGNKC6T
And it just says BUILD FAILED in 20s after that. What can I do to solve this?
I am using a MacBook Pro 10.13
Java version "1.8.0_251"
JRE & JDK Versions 8u251
Thank you in advance!
I work on an older App of mine which is Ionic-v1. I install the OneSignal plugin which is working now only with CocoaPods. At first all went fine, Android works flawless but I am not able anymore to build my IOS app because of CocoaPods. I can do what I want I keep getting the following error:
ld: 72 duplicate symbols for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I lost the entire day trying to figure this out, I tried uncountable times any combination of āpod install, pod clean, pod disintegrateā etc. etc. but without any success.
I also found a post inside the ionic forum from #blakgeek and install his plugin ācordova-plugin-cocoapod-supportā but keep getting the same errors. But with or without this plugin I keep getting the same error.
I would be happy if anybody can help me here because at this point I am pretty lost.
Thank you in advance
Xcode 9
Ionic 3.18 (But app is Ionic v1)cli packages: (/usr/local/lib/node_modules)
#ionic/cli-utils : 1.18.0
ionic (Ionic CLI) : 3.18.0
global packages:
cordova (Cordova CLI) : 7.1.0
Gulp CLI : CLI version 3.9.1 Local version 3.9.1
local packages:
Cordova Platforms : android 6.3.0 ios 4.5.3
Ionic Framework : ionic1 1.2.4
System:
Android SDK Tools : 26.1.1
ios-deploy : 1.9.2
ios-sim : 5.0.6
Node : v8.9.1
npm : 2.15.12
OS : macOS Sierra
Xcode : Xcode 9.0.1 Build version 9A1004
Environment Variables:
ANDROID_HOME : /Volumes/Mac External HD/Android/sdk
Misc:
backend : pro
I just ended up deleting once again my entire ios platform for the xxx time and somehow solved it with the following steps.
a. deleted my complete ios platform
b. deleted the onesignal cordova plugin
c. reinstalled the onesignal plugin
d. recreated my ios platform BUT forced version ios4.4.0 with the following command "ionic cordova platform add ios#4.4.0"
e. changed into my /platform/ios directory and made one "pod install"
f. opened xcode and build and run without any further issue.
Short explanation. I ended up with tone of duplicate symbol erros because I tried just to many things and manually added to many things. (cant recall what I did all) how ever I never paid attention in the number of duplicate symbols. I started out with just 2 which seems to be a known issue (thankx to this issue report https://github.com/ionic-team/ionic/issues/12849#issuecomment-328472880) but with my tests and trials I ended up with much more and got completely of track.
After clean install with ios#4.4.0 all worked fine for me.
thank all for your attention...
I am facing an issue, related to cordova ios build using Xcode-7.
when I create fresh project on mac machine, I am able to build and run that on simulator ios 6s. But When I try to import the project built on windows machine to mac, I am not able to build it succesfully.
***Error:*
could not build module "IBMMobileFirstPlatformFoundation".
**
*Configuration on windows:
cordova 6.5.0
ionic 3.3.0
node 6.10.3
ios platform version is 4.4.0
npm version is 3.10.10
*
*configuration on mac machine
cordova 6.5.0
ionic 3.3.0
node 6.11
ios platform version is 4.4.0
npm version is 3.10.10
*
Xcode is 7.
thank you for kind attention, kindly suggest me what I doing wrong.
:)
After one week R&D, I found the the answer to the problem, there was the problem of Xcode version, I just updated the OS version and also the Xcode version. Later On I came to know that problem was cordova and ionic version also. I update the cordova version to 7.2.0 and ionic version to 3.4.0.
I have build the app and its running fine, with some UI issues.
also use ionic cordova build to build the project.
thank you.
I'm running on macosx with nativscript 2.0 (typescript+angular2 tutorial).
I just ran the tns run ios --emulator command and then ctrl-c.
Then running this command: tns livesync ios --emulator --watch
results in:
.
.
.
Transferring project files...
Successfully transferred all project files.
Applying changes...
**Error Command failed: killall sampleGroceries2.app
No matching processes belonging to you were found
while executing killall sampleGroceries2.app.**
I have tested the {N} + Angular2 tutorial and afer following the instruction I had no problems with the livesync option.
Have you updated to NativeScript 2.0.0 - I have noticed that this error was logged in the previous version 1.7.1.
If you need to update your NativeScript version globally you can run
npm install -g nativescript
After that step you can remove/add the platform folder from your project with the following commands
tns platform remove ios
tns platform add ios
Also delete the node_modules folder and the re-run
tns run ios --emulator
To check your current NativeScript version you can execute
tns --version
The latest official release of {N} has some livesync fixes so now your command should run as espected - let us know if that solution was appliable for your case.