GithubHelp home page GithubHelp logo

hyle-team / arqma-ios-wallet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from malbit/arqma-ios-wallet

0.0 2.0 0.0 3.15 MB

Arqma iOS wallet

License: MIT License

Objective-C 1.26% Swift 83.19% Objective-C++ 3.75% Rich Text Format 10.40% Ruby 0.12% Shell 1.29%

arqma-ios-wallet's Introduction

Installation

Before building iOS Libraries, please have a look at the Pre-requisites

  1. Clone the repository.
git clone https://github.com/fotolockr/CakeWallet.git
  1. Install homebrew
  2. Install loki dependencies:
brew install pkgconfig
brew install cmake
brew install zeromq
  1. Build the loki iOS libraries.
./install.sh
./build.sh
  1. Install dependencies from Pod.
pod install

Shared library building problems

You may get an error such as:

ld: symbol(s) not found for architecture armv7

If you get this issue then make sure that boost has been correctly built. You can check this by seeing if it exists at Libraries/boost/builds/libs. If the folder doesn't exist then run ./scripts/install_boost.sh in the root director and check to see if any errors occur there.

XCode Building problems

If you're having problems building with Xcode 10 or above then change to the Legacy Build System

TEMP FIX TO BUILD LOKI SHARED LIBRARIES

Currently you will fail to build the loki shared libraries because of some errors. Here are fixes that you should apply:

src/crypto/cn_heavy_hash.hpp:60

- #if defined(__aarch64__)
+ #if(0)
#pragma GCC target ("+crypto")
#include <sys/auxv.h>

CMakeLists_IOS.txt:28

set (IOS True)
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D IOS")

CMakeLists.txt:555

  elseif(IOS AND ARCH STREQUAL "arm64")
    message(STATUS "IOS: Changing arch from arm64 to armv8")
    set(ARCH_FLAG "-march=armv8")
+ elseif(IOS AND ARCH STREQUAL "x86_64")
+   message(STATUS "IOS: Changing arch from x86_64 to x86-64")
+   set(ARCH_FLAG "-march=x86-64")
  else()
    set(ARCH_FLAG "-march=${ARCH}")
    if(ARCH STREQUAL "native")

src/wallet/CMakeLists.txt:77

- if (NOT LOKI_DAEMON_AND_WALLET_ONLY)
+ if (0)

cmake/CheckTrezor.cmake:32

# Use Trezor master switch
+ if (USE_DEVICE_TREZOR)
- if (0)

Testnet

To build the application from testnet, you need to set the TESTNET pre-processor macro to true. You can do this by doing the following:

  1. Select your project (Make sure you are not selecting a target)
  2. Go to Build Settings
  3. Search "Preprocessor Macros"
  4. Add USE_TESTNET=1 to DEBUG or RELEASE depending on what your needs are.
  5. Search "Swift Compiler - Custom Flags"
  6. Add USE_TESTNET under Active Compilation Conditions

We use forked the repo of ofxiOSBoost. We do this ONLY for more convenient installation process.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.