Dash iPhone Wallet

rango

Active Member
Jun 19, 2014
158
221
103
Managed to get gmp working.

You have to configure it with "--enable-cxx" to enable c support (which is not enabled by default). Moved it to the dashwallet directory and included it at two locations:

#include <gmp-6.1.0/gmp.h>

----

After doing all this the error we started with returned "Unknown type name 'secp256k1_context_t" :confused:

Maybe somebody is able to go one step ahead with this.
 

QuantumExplorer

Active Member
Core Developer
Aug 20, 2014
126
161
93
Repo should work fine now, just pull again. Though I have no idea about gmp as I'm not running into that at all.

Is anyone else having an issue there?
 

tungfa

Administrator
Dash Core Team
Moderator
Foundation Member
Masternode Owner/Operator
Apr 9, 2014
8,972
6,740
1,283
Repo should work fine now, just pull again. Though I have no idea about gmp as I'm not running into that at all.

Is anyone else having an issue there?
it would be great if we had a step by step guide !
;)
 

rango

Active Member
Jun 19, 2014
158
221
103
QuantumExplorer

Great, putting it on my phone worked now. You may want to change the bundle name within the github repository to something that has not been taken. So other users just have to download xcode, clone the dashwallet repo and compile it without making changes to the code.
 

rango

Active Member
Jun 19, 2014
158
221
103
Guys, we also could think of uploading the iOS app at signcloud.com That's basicly a app resigning service, which could bring the iOS dashwallet to users, which don't want to take the hassle to compile it themselves. Membership fee of about 15 USD per year sucks, but better than no wallet at all on iOS.
 

QuantumExplorer

Active Member
Core Developer
Aug 20, 2014
126
161
93
Ok sounds good.

Step 1 : Download Xcode
Step 2 : Open Terminal
Step 3 : type in commands

if you have a src directory in Documents
cd ~/Documents/src
git clone https://github.com/QuantumExplorer/dashwallet.git
cd dashwallet
git branch distribution origin/distribution
git checkout distribution
git pull

otherwise

cd ~/Documents
mkdir src
cd src
git clone https://github.com/QuantumExplorer/dashwallet.git
cd dashwallet
git branch distribution origin/distribution
git checkout distribution
git pull

Step 4 : Navigate to project in finder, open DashWallet.xcodeproj
Step 5 : Plug in phone
Step 6 : Press Run (top left play style button)

Can someone test this out for me to make sure I didn't forget anything? (I already changed the id of the project.)
 
Last edited by a moderator:
  • Like
Reactions: qwizzie and tungfa

the-baker

Member
Mar 12, 2015
70
70
58
Ok sounds good.

Step 1 : Download Xcode
Step 2 : Open Terminal
Step 3 : type in commands

if you have a src directory in Documents
cd ~/Documents/src
git clone https://github.com/QuantumExplorer/dashwallet.git

otherwise

cd ~/Documents
mkdir src
cd src
git clone https://github.com/QuantumExplorer/dashwallet.git

Step 4 : Navigate to project in finder, open DashWallet.xcodeproj
Step 5 : Plug in phone
Step 6 : Press Run (top left play style button)

Can someone test this out for me to make sure I didn't forget anything? (I already changed the id of the project.)
I don't have an iPhone handy right now, but if I compile without one, I get the following error:

ValidateEmbeddedBinary Library/Developer/Xcode/DerivedData/DashWallet-cpvgksatpsacznezinmawmqmlbtg/Build/Products/Debug-iphonesimulator/dashwallet.app/PlugIns/TodayExtension.appex
cd dashwallet
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
builtin-embeddedBinaryValidationUtility Library/Developer/Xcode/DerivedData/DashWallet-cpvgksatpsacznezinmawmqmlbtg/Build/Products/Debug-iphonesimulator/dashwallet.app/PlugIns/TodayExtension.appex -info-plist-path Library/Developer/Xcode/DerivedData/DashWallet-cpvgksatpsacznezinmawmqmlbtg/Build/Products/Debug-iphonesimulator/dashwallet.app/Info.plist​

error: Embedded binary's bundle identifier is not prefixed with the parent app's bundle identifier.

Embedded Binary Bundle Identifier: com.darkcoinfoundation.dashwallet.TodayExtension
Parent App Bundle Identifier: com.darkcoinfoundation.dashwallettest​
 

QuantumExplorer

Active Member
Core Developer
Aug 20, 2014
126
161
93
I don't have an iPhone handy right now, but if I compile without one, I get the following error:

ValidateEmbeddedBinary Library/Developer/Xcode/DerivedData/DashWallet-cpvgksatpsacznezinmawmqmlbtg/Build/Products/Debug-iphonesimulator/dashwallet.app/PlugIns/TodayExtension.appex
cd dashwallet
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
builtin-embeddedBinaryValidationUtility Library/Developer/Xcode/DerivedData/DashWallet-cpvgksatpsacznezinmawmqmlbtg/Build/Products/Debug-iphonesimulator/dashwallet.app/PlugIns/TodayExtension.appex -info-plist-path Library/Developer/Xcode/DerivedData/DashWallet-cpvgksatpsacznezinmawmqmlbtg/Build/Products/Debug-iphonesimulator/dashwallet.app/Info.plist​

error: Embedded binary's bundle identifier is not prefixed with the parent app's bundle identifier.

