Build E-Wallet¶
Build E-Wallet
Environment
MacOS Mojave
NodeJS
13.0
NPM
4.1
Ionic
Framework 4.0.0
CLI 4.10.3
IDE
Xcode 10.1
$ ionic info
Ionic:
ionic (Ionic CLI) : 4.10.3 (/Users/jyun/.nvm/versions/node/v10.13.0/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 4.0.0
@angular-devkit/build-angular : 0.12.4
@angular-devkit/schematics : 7.2.4
@angular/cli : 7.2.4
@ionic/angular-toolkit : 1.4.0
Cordova:
cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : android 7.1.4, browser 5.0.4, ios 4.5.5
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 3.1.2, (and 17 other plugins)
System:
ios-deploy : 1.9.4
NodeJS : v10.13.0 (/Users/jyun/.nvm/versions/node/v10.13.0/bin/node)
npm : 6.4.1
OS : macOS Mojave
E-Wallet Build Environment Setting
Overview
The e-wallet GIT source has removed the necessary authentication, facebook, twitter and google config settings for the app. If you do not take any action due to setting conflicts of Ionic Plugins, a build error occurs when creating the Android / iOS Platform environment.
Build environment should be set up using a separate script which is designed to automatically remove Android, iOS related conflicts and build conflicts.
E-Wallet Project Reset
for //debug
for //product
Building Product for Android
Access to Project root folder in Terminal before build and reflect source edit history
Launch Android Studio
Select Import project (Gradle, Eclipse ADT, etc.)
‘e-wallet/platforms/android’ Open
Build apk via Build / Generate Signed APK
Building Product for iOS
Access to Project root folder in Terminal before build and reflect source edit history
Launch Xcode
‘e-wallet/platforms/ios/E-Wallet.xcworkspace’ Open
For Product Build, launch XCode / Product / Archive
Build error patch
Because of dependency conflicts, duplicate symbol errors occur during Xcode build. Therefore, you should remove specific .frameworks for E-Wallet / Frameworks / at first open with Xcode.
Universal link Configuration
For Universal link operation, Xcode configuration is necessary as below, assuming the relevant settings of the Signing Profile and the Server in Apple Development already exist.
Set Xcode / E-Wallet / Capabilities / Associated Domains
After clicking the‘+’ button, type ‘applinks:ewallet.edenchain.io
Attachments: