-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: George J Padayatti <[email protected]>
- Loading branch information
0 parents
commit 3eb8008
Showing
39 changed files
with
740 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
.DS_Store | ||
/.build | ||
/Packages | ||
xcuserdata/ | ||
DerivedData/ | ||
.swiftpm/configuration/registries.json | ||
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata | ||
.netrc | ||
pex.xcworkspace |
8 changes: 8 additions & 0 deletions
8
.swiftpm/xcode/package.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>IDEDidComputeMac32BitWarning</key> | ||
<true/> | ||
</dict> | ||
</plist> |
78 changes: 78 additions & 0 deletions
78
.swiftpm/xcode/xcshareddata/xcschemes/PresentationExchangeSdkiOS.xcscheme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Scheme | ||
LastUpgradeVersion = "1520" | ||
version = "1.7"> | ||
<BuildAction | ||
parallelizeBuildables = "YES" | ||
buildImplicitDependencies = "YES"> | ||
<BuildActionEntries> | ||
<BuildActionEntry | ||
buildForTesting = "YES" | ||
buildForRunning = "YES" | ||
buildForProfiling = "YES" | ||
buildForArchiving = "YES" | ||
buildForAnalyzing = "YES"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "PresentationExchangeSdkiOS" | ||
BuildableName = "PresentationExchangeSdkiOS" | ||
BlueprintName = "PresentationExchangeSdkiOS" | ||
ReferencedContainer = "container:"> | ||
</BuildableReference> | ||
</BuildActionEntry> | ||
</BuildActionEntries> | ||
</BuildAction> | ||
<TestAction | ||
buildConfiguration = "Debug" | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
shouldUseLaunchSchemeArgsEnv = "YES" | ||
shouldAutocreateTestPlan = "YES"> | ||
<Testables> | ||
<TestableReference | ||
skipped = "NO"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "PresentationExchangeSdkiOSTests" | ||
BuildableName = "PresentationExchangeSdkiOSTests" | ||
BlueprintName = "PresentationExchangeSdkiOSTests" | ||
ReferencedContainer = "container:"> | ||
</BuildableReference> | ||
</TestableReference> | ||
</Testables> | ||
</TestAction> | ||
<LaunchAction | ||
buildConfiguration = "Debug" | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
launchStyle = "0" | ||
useCustomWorkingDirectory = "NO" | ||
ignoresPersistentStateOnLaunch = "NO" | ||
debugDocumentVersioning = "YES" | ||
debugServiceExtension = "internal" | ||
allowLocationSimulation = "YES"> | ||
</LaunchAction> | ||
<ProfileAction | ||
buildConfiguration = "Release" | ||
shouldUseLaunchSchemeArgsEnv = "YES" | ||
savedToolIdentifier = "" | ||
useCustomWorkingDirectory = "NO" | ||
debugDocumentVersioning = "YES"> | ||
<MacroExpansion> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "PresentationExchangeSdkiOS" | ||
BuildableName = "PresentationExchangeSdkiOS" | ||
BlueprintName = "PresentationExchangeSdkiOS" | ||
ReferencedContainer = "container:"> | ||
</BuildableReference> | ||
</MacroExpansion> | ||
</ProfileAction> | ||
<AnalyzeAction | ||
buildConfiguration = "Debug"> | ||
</AnalyzeAction> | ||
<ArchiveAction | ||
buildConfiguration = "Release" | ||
revealArchiveInOrganizer = "YES"> | ||
</ArchiveAction> | ||
</Scheme> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// swift-tools-version: 5.9 | ||
// The swift-tools-version declares the minimum version of Swift required to build this package. | ||
|
||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "PresentationExchangeSdkiOS", | ||
products: [ | ||
// Products define the executables and libraries a package produces, making them visible to other packages. | ||
.library( | ||
name: "PresentationExchangeSdkiOS", | ||
targets: ["PresentationExchangeSdkiOS", "Pexioswrapper"]), | ||
], | ||
targets: [ | ||
// Targets are the basic building blocks of a package, defining a module or a test suite. | ||
// Targets can depend on other targets in this package and products from dependencies. | ||
.target( | ||
name: "PresentationExchangeSdkiOS"), | ||
.binaryTarget( | ||
name: "Pexioswrapper", | ||
path: "Sources/Artifacts/Pexioswrapper.xcframework"), | ||
.testTarget( | ||
name: "PresentationExchangeSdkiOSTests", | ||
dependencies: ["PresentationExchangeSdkiOS"]), | ||
]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>AvailableLibraries</key> | ||
<array> | ||
<dict> | ||
<key>BinaryPath</key> | ||
<string>Pexioswrapper.framework/Versions/A/Pexioswrapper</string> | ||
<key>LibraryIdentifier</key> | ||
<string>ios-arm64</string> | ||
<key>LibraryPath</key> | ||
<string>Pexioswrapper.framework</string> | ||
<key>SupportedArchitectures</key> | ||
<array> | ||
<string>arm64</string> | ||
</array> | ||
<key>SupportedPlatform</key> | ||
<string>ios</string> | ||
</dict> | ||
<dict> | ||
<key>BinaryPath</key> | ||
<string>Pexioswrapper.framework/Versions/A/Pexioswrapper</string> | ||
<key>LibraryIdentifier</key> | ||
<string>ios-arm64_x86_64-simulator</string> | ||
<key>LibraryPath</key> | ||
<string>Pexioswrapper.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> | ||
</array> | ||
<key>CFBundlePackageType</key> | ||
<string>XFWK</string> | ||
<key>XCFrameworkFormatVersion</key> | ||
<string>1.0</string> | ||
</dict> | ||
</plist> |
1 change: 1 addition & 0 deletions
1
Sources/Artifacts/Pexioswrapper.xcframework/ios-arm64/Pexioswrapper.framework/Headers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Versions/Current/Headers |
1 change: 1 addition & 0 deletions
1
Sources/Artifacts/Pexioswrapper.xcframework/ios-arm64/Pexioswrapper.framework/Modules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Versions/Current/Modules |
1 change: 1 addition & 0 deletions
1
Sources/Artifacts/Pexioswrapper.xcframework/ios-arm64/Pexioswrapper.framework/Pexioswrapper
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Versions/Current/Pexioswrapper |
1 change: 1 addition & 0 deletions
1
Sources/Artifacts/Pexioswrapper.xcframework/ios-arm64/Pexioswrapper.framework/Resources
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Versions/Current/Resources |
13 changes: 13 additions & 0 deletions
13
...swrapper.xcframework/ios-arm64/Pexioswrapper.framework/Versions/A/Headers/Pexioswrapper.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
|
||
// Objective-C API for talking to the following Go packages | ||
// | ||
// github.com/decentralised-dataexchange/presentation-exchange-sdk-ios/go/pexioswrapper | ||
// | ||
// File is generated by gomobile bind. Do not edit. | ||
#ifndef __Pexioswrapper_FRAMEWORK_H__ | ||
#define __Pexioswrapper_FRAMEWORK_H__ | ||
|
||
#include "Pexioswrapper.objc.h" | ||
#include "Universe.objc.h" | ||
|
||
#endif |
16 changes: 16 additions & 0 deletions
16
...per.xcframework/ios-arm64/Pexioswrapper.framework/Versions/A/Headers/Pexioswrapper.objc.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// Objective-C API for talking to github.com/decentralised-dataexchange/presentation-exchange-sdk-ios/go/pexioswrapper Go package. | ||
// gobind -lang=objc github.com/decentralised-dataexchange/presentation-exchange-sdk-ios/go/pexioswrapper | ||
// | ||
// File is generated by gobind. Do not edit. | ||
|
||
#ifndef __Pexioswrapper_H__ | ||
#define __Pexioswrapper_H__ | ||
|
||
@import Foundation; | ||
#include "ref.h" | ||
#include "Universe.objc.h" | ||
|
||
|
||
FOUNDATION_EXPORT NSString* _Nonnull PexioswrapperMatchCredentials(NSString* _Nullable inputDescriptorJson, NSString* _Nullable credentials); | ||
|
||
#endif |
29 changes: 29 additions & 0 deletions
29
...swrapper.xcframework/ios-arm64/Pexioswrapper.framework/Versions/A/Headers/Universe.objc.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// Objective-C API for talking to Go package. | ||
// gobind -lang=objc | ||
// | ||
// File is generated by gobind. Do not edit. | ||
|
||
#ifndef __Universe_H__ | ||
#define __Universe_H__ | ||
|
||
@import Foundation; | ||
#include "ref.h" | ||
|
||
@protocol Universeerror; | ||
@class Universeerror; | ||
|
||
@protocol Universeerror <NSObject> | ||
- (NSString* _Nonnull)error; | ||
@end | ||
|
||
@class Universeerror; | ||
|
||
@interface Universeerror : NSError <goSeqRefInterface, Universeerror> { | ||
} | ||
@property(strong, readonly) _Nonnull id _ref; | ||
|
||
- (nonnull instancetype)initWithRef:(_Nonnull id)ref; | ||
- (NSString* _Nonnull)error; | ||
@end | ||
|
||
#endif |
35 changes: 35 additions & 0 deletions
35
...acts/Pexioswrapper.xcframework/ios-arm64/Pexioswrapper.framework/Versions/A/Headers/ref.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// Copyright 2015 The Go Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style | ||
// license that can be found in the LICENSE file. | ||
|
||
#ifndef __GO_REF_HDR__ | ||
#define __GO_REF_HDR__ | ||
|
||
#include <Foundation/Foundation.h> | ||
|
||
// GoSeqRef is an object tagged with an integer for passing back and | ||
// forth across the language boundary. A GoSeqRef may represent either | ||
// an instance of a Go object, or an Objective-C object passed to Go. | ||
// The explicit allocation of a GoSeqRef is used to pin a Go object | ||
// when it is passed to Objective-C. The Go seq package maintains a | ||
// reference to the Go object in a map keyed by the refnum along with | ||
// a reference count. When the reference count reaches zero, the Go | ||
// seq package will clear the corresponding entry in the map. | ||
@interface GoSeqRef : NSObject { | ||
} | ||
@property(readonly) int32_t refnum; | ||
@property(strong) id obj; // NULL when representing a Go object. | ||
|
||
// new GoSeqRef object to proxy a Go object. The refnum must be | ||
// provided from Go side. | ||
- (instancetype)initWithRefnum:(int32_t)refnum obj:(id)obj; | ||
|
||
- (int32_t)incNum; | ||
|
||
@end | ||
|
||
@protocol goSeqRefInterface | ||
-(GoSeqRef*) _ref; | ||
@end | ||
|
||
#endif |
8 changes: 8 additions & 0 deletions
8
...wrapper.xcframework/ios-arm64/Pexioswrapper.framework/Versions/A/Modules/module.modulemap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
framework module "Pexioswrapper" { | ||
header "ref.h" | ||
header "Pexioswrapper.objc.h" | ||
header "Universe.objc.h" | ||
header "Pexioswrapper.h" | ||
|
||
export * | ||
} |
Binary file added
BIN
+8.29 MB
...acts/Pexioswrapper.xcframework/ios-arm64/Pexioswrapper.framework/Versions/A/Pexioswrapper
Binary file not shown.
6 changes: 6 additions & 0 deletions
6
...xioswrapper.xcframework/ios-arm64/Pexioswrapper.framework/Versions/A/Resources/Info.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
</dict> | ||
</plist> |
1 change: 1 addition & 0 deletions
1
...es/Artifacts/Pexioswrapper.xcframework/ios-arm64/Pexioswrapper.framework/Versions/Current
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
A |
1 change: 1 addition & 0 deletions
1
...acts/Pexioswrapper.xcframework/ios-arm64_x86_64-simulator/Pexioswrapper.framework/Headers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Versions/Current/Headers |
1 change: 1 addition & 0 deletions
1
...acts/Pexioswrapper.xcframework/ios-arm64_x86_64-simulator/Pexioswrapper.framework/Modules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Versions/Current/Modules |
1 change: 1 addition & 0 deletions
1
...exioswrapper.xcframework/ios-arm64_x86_64-simulator/Pexioswrapper.framework/Pexioswrapper
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Versions/Current/Pexioswrapper |
1 change: 1 addition & 0 deletions
1
...ts/Pexioswrapper.xcframework/ios-arm64_x86_64-simulator/Pexioswrapper.framework/Resources
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Versions/Current/Resources |
13 changes: 13 additions & 0 deletions
13
...ork/ios-arm64_x86_64-simulator/Pexioswrapper.framework/Versions/A/Headers/Pexioswrapper.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
|
||
// Objective-C API for talking to the following Go packages | ||
// | ||
// github.com/decentralised-dataexchange/presentation-exchange-sdk-ios/go/pexioswrapper | ||
// | ||
// File is generated by gomobile bind. Do not edit. | ||
#ifndef __Pexioswrapper_FRAMEWORK_H__ | ||
#define __Pexioswrapper_FRAMEWORK_H__ | ||
|
||
#include "Pexioswrapper.objc.h" | ||
#include "Universe.objc.h" | ||
|
||
#endif |
16 changes: 16 additions & 0 deletions
16
...os-arm64_x86_64-simulator/Pexioswrapper.framework/Versions/A/Headers/Pexioswrapper.objc.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// Objective-C API for talking to github.com/decentralised-dataexchange/presentation-exchange-sdk-ios/go/pexioswrapper Go package. | ||
// gobind -lang=objc github.com/decentralised-dataexchange/presentation-exchange-sdk-ios/go/pexioswrapper | ||
// | ||
// File is generated by gobind. Do not edit. | ||
|
||
#ifndef __Pexioswrapper_H__ | ||
#define __Pexioswrapper_H__ | ||
|
||
@import Foundation; | ||
#include "ref.h" | ||
#include "Universe.objc.h" | ||
|
||
|
||
FOUNDATION_EXPORT NSString* _Nonnull PexioswrapperMatchCredentials(NSString* _Nullable inputDescriptorJson, NSString* _Nullable credentials); | ||
|
||
#endif |
29 changes: 29 additions & 0 deletions
29
...ork/ios-arm64_x86_64-simulator/Pexioswrapper.framework/Versions/A/Headers/Universe.objc.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// Objective-C API for talking to Go package. | ||
// gobind -lang=objc | ||
// | ||
// File is generated by gobind. Do not edit. | ||
|
||
#ifndef __Universe_H__ | ||
#define __Universe_H__ | ||
|
||
@import Foundation; | ||
#include "ref.h" | ||
|
||
@protocol Universeerror; | ||
@class Universeerror; | ||
|
||
@protocol Universeerror <NSObject> | ||
- (NSString* _Nonnull)error; | ||
@end | ||
|
||
@class Universeerror; | ||
|
||
@interface Universeerror : NSError <goSeqRefInterface, Universeerror> { | ||
} | ||
@property(strong, readonly) _Nonnull id _ref; | ||
|
||
- (nonnull instancetype)initWithRef:(_Nonnull id)ref; | ||
- (NSString* _Nonnull)error; | ||
@end | ||
|
||
#endif |
Oops, something went wrong.