Embedded Binary Bundle Identifier: com.darkcoinfoundation.dashwallet.TodayExtension
Parent App Bundle Identifier: com.darkcoinfoundation.dashwallettest​
Sorry about that, pull again ('git pull' in the dash directory, or (In XCode) -> Source Control -> Pull))
 

tungfa

Administrator
Dash Core Team
Moderator
Foundation Member
Masternode Owner/Operator
Apr 9, 2014
8,972
6,740
1,283
Please do not share yet
i just tried (and talked to quantum)
there is still something to fix
we are here now:
 

QuantumExplorer

Active Member
Core Developer
Aug 20, 2014
126
161
93
hey tungfa, I updated the guide, sadly using this method with no signing we don't have access to the extension, it makes sense because you need entitlements for that. So removing that fixed the issue. Tell me if it works now for you.

For you do (in the dashwallet directory)

git branch distribution origin/distribution
git checkout distribution
git pull

then try it.
 

tungfa

Administrator
Dash Core Team
Moderator
Foundation Member
Masternode Owner/Operator
Apr 9, 2014
8,972
6,740
1,283
hey tungfa, I updated the guide, sadly using this method with no signing we don't have access to the extension, it makes sense because you need entitlements for that. So removing that fixed the issue. Tell me if it works now for you.

For you do (in the dashwallet directory)

git branch distribution origin/distribution
git checkout distribution
git pull

then try it.
am trying
looks good so far
but now here (since 30-45 min)
 

tungfa

Administrator
Dash Core Team
Moderator
Foundation Member
Masternode Owner/Operator
Apr 9, 2014
8,972
6,740
1,283
hey tungfa, I updated the guide, sadly using this method with no signing we don't have access to the extension, it makes sense because you need entitlements for that. So removing that fixed the issue. Tell me if it works now for you.

For you do (in the dashwallet directory)

git branch distribution origin/distribution
git checkout distribution
git pull

then try it.
i erased everything
started and pulled new and got this:(Build Failed)
 

tungfa

Administrator
Dash Core Team
Moderator
Foundation Member
Masternode Owner/Operator
Apr 9, 2014
8,972
6,740
1,283
did anybody else try this ?
mine is still not working, am chatting with quantum about some changes, but still not on
 

tungfa

Administrator
Dash Core Team
Moderator
Foundation Member
Masternode Owner/Operator
Apr 9, 2014
8,972
6,740
1,283
cleaned it up again
now wallet is running on Mac Simulator and said build was successful
but nothing on phone yet ?!?

 

tungfa

Administrator
Dash Core Team
Moderator
Foundation Member
Masternode Owner/Operator
Apr 9, 2014
8,972
6,740
1,283
ok
- i finally found how to direct this to the correct devise (my phone)
- build failed (again)
- problem seems to be “no code signed identity found"


 
Last edited by a moderator:

UdjinM6

Official Dash Dev
Dash Core Team
Moderator
May 20, 2014
3,637
3,536
1,183
ok
- i finally found how to direct this to the correct devise (my phone)
- build failed (again)
- problem seems to be “no code signed identity found"


Try to click "Fix issue" button to create new signing identity. You might also need to change Bundle Identifier to smth else if you have test version installed (not sure, I'm just guessing here).
 

tungfa

Administrator
Dash Core Team
Moderator
Foundation Member
Masternode Owner/Operator
Apr 9, 2014
8,972
6,740
1,283
Try to click "Fix issue" button to create new signing identity. You might also need to change Bundle Identifier to smth else if you have test version installed (not sure, I'm just guessing here).
can not find "fix issue"

did anybody manage to pull this off ?
 

UdjinM6

Official Dash Dev
Dash Core Team
Moderator
May 20, 2014
3,637
3,536
1,183
tx man
but does not work
(i used my iTunes ID, but that is not enough)
i pinged quantum already (multiple times about that)
:what:
ahhh, tungfa, tungfa .... grab some coffee :tongue:
Try to click "Fix issue" button to create new signing identity. You might also need to change Bundle Identifier to smth else if you have test version installed (not sure, I'm just guessing here).
make it "com.darkcoinfoundation.dashwallet.test" for example and it should compile
 

tungfa

Administrator
Dash Core Team
Moderator
Foundation Member
Masternode Owner/Operator
Apr 9, 2014
8,972
6,740
1,283
ahhh, tungfa, tungfa .... grab some coffee :tongue:

make it "com.darkcoinfoundation.dashwallet.test" for example and it should compile
com.darkcoinfoundation.dashwallet.test17
worked
but still:


did a clean
shift - command - k
tried again
same same

Edit:
and we all know that i am definitely the wrong person for this job !
 

UdjinM6

Official Dash Dev
Dash Core Team
Moderator
May 20, 2014
3,637
3,536
1,183
com.darkcoinfoundation.dashwallet.test17
worked
but still:


did a clean
shift - command - k
tried again
same same

Edit:
and we all know that i am definitely the wrong person for this job !
Hmmm.. I didn't have it... maybe it's smth with "TodayExtension"?

Try to switch to it and check if settings there match (there is a list to choose build product, see arrow)

em0SWob.png
 

tungfa

Administrator
Dash Core Team
Moderator
Foundation Member
Masternode Owner/Operator
Apr 9, 2014
8,972
6,740
1,283
tried
but
press ok
and still failed
(i used com.darkcoinfoundation.dashwallet.test17 as before)

 

ALX3K

New Member
Sep 7, 2015
19
9
3
Another good way for an wallet is like kryptokit´s rushwallet or the ethereum wallet. but dont know if some similar exist for dash.