Skip to content

Commit

Permalink
feat: update tor to 0.4.4.6 and libwally to 0.8.1, universal builds!
Browse files Browse the repository at this point in the history
  • Loading branch information
Fonta1n3 committed Jan 14, 2021
1 parent 83e6ec0 commit b78614d
Show file tree
Hide file tree
Showing 206 changed files with 3,188 additions and 719 deletions.
13 changes: 0 additions & 13 deletions CLibWally.xcframework/ios-arm64/Headers/module.modulemap

This file was deleted.

Binary file removed CLibWally.xcframework/ios-arm64/libwallycore.a
Binary file not shown.

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file not shown.
13 changes: 0 additions & 13 deletions CLibWally.xcframework/macos-x86_64/Headers/module.modulemap

This file was deleted.

Binary file removed CLibWally.xcframework/macos-x86_64/libwallycore.a
Binary file not shown.
42 changes: 18 additions & 24 deletions FullyNoded.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
D0126FF022443D1100412629 /* whitePlus.png in Resources */ = {isa = PBXBuildFile; fileRef = D0126FEF22443D1100412629 /* whitePlus.png */; };
D0126FF622446E3800412629 /* InvoiceViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = D0126FF522446E3800412629 /* InvoiceViewController.swift */; };
D0126FF82244842000412629 /* bWhite.png in Resources */ = {isa = PBXBuildFile; fileRef = D0126FF72244842000412629 /* bWhite.png */; };
D016AE4825AFFCA400A59E93 /* LibWally.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = D016AE4425AFFCA000A59E93 /* LibWally.xcframework */; };
D016AE4925AFFCA400A59E93 /* LibWally.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = D016AE4425AFFCA000A59E93 /* LibWally.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
D016AE7525B0284300A59E93 /* Tor.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = D016AE7225B0284000A59E93 /* Tor.xcframework */; };
D016AE7625B0284300A59E93 /* Tor.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = D016AE7225B0284000A59E93 /* Tor.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
D0196DD721B5AB300081E0AB /* KeyPadButtonView.xib in Resources */ = {isa = PBXBuildFile; fileRef = D0196DD621B5AB300081E0AB /* KeyPadButtonView.xib */; };
D0196DDB21B5AC5F0081E0AB /* KeyPad.swift in Sources */ = {isa = PBXBuildFile; fileRef = D0196DDA21B5AC5F0081E0AB /* KeyPad.swift */; };
D01EB4F325AD685700ADF6E4 /* TransactionLabelMemoViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = D01EB4F225AD685700ADF6E4 /* TransactionLabelMemoViewController.swift */; };
Expand Down Expand Up @@ -56,12 +60,7 @@
D039D3C823322F1300D1ED18 /* NodeStruct.swift in Sources */ = {isa = PBXBuildFile; fileRef = D039D3C723322F1300D1ED18 /* NodeStruct.swift */; };
D039D3CA2332440D00D1ED18 /* HDMusigStruct.swift in Sources */ = {isa = PBXBuildFile; fileRef = D039D3C92332440D00D1ED18 /* HDMusigStruct.swift */; };
D03F65F124EFB25100901D06 /* KeySendViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = D03F65F024EFB25100901D06 /* KeySendViewController.swift */; };
D03FC07C2508850600450B45 /* Tor-3.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = D03FC07A250883D900450B45 /* Tor-3.xcframework */; };
D03FC07D2508850600450B45 /* Tor-3.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = D03FC07A250883D900450B45 /* Tor-3.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
D0410617224ED189004AC0D0 /* ObjectiveCHeader.m in Sources */ = {isa = PBXBuildFile; fileRef = D0410616224ED189004AC0D0 /* ObjectiveCHeader.m */; };
D042B9372570DAA600E6DDE3 /* CLibWally.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = D042B9352570DAA500E6DDE3 /* CLibWally.xcframework */; };
D042B9382570DAA900E6DDE3 /* LibWally.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = D042B9342570DAA500E6DDE3 /* LibWally.xcframework */; };
D042B9392570DAA900E6DDE3 /* LibWally.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = D042B9342570DAA500E6DDE3 /* LibWally.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
D042FABC250C9F0600E99D9B /* Torrc.swift in Sources */ = {isa = PBXBuildFile; fileRef = D042FABB250C9F0600E99D9B /* Torrc.swift */; };
D044ED78235AF42D00300D62 /* ImportStruct.swift in Sources */ = {isa = PBXBuildFile; fileRef = D044ED77235AF42D00300D62 /* ImportStruct.swift */; };
D0452AD42246C7830013E225 /* clear.png in Resources */ = {isa = PBXBuildFile; fileRef = D0452AD32246C7820013E225 /* clear.png */; };
Expand Down Expand Up @@ -180,14 +179,14 @@
/* End PBXContainerItemProxy section */

