IONIC – Build IOS 2023

Table of Contents

IONIC - Build IOS 2023

Install Nodejs16

Phải Nodejs16 mới được, bản nodejs17 đang lỗi ERR_OSSL_EVP_UNSUPPORTED chưa có cách sửa
sudo rm -rf /usr/local/{lib/node{,/.npm,_modules},bin,share/man}/{npm,node,man1/node*}

nvm uninstall v17.4.0

// check version
node -v || node --version

// list installed versions of node (via nvm)
nvm ls

// install specific version of node
nvm install 6.9.2

// set default version of node
nvm alias default 6.9.2

// switch version of node
nvm use 6.9.1

nvm install 16.13.0

sudo ionic serve --devapp

Cordova Setup

npm install -g ios-sim
ionic cordova prepare ios


npm i -g native-run
ionic cordova run ios -l --external


/cordova-plugin-ionic-webview/CDVWKWebViewEngine.m normal x86_64 objective-c


ionic cordova plugin remove cordova-plugin-ionic-webview


ionic cordova run ios -l --external


Leave a Reply

Your email address will not be published. Required fields are marked *