Commit Graph

103 Commits

Author SHA1 Message Date
Frank Denis 862e9adf1a Regen with Xcode 13.3 2022-04-03 00:50:27 +02:00
Frank Denis 1d51e8eb8a Add sodium.version
Fixes #247
2021-07-13 17:31:50 +02:00
Frank Denis 62e2fec15b Update libsodium and Xcode 2021-05-01 19:29:46 +02:00
Frank Denis ea3116e481 Revert "Update to recommended Xcode settings"
This reverts commit a163995c20.
2021-03-02 18:26:46 +01:00
Frank Denis a163995c20 Update to recommended Xcode settings 2020-10-21 17:07:20 +02:00
Frank Denis adf714de2d Add CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER 2020-10-21 16:50:38 +02:00
Daniel Browne 7b32d1821f
tvOS support fixes (#217)
* Change deployment targets from 13.4 -> 9.0 for 'Sodium_tvOS' and 'Example tvOS' targets (matches iOS).

* Add tvOS 11.0 available check to resolve compiler error.
2020-10-14 13:17:01 +02:00
Daniel Browne 28a19aa02a
Add tvOS support (#216)
* Add .DS_Store file extension to .gitignore.

* Add tvOS support

- Adds 'Sodium_tvOS' framework build target and scheme.
- Adds 'Example tvOS' app build target and scheme.
2020-10-14 10:28:51 +02:00
Frank Denis 86b616ddb6 Bump IPHONEOS_DEPLOYMENT_TARGET 2020-09-20 15:58:03 +02:00
Frank Denis d06e60f7fc Replace static libraries with an xcframework 2020-08-05 19:10:23 +02:00
Marcelo Fabri 8c9ac9f310 Validate CocoaPods and project builds in CI 2020-01-20 00:51:50 -08:00
Frank Denis d741665907 Revert "Clibsodium defined as an explicit module and Clibsodium import statements changes to access the clibsodium via the Sodium framework"
This reverts commit 14f7221928.
2020-01-16 17:26:56 +01:00
Federico Henze 14f7221928 Clibsodium defined as an explicit module and Clibsodium import statements changes to access the clibsodium via the Sodium framework 2019-12-20 16:23:43 +01:00
Frank Denis c43ffe544f Make DEPLOYMENT_TARGET more consistent 2019-04-02 09:04:19 +02:00
Ryan Davis cc38a9b9fa Bump macOS example deployment target to 10.11 2019-03-29 13:32:41 +11:00
Ryan Davis 4edb2b1de6 Update macOS example to target Swift 5 2019-03-29 13:31:00 +11:00
Frank Denis adc2c117be Update to Swift 5, with the exception of the WatchOS example
Not sure what the correct syntax is in order to update it.
2019-03-28 00:44:45 +01:00
Frank Denis 8247236b8a Add missing CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED property 2019-03-28 00:12:13 +01:00
Frank Denis fde87b2992 Update libsodium-watchos.a 2019-01-29 23:22:13 +01:00
Frank Denis ca67bb668c Merge remote-tracking branch 'junelife/watchOS'
* junelife/watchOS:
  Update README with information about the watchOS static library.
  Add examples to demonstrate watchOS framework.
  Add watchOS support.
2019-01-29 23:15:17 +01:00
Frank Denis c4db70c216 Back to Swift 4.2 for now 2019-01-29 23:12:06 +01:00
Frank Denis 23d630b3e6 Update libsodium 2019-01-29 22:45:21 +01:00
Joseph Ross 9ad4fe5a65 Add examples to demonstrate watchOS framework. 2018-10-02 21:10:28 -07:00
Joseph Ross 3f79e98fc6 Add watchOS support. 2018-10-02 20:54:00 -07:00
Frank Denis c5f4ad135e Bump 2018-09-22 10:58:28 +02:00
Frank Denis 628e495eef
Merge pull request #162 from aidantwoods/fix/remove-redundant-state-stream
Remove redundant state stream protocol
2018-08-08 19:35:20 +02:00
Aidan Woods 9e971a744b
Update to recommended Xcode project settings 2018-08-08 18:05:02 +01:00
Aidan Woods 2cc019b5c1
Remove redundant state stream protocol 2018-08-08 18:03:34 +01:00
Markus Kuhnt 840c6b0098 fix build for OSX target 2018-06-07 15:29:18 -07:00
Aidan Woods 48b08e47f0
Defer to Swift's own handling for most pointers
Reference: https://developer.apple.com/swift/blog/?id=6
2018-04-27 12:56:21 +01:00
Aidan Woods af892c0f75
Commit Xcode config 2018-04-26 20:45:25 +01:00
Aidan Woods 2e865a30ce
Use ExitCode enum to encompass numeric exit status 2018-04-26 17:41:44 +01:00
Aidan Woods 1291f9de09
Create StateStream protocol 2018-04-23 23:45:37 +01:00
umbri 671ef2476f added: Aead Api + XChaCha20Poly1305Ietf 2018-03-22 13:06:44 +01:00
Frank Denis 9e6ea00d41 up 2018-02-24 01:46:31 +01:00
Daniel Seither 6c0ab189ce Add CocoaPods and SPM files to project for easy editing 2018-02-19 13:36:17 +01:00
Daniel Seither 98cb87ec85 Fix paths in Xcode project 2018-02-19 13:36:16 +01:00
Maximilian Blochberger 39e4fc53d4
Fix warning
When building the "SodiumTests" target the following warning was issued:

    ld: warning: directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/Developer/Library/Frameworks'

I validated that there is no such path in my Xcode installation and
removed the framework search path accordingly. Since building succeeds
anyway it looks like this is not required.
2018-01-16 12:07:09 +01:00
Maximilian Blochberger 475d5fa113
Migrate iOS example app to Swift 4
No code changes where necessary. This basically removes warning messages
that did appear.
2017-12-01 12:50:12 +01:00
Maximilian Blochberger 8f9216813c
Embed Sodium framework into Example app
This fixes #113.
2017-12-01 12:44:08 +01:00
Frank Denis 197b16a2d4 Remove *aes128ctr* 2017-10-01 16:41:06 +02:00
Frank Denis b8a23a25a3 Add SecretStream to the OSX target, fix examples 2017-09-23 20:48:12 +02:00
Frank Denis 41871eb2f2 Reindent everything and add tests for SecretStream 2017-09-22 00:14:37 +02:00
Frank Denis 6b510d91df Update OSX example 2017-09-05 20:43:30 +02:00
Frank Denis 27fd72459f Disable @objc inference everywhere 2017-09-05 20:42:27 +02:00
Frank Denis d2e206447f Update to Swift 4 2017-09-05 20:37:11 +02:00
Frank Denis 1bcaa56c48 Convert to Swift 4 2017-09-05 20:25:17 +02:00
Frank Denis cb800f9498 Use Xcode 8 compatible format 2017-09-05 20:20:57 +02:00
Frank Denis 619abbf13d Update to libsodium 1.0.14
Not released yet, but required to implement secretstream, pad, and other additions
2017-09-05 20:16:24 +02:00
Maximilian Blochberger 4697cc063f
Fix building on macOS
This resolves issue #101.
2017-07-14 21:15:46 +02:00