/* Begin PBXCopyFilesBuildPhase section */
D01A861624FE86F0009D2510 /* Embed Frameworks */ = {
D016AE4A25AFFCA400A59E93 /* Embed Frameworks */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 10;
files = (
D03FC07D2508850600450B45 /* Tor-3.xcframework in Embed Frameworks */,
D042B9392570DAA900E6DDE3 /* LibWally.xcframework in Embed Frameworks */,
D016AE4925AFFCA400A59E93 /* LibWally.xcframework in Embed Frameworks */,
D016AE7625B0284300A59E93 /* Tor.xcframework in Embed Frameworks */,
);
name = "Embed Frameworks";
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -215,6 +214,8 @@
D0126FEF22443D1100412629 /* whitePlus.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = whitePlus.png; sourceTree = "<group>"; };
D0126FF522446E3800412629 /* InvoiceViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InvoiceViewController.swift; sourceTree = "<group>"; };
D0126FF72244842000412629 /* bWhite.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = bWhite.png; sourceTree = "<group>"; };
D016AE4425AFFCA000A59E93 /* LibWally.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = LibWally.xcframework; sourceTree = "<group>"; };
D016AE7225B0284000A59E93 /* Tor.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = Tor.xcframework; sourceTree = "<group>"; };
D0196DD621B5AB300081E0AB /* KeyPadButtonView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = KeyPadButtonView.xib; sourceTree = "<group>"; };
D0196DDA21B5AC5F0081E0AB /* KeyPad.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KeyPad.swift; sourceTree = "<group>"; };
D01EB4F225AD685700ADF6E4 /* TransactionLabelMemoViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TransactionLabelMemoViewController.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -251,13 +252,9 @@
D039D3C723322F1300D1ED18 /* NodeStruct.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NodeStruct.swift; sourceTree = "<group>"; };
D039D3C92332440D00D1ED18 /* HDMusigStruct.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HDMusigStruct.swift; sourceTree = "<group>"; };
D03F65F024EFB25100901D06 /* KeySendViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KeySendViewController.swift; sourceTree = "<group>"; };
D03FC07A250883D900450B45 /* Tor-3.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = "Tor-3.xcframework"; sourceTree = "<group>"; };
D0410615224ED188004AC0D0 /* FullyNoded-Bridging-Header.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "FullyNoded-Bridging-Header.h"; sourceTree = "<group>"; };
D0410616224ED189004AC0D0 /* ObjectiveCHeader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ObjectiveCHeader.m; sourceTree = "<group>"; };
D042B9342570DAA500E6DDE3 /* LibWally.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = LibWally.xcframework; sourceTree = "<group>"; };
D042B9352570DAA500E6DDE3 /* CLibWally.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = CLibWally.xcframework; sourceTree = "<group>"; };
D042FABB250C9F0600E99D9B /* Torrc.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Torrc.swift; sourceTree = "<group>"; };
D042FAC1250DA86D00E99D9B /* .torrc */ = {isa = PBXFileReference; lastKnownFileType = text; path = .torrc; sourceTree = "<group>"; };
D044ED77235AF42D00300D62 /* ImportStruct.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ImportStruct.swift; sourceTree = "<group>"; };
D0452AD32246C7820013E225 /* clear.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = clear.png; sourceTree = "<group>"; };
D0452AD52246E0370013E225 /* whiteBroom.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = whiteBroom.png; sourceTree = "<group>"; };
Expand Down Expand Up @@ -371,9 +368,8 @@
buildActionMask = 2147483647;
files = (
D0C1F9132531E5970079C2B8 /* URKit in Frameworks */,
D03FC07C2508850600450B45 /* Tor-3.xcframework in Frameworks */,
D042B9372570DAA600E6DDE3 /* CLibWally.xcframework in Frameworks */,
D042B9382570DAA900E6DDE3 /* LibWally.xcframework in Frameworks */,
D016AE7525B0284300A59E93 /* Tor.xcframework in Frameworks */,
D016AE4825AFFCA400A59E93 /* LibWally.xcframework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -854,11 +850,9 @@
D08C1FBB211147F600B7CA79 /* Frameworks */ = {
isa = PBXGroup;
children = (
D042B9352570DAA500E6DDE3 /* CLibWally.xcframework */,
D042B9342570DAA500E6DDE3 /* LibWally.xcframework */,
D016AE7225B0284000A59E93 /* Tor.xcframework */,
D016AE4425AFFCA000A59E93 /* LibWally.xcframework */,
D026E5C7253A79DB001F1054 /* AuthenticationServices.framework */,
D042FAC1250DA86D00E99D9B /* .torrc */,
D03FC07A250883D900450B45 /* Tor-3.xcframework */,
);
name = Frameworks;
sourceTree = "<group>";
Expand Down Expand Up @@ -956,7 +950,7 @@
D00B9A212111427200E8B95A /* Frameworks */,
D00B9A222111427200E8B95A /* Resources */,
D08C1FBE2111480100B7CA79 /* ShellScript */,
D01A861624FE86F0009D2510 /* Embed Frameworks */,
D016AE4A25AFFCA400A59E93 /* Embed Frameworks */,
);
buildRules = (
);
Expand Down Expand Up @@ -1428,7 +1422,7 @@
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 284;
CURRENT_PROJECT_VERSION = 286;
DEVELOPMENT_TEAM = 8JHDU5M9KD;
"ENABLE_HARDENED_RUNTIME[sdk=macosx*]" = YES;
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
Expand All @@ -1439,7 +1433,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.364;
MARKETING_VERSION = 1.366;
PRODUCT_BUNDLE_IDENTIFIER = com.fontaine.FullyNoded;
"PRODUCT_BUNDLE_IDENTIFIER[sdk=macosx*]" = com.fontaine.fullynodedmacos;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -1464,7 +1458,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 284;
CURRENT_PROJECT_VERSION = 286;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = 8JHDU5M9KD;
"ENABLE_HARDENED_RUNTIME[sdk=macosx*]" = YES;
Expand All @@ -1477,7 +1471,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.364;
MARKETING_VERSION = 1.366;
PRODUCT_BUNDLE_IDENTIFIER = com.fontaine.FullyNoded;
"PRODUCT_BUNDLE_IDENTIFIER[sdk=macosx*]" = com.fontaine.fullynodedmacos;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down
4 changes: 2 additions & 2 deletions FullyNoded/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -5447,7 +5447,7 @@ If you add a fingerprint your extended key will derive addresses as if it is an
</objects>
<point key="canvasLocation" x="-2791.1999999999998" y="375.56221889055473"/>
</scene>
<!--v0.2.8-->
<!--v0.2.9-->
<scene sceneID="Ajv-p7-tUm">
<objects>
<viewController extendedLayoutIncludesOpaqueBars="YES" id="AS8-ke-Yxh" customClass="SettingsViewController" customModule="FullyNoded" customModuleProvider="target" sceneMemberID="viewController">
Expand Down Expand Up @@ -5547,7 +5547,7 @@ If you add a fingerprint your extended key will derive addresses as if it is an
<viewLayoutGuide key="safeArea" id="Cze-jj-bFe"/>
</view>
<tabBarItem key="tabBarItem" title="" image="Settings" id="n34-O3-Fyo"/>
<navigationItem key="navigationItem" title="v0.2.8" id="YNb-Gd-Hqq"/>
<navigationItem key="navigationItem" title="v0.2.9" id="YNb-Gd-Hqq"/>
<connections>
<outlet property="settingsTable" destination="hcp-eG-lok" id="xPg-8r-KBs"/>
<segue destination="bKH-sI-MiM" kind="show" identifier="goLogIn" id="qed-hl-jG5"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ class MainMenuViewController: UIViewController {

override func viewDidLoad() {
super.viewDidLoad()

mainMenu.delegate = self
mainMenu.alpha = 0
mainMenu.tableFooterView = UIView(frame: .zero)
Expand Down
23 changes: 13 additions & 10 deletions LibWally.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,55 +6,58 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>macos-x86_64</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>LibWally.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>x86_64</string>
<string>arm64</string>
</array>
<key>SupportedPlatform</key>
<string>macos</string>
<string>ios</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-x86_64-maccatalyst</string>
<string>macos-arm64_x86_64</string>
<key>LibraryPath</key>
<string>LibWally.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>maccatalyst</string>
<string>macos</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>LibWally.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-x86_64-simulator</string>
<string>ios-arm64_x86_64-maccatalyst</string>
<key>LibraryPath</key>
<string>LibWally.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
<string>maccatalyst</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// Generated by Apple Swift version 5.2.2 (swiftlang-1103.0.32.6 clang-1103.0.32.51)
// Generated by Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28)
#ifndef LIBWALLY_SWIFT_H
#define LIBWALLY_SWIFT_H
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wgcc-compat"

Expand Down Expand Up @@ -207,3 +209,4 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
# pragma clang attribute pop
#endif
#pragma clang diagnostic pop
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ FOUNDATION_EXPORT double LibWallyVersionNumber;
FOUNDATION_EXPORT const unsigned char LibWallyVersionString[];

// In this header, you should import all the public headers of your framework using statements like #import <LibWally/PublicHeader.h>

#import "wally_transaction.h"
#import "wally_address.h"
#import "wally_bip32.h"
#import "wally_bip38.h"
#import "wally_bip39.h"
#import "wally_core.h"
#import "wally_crypto.h"
#import "wally_psbt.h"
#import "wally_script.h"
#import "wally_symmetric.h"
Binary file modified LibWally.xcframework/ios-arm64/LibWally.framework/Info.plist
Binary file not shown.
Binary file modified LibWally.xcframework/ios-arm64/LibWally.framework/LibWally
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.2.2 (swiftlang-1103.0.32.6 clang-1103.0.32.51)
// swift-module-flags: -target arm64-apple-ios13.6 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -module-name LibWally
import CLibWally
// swift-compiler-version: Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28)
// swift-module-flags: -target arm64-apple-ios14.2 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -module-name LibWally
import Foundation
@_exported import LibWally
import Swift
Expand Down Expand Up @@ -204,7 +203,7 @@ public struct TxOutput {
get
}
public init(scriptPubKey: LibWally.ScriptPubKey, amount: LibWally.Satoshi, network: LibWally.Network)
public func createWallyOutput() -> Swift.UnsafeMutablePointer<CLibWally.wally_tx_output>
public func createWallyOutput() -> Swift.UnsafeMutablePointer<LibWally.wally_tx_output>
}
public struct Witness {
public let type: LibWally.Witness.WitnessType
Expand All @@ -215,7 +214,7 @@ public struct Witness {
case payToScriptHashPayToWitnessPubKeyHash(LibWally.PubKey)
}
public init(type: LibWally.Witness.WitnessType, signature: Foundation.Data, isDummy: Swift.Bool = false)
public func createWallyStack() -> Swift.UnsafeMutablePointer<CLibWally.wally_tx_witness_stack>
public func createWallyStack() -> Swift.UnsafeMutablePointer<LibWally.wally_tx_witness_stack>
public init(type: LibWally.Witness.WitnessType)
public func signed(signature: Foundation.Data) -> LibWally.Witness
public var scriptCode: Foundation.Data {
Expand Down Expand Up @@ -277,7 +276,7 @@ public struct TxInput {
public var witness: LibWally.Witness?
public let scriptPubKey: LibWally.ScriptPubKey
public init(txHash: Foundation.Data, vout: Swift.UInt32, sequence: Swift.UInt32 = 0xffffffff, amount: LibWally.Satoshi, scriptSig: LibWally.ScriptSig?, witness: LibWally.Witness?, scriptPubKey: LibWally.ScriptPubKey) throws
public func createWallyInput() -> Swift.UnsafeMutablePointer<CLibWally.wally_tx_input>
public func createWallyInput() -> Swift.UnsafeMutablePointer<LibWally.wally_tx_input>
public var isSigned: Swift.Bool {
get
}
Expand Down
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit b78614d

Please sign in to comment.