# AquaticPrime 64bit

**URL:** <https://forum.xojo.com/t/aquaticprime-64bit/36102>\
**Category:** macOS\
**Created:** [February 14, 2017, 3:10pm UTC](https://forum.xojo.com/t/aquaticprime-64bit/36102 "2017-02-14T15:10:48Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Beatrix\_Willius](https://forum.xojo.com/user_avatar/forum.xojo.com/beatrix_willius/32/282_2.png) [@Beatrix\_Willius](https://forum.xojo.com/u/Beatrix_Willius)\
**Post date:** [February 14, 2017, 3:10pm UTC](https://forum.xojo.com/t/aquaticprime-64bit/36102/1 "2017-02-14T15:10:48Z")

</div>

Has anyone already updated the AquaticPrime code from Thomas Tempelmann to 6bit? Declares aren’t really my core competency.

---

<div class="post-metadata">

**Author:** ![Thomas\_Tempelmann](https://forum.xojo.com/user_avatar/forum.xojo.com/thomas_tempelmann/32/315_2.png) [@Thomas\_Tempelmann](https://forum.xojo.com/u/Thomas_Tempelmann)\
**Post date:** [July 31, 2017, 9:02pm UTC](https://forum.xojo.com/t/aquaticprime-64bit/36102/2 "2017-07-31T21:02:08Z")

</div>

I’ve just updated it. And I did not stop at 6 bits - I did the whole 64 bit! 😉

Get it here: [https://github.com/tempelmann/AquaticPrime](https://github.com/tempelmann/AquaticPrime)

(It also contains an updated version of my “TTsSmartPrefs” that should work on 64 bit)

---

<div class="post-metadata">

**Author:** ![Jonathan\_Ashwell](https://forum.xojo.com/letter_avatar_proxy/v4/letter/j/c89c15/32.png) [@Jonathan\_Ashwell](https://forum.xojo.com/u/Jonathan_Ashwell)\
**Post date:** [July 31, 2017, 10:48pm UTC](https://forum.xojo.com/t/aquaticprime-64bit/36102/3 "2017-07-31T22:48:10Z")

</div>

I’ve been exploring the use of AquaticPrime with Fastspring. In section 2.3 of your tutorial you mention that you could expand on that with examples if people were interested. Have you done so (I am interested). 🙂

---

<div class="post-metadata">

**Author:** ![Thomas\_Tempelmann](https://forum.xojo.com/user_avatar/forum.xojo.com/thomas_tempelmann/32/315_2.png) [@Thomas\_Tempelmann](https://forum.xojo.com/u/Thomas_Tempelmann)\
**Post date:** [August 1, 2017, 7:13am UTC](https://forum.xojo.com/t/aquaticprime-64bit/36102/4 "2017-08-01T07:13:06Z")

</div>

> [@343150:@Jonathan Ashwell](#):
>
> that you could expand on that with examples

Sorry, no time for that any more. There are quite a few people who’ve used AP with Xojo, though, so you might get help here in the forum.

---

<div class="post-metadata">

**Author:** ![Beatrix\_Willius](https://forum.xojo.com/user_avatar/forum.xojo.com/beatrix_willius/32/282_2.png) [@Beatrix\_Willius](https://forum.xojo.com/u/Beatrix_Willius)\
**Post date:** [August 1, 2017, 8:38am UTC](https://forum.xojo.com/t/aquaticprime-64bit/36102/5 "2017-08-01T08:38:08Z")

</div>

@Thomas: a big thanks!

@Jonathan Ashwell: What questions do you have regarding Fastspring? You only have to provide them your secret key. Please open a new topic.

---

<div class="post-metadata">

**Author:** ![Martin\_T](https://forum.xojo.com/letter_avatar_proxy/v4/letter/m/a88e57/32.png) [@Martin\_T](https://forum.xojo.com/u/Martin_T)\
**Post date:** [January 3, 2018, 4:44pm UTC](https://forum.xojo.com/t/aquaticprime-64bit/36102/6 "2018-01-03T16:44:33Z")

</div>

I took a look to this Project. Is there any sample project how to use it? Mean how to check at the program start, if there is a license file and if it is valid?

---

<div class="post-metadata">

**Author:** ![Beatrix\_Willius](https://forum.xojo.com/user_avatar/forum.xojo.com/beatrix_willius/32/282_2.png) [@Beatrix\_Willius](https://forum.xojo.com/u/Beatrix_Willius)\
**Post date:** [January 4, 2018, 7:27am UTC](https://forum.xojo.com/t/aquaticprime-64bit/36102/7 "2018-01-04T07:27:02Z")

</div>

You initialize with the private key and then validate with the license data:

` licenseValidator = new AquaticPrime("key")
  licenseDict = licenseValidator.DictionaryForLicenseData(LicenseText)`

licenseDict then contains the data from the license like user name.

---

<div class="post-metadata">

**Author:** ![Bob\_Keeney](https://forum.xojo.com/letter_avatar_proxy/v4/letter/b/54ee81/32.png) [@Bob\_Keeney](https://forum.xojo.com/u/Bob_Keeney)\
**Post date:** [April 28, 2018, 8:21pm UTC](https://forum.xojo.com/t/aquaticprime-64bit/36102/8 "2018-04-28T20:21:38Z")

</div>

Revisiting this. I can’t get the License Utility to compile for me in the most current version of Xcode. Does anyone have a working version they’d be willing to share?

Or is there a version made with Xojo?

---

<div class="post-metadata">

**Author:** ![Beatrix\_Willius](https://forum.xojo.com/user_avatar/forum.xojo.com/beatrix_willius/32/282_2.png) [@Beatrix\_Willius](https://forum.xojo.com/u/Beatrix_Willius)\
**Post date:** [April 28, 2018, 11:43pm UTC](https://forum.xojo.com/t/aquaticprime-64bit/36102/9 "2018-04-28T23:43:00Z")

</div>

There is a Xojo version. I don’t know where I got this. It doesn’t seem too much work to update this to 64bit. I’ll have a look later today.

---

<div class="post-metadata">

**Author:** ![Martin\_T](https://forum.xojo.com/letter_avatar_proxy/v4/letter/m/a88e57/32.png) [@Martin\_T](https://forum.xojo.com/u/Martin_T)\
**Post date:** [April 28, 2018, 11:55pm UTC](https://forum.xojo.com/t/aquaticprime-64bit/36102/10 "2018-04-28T23:55:17Z")

</div>

> [@385297:@Beatrix Willius](#):
>
> AquaticPrime

> **[GitHub - tempelmann/AquaticPrime: Mac software licensing code using...](https://github.com/tempelmann/AquaticPrime)**
>
> Mac software licensing code using cryptographically signed license files - GitHub - tempelmann/AquaticPrime: Mac software licensing code using cryptographically signed license files

---

<div class="post-metadata">

**Author:** ![Bob\_Keeney](https://forum.xojo.com/letter_avatar_proxy/v4/letter/b/54ee81/32.png) [@Bob\_Keeney](https://forum.xojo.com/u/Bob_Keeney)\
**Post date:** [April 29, 2018, 12:59am UTC](https://forum.xojo.com/t/aquaticprime-64bit/36102/11 "2018-04-29T00:59:48Z")

</div>

> [@385298:@Martin T](#):
>
> [GitHub - tempelmann/AquaticPrime: Mac software licensing code using cryptographically signed license files](https://github.com/tempelmann/AquaticPrime)

Right. Specifically looking for the License Utility. It doesn’t compile in Xcode any more.

---

<div class="post-metadata">

**Author:** ![Massimo\_Valle](https://forum.xojo.com/user_avatar/forum.xojo.com/massimo_valle/32/23049_2.png) [@Massimo\_Valle](https://forum.xojo.com/u/Massimo_Valle)\
**Post date:** [April 30, 2018, 2:22pm UTC](https://forum.xojo.com/t/aquaticprime-64bit/36102/12 "2018-04-30T14:22:42Z")

</div>

Seems like this is an old issue: [https://github.com/bdrister/AquaticPrime/issues/5](https://github.com/bdrister/AquaticPrime/issues/5)

Id try asking Benjamin Rister which is the current maintainer for the Cocoa version  
[https://github.com/bdrister/AquaticPrime](https://github.com/bdrister/AquaticPrime)

---

<div class="post-metadata">

**Author:** ![Massimo\_Valle](https://forum.xojo.com/user_avatar/forum.xojo.com/massimo_valle/32/23049_2.png) [@Massimo\_Valle](https://forum.xojo.com/u/Massimo_Valle)\
**Post date:** [April 30, 2018, 2:28pm UTC](https://forum.xojo.com/t/aquaticprime-64bit/36102/13 "2018-04-30T14:28:59Z")

</div>

The problem appears to be Apple deprecated OpenSSL from 10.7  
Here its a workaround:

Use `homebrew` to install latest OpenSSL. From Terminal:

```auto
brew install openssl
```

Open the `AquaticPrime Developer.xcodeproj` and let Xcode to convert it.  
Then in Xcode build options add `/usr/local/opt/openssl/include` for the include files search paths and `/usr/local/opt/openssl/lib` for the libraries search path.

Then you should be able to successfully compile with Xcode.

---

<div class="post-metadata">

**Author:** ![Beatrix\_Willius](https://forum.xojo.com/user_avatar/forum.xojo.com/beatrix_willius/32/282_2.png) [@Beatrix\_Willius](https://forum.xojo.com/u/Beatrix_Willius)\
**Post date:** [April 30, 2018, 2:48pm UTC](https://forum.xojo.com/t/aquaticprime-64bit/36102/14 "2018-04-30T14:48:49Z")

</div>

Ups. I forgot to have a look. Here is what I have: [http://www.mothsoftware.com/downloads/AquaticPrime.zip](http://www.mothsoftware.com/downloads/AquaticPrime.zip). Somewhere the self test is failing.

---

<div class="post-metadata">

**Author:** ![Massimo\_Valle](https://forum.xojo.com/user_avatar/forum.xojo.com/massimo_valle/32/23049_2.png) [@Massimo\_Valle](https://forum.xojo.com/u/Massimo_Valle)\
**Post date:** [April 30, 2018, 3:01pm UTC](https://forum.xojo.com/t/aquaticprime-64bit/36102/15 "2018-04-30T15:01:27Z")

</div>

Here it’s a just compiled 64 bit version: [https://www.dropbox.com/s/2stz969f6qcfg8g/AquaticPrime%20Developer.zip?dl=0](https://www.dropbox.com/s/2stz969f6qcfg8g/AquaticPrime%20Developer.zip?dl=0)

It require to install OpenSSL via Homebrew as detailed above.

---

<div class="post-metadata">

**Author:** ![Markus\_Winter](https://forum.xojo.com/user_avatar/forum.xojo.com/markus_winter/32/144_2.png) [@Markus\_Winter](https://forum.xojo.com/u/Markus_Winter)\
**Post date:** [April 30, 2018, 3:18pm UTC](https://forum.xojo.com/t/aquaticprime-64bit/36102/16 "2018-04-30T15:18:32Z")

</div>

Open SSL was deprecated for a reason 

---

<div class="post-metadata">

**Author:** ![Philippe\_Casgrain](https://forum.xojo.com/user_avatar/forum.xojo.com/philippe_casgrain/32/279_2.png) [@Philippe\_Casgrain](https://forum.xojo.com/u/Philippe_Casgrain)\
**Post date:** [April 30, 2018, 3:28pm UTC](https://forum.xojo.com/t/aquaticprime-64bit/36102/17 "2018-04-30T15:28:12Z")

</div>

Note that if you compile the License Utility with OpenSSL and Homebrew you will need that version installed for the app to run.

What you really want to do is download the OpenSSL source and build the library yourself, and statically link it in your application.

---

<div class="post-metadata">

**Author:** ![Massimo\_Valle](https://forum.xojo.com/user_avatar/forum.xojo.com/massimo_valle/32/23049_2.png) [@Massimo\_Valle](https://forum.xojo.com/u/Massimo_Valle)\
**Post date:** [April 30, 2018, 3:44pm UTC](https://forum.xojo.com/t/aquaticprime-64bit/36102/18 "2018-04-30T15:44:13Z")

</div>

> [@385533:@Markus Winter](#):
>
> Open SSL was deprecated for a reason 

And?

---

<div class="post-metadata">

**Author:** ![Ercole\_Gosi](https://forum.xojo.com/letter_avatar_proxy/v4/letter/e/ed655f/32.png) [@Ercole\_Gosi](https://forum.xojo.com/u/Ercole_Gosi)\
**Post date:** [April 30, 2018, 3:47pm UTC](https://forum.xojo.com/t/aquaticprime-64bit/36102/19 "2018-04-30T15:47:23Z")

</div>

[quote=385534:@Philippe Casgrain]Note that if you compile the License Utility with OpenSSL and Homebrew you will need that version installed for the app to run.

What you really want to do is download the OpenSSL source and build the library yourself, and statically link it in your application.[/quote]  
You right.  
I’ve tried to run a Massimo copy and it crash.  
Termination Reason: DYLD, [0x1] Library missing

---

<div class="post-metadata">

**Author:** ![Massimo\_Valle](https://forum.xojo.com/user_avatar/forum.xojo.com/massimo_valle/32/23049_2.png) [@Massimo\_Valle](https://forum.xojo.com/u/Massimo_Valle)\
**Post date:** [April 30, 2018, 3:50pm UTC](https://forum.xojo.com/t/aquaticprime-64bit/36102/20 "2018-04-30T15:50:14Z")

</div>

[quote=385538:@luciano monti]You right.  
I’ve tried to run a Massimo copy and it crash.  
Termination Reason: DYLD, [0x1] Library missing[/quote]

Luciano, I stated it very clearly in my post this is a quick workaround and [quote=385531:@Massimo Valle]It require to install OpenSSL via Homebrew as detailed above.[/quote]

[Next page](https://forum.xojo.com/t/aquaticprime-64bit/36102.md?page=2)
