question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Building iOS app on HighSierra. Installing requirements fails.

See original GitHub issue

I installed MacPorts and installed python 3.6 with Macports. I also installed all the dependencies. When trying to run the makefile, I get the following failure:

MacBook-Pro:ios kevin$ ./make_ios_project.sh 
You are using pip version 18.0, however version 21.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
You are using pip version 18.0, however version 21.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
You are using pip version 18.0, however version 21.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
You are using pip version 18.0, however version 21.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Pulling 'electroncash' libs into project from ../electroncash ...
Removing electroncash/tests...

Building Briefcase-Based iOS Project...

running ios
 * Writing application template...
Template Python-iOS-template succesfully updated.
Project template: /Users/kevin/.cookiecutters/Python-iOS-template
 * Determining best support package...
 * Installing support package...
Support package: https://pybee-briefcase-support.s3-us-west-2.amazonaws.com/Python-Apple-support/3.6/iOS/Python-3.6-iOS-support.b7.tar.gz
 * Installing requirements...
Traceback (most recent call last):
  File "setup.py", line 74, in <module>
    'rubicon-objc==0.2.10'
  File "/Users/kevin/Library/Python/3.6/lib/python/site-packages/setuptools/__init__.py", line 143, in setup
    return distutils.core.setup(**attrs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py", line 955, in run_commands
    self.run_command(cmd)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/Users/kevin/Library/Python/3.6/lib/python/site-packages/briefcase/app.py", line 476, in run
    self.install_app_requirements()
  File "/Users/kevin/Library/Python/3.6/lib/python/site-packages/briefcase/app.py", line 283, in install_app_requirements
    stderr=subprocess.STDOUT,
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 356, in check_output
    **kwargs).stdout
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['pip', 'install', '--upgrade', '--force-reinstall', '--target=/Users/kevin/development/git/Electron-Cash/ios/iOS/app_packages', 'certifi', 'chardet', 'dnspython', 'ecdsa>=0.9', 'idna', 'jsonrpclib-pelix', 'protobuf', 'pyaes>=0.1a1', 'PySocks>=1.6.6', 'qrcode', 'requests', 'six', 'stem==1.8.0', 'urllib3<1.24', 'python-dateutil==2.6.1', 'pathvalidate==2.3.1']' returned non-zero exit status 1.
An error occurred running setup.py

which python3 points to /opt/local/bin/python3.

Any help would be appreciated. I’m wishing to compile this from source to ensure that my development setup works. Then my plan is to switch to the SLP version of Electron cash to try to add some of the SLP features to that version of the mobile wallet. As an aside, I was able to successfully compile the Electron Cash SLP, OSX version from source on my setup. However, I was using homebrew and not Macports.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
cculianucommented, Apr 4, 2021

All of the electron cashes have for at least the last year refused to spend UTXOs containing tokens in them. This includes the iOS version.

0reactions
Beakerboycommented, Apr 3, 2021

Ah! There are always warning with SLP to not send them to non-SLP wallets…and the standard Electron Cash wallet is never listed in the “safe list”…at least in a way that I’ve remembered it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Xcode want install on high Sierra 10.13.6 - Apple Developer
I'm trying to install Xcode on High Sierra 10.13. 6 and I'm having problems doing so. I'm getting error that I need to...
Read more >
Fix macOS High Sierra Update Failure/Stuck/Installation Error
Fix 1. macOS Sierra 10.13/10.13.4 downloaded but won't install · Open Launchpad > Delete "Install macOS Sierra" file with a question mark on...
Read more >
Ios-deploy install doesn't work - macOS High Sierra (10.13.5)
The following build commands failed: PhaseScriptExecution Run\ Script build/ios-deploy.build/Release/ios-deploy.build/Script- ...
Read more >
macos - Failed to upgrade to OS X High Sierra with two non ...
just delete the update program from your mac and re download it from the App Store. If that won't work you should make...
Read more >
How to Fix Common macOS High Sierra Problems - MacKeeper
Booting to Safe Mode may resolve installation issues that occur in the initial stages of the process. If the problem continues, the installer ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found