-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #74 from attentive-mobile/rsmith/support-swift
Rsmith/support swift
- Loading branch information
Showing
21 changed files
with
261 additions
and
180 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
7 changes: 7 additions & 0 deletions
7
ExampleSwift/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
77 changes: 77 additions & 0 deletions
77
ExampleSwift/ExampleSwift.xcodeproj/xcshareddata/xcschemes/ExampleSwift - SPM.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,77 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Scheme | ||
LastUpgradeVersion = "1520" | ||
version = "1.7"> | ||
<BuildAction | ||
parallelizeBuildables = "YES" | ||
buildImplicitDependencies = "NO"> | ||
<BuildActionEntries> | ||
<BuildActionEntry | ||
buildForTesting = "YES" | ||
buildForRunning = "YES" | ||
buildForProfiling = "YES" | ||
buildForArchiving = "YES" | ||
buildForAnalyzing = "YES"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "588EB71B2995BC3A00C0163A" | ||
BuildableName = "ExampleSwift - SPM.app" | ||
BlueprintName = "ExampleSwift - SPM" | ||
ReferencedContainer = "container:ExampleSwift.xcodeproj"> | ||
</BuildableReference> | ||
</BuildActionEntry> | ||
</BuildActionEntries> | ||
</BuildAction> | ||
<TestAction | ||
buildConfiguration = "Debug" | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
shouldUseLaunchSchemeArgsEnv = "YES" | ||
shouldAutocreateTestPlan = "YES"> | ||
</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"> | ||
<BuildableProductRunnable | ||
runnableDebuggingMode = "0"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "588EB71B2995BC3A00C0163A" | ||
BuildableName = "ExampleSwift - SPM.app" | ||
BlueprintName = "ExampleSwift - SPM" | ||
ReferencedContainer = "container:ExampleSwift.xcodeproj"> | ||
</BuildableReference> | ||
</BuildableProductRunnable> | ||
</LaunchAction> | ||
<ProfileAction | ||
buildConfiguration = "Release" | ||
shouldUseLaunchSchemeArgsEnv = "YES" | ||
savedToolIdentifier = "" | ||
useCustomWorkingDirectory = "NO" | ||
debugDocumentVersioning = "YES"> | ||
<BuildableProductRunnable | ||
runnableDebuggingMode = "0"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "588EB71B2995BC3A00C0163A" | ||
BuildableName = "ExampleSwift - SPM.app" | ||
BlueprintName = "ExampleSwift - SPM" | ||
ReferencedContainer = "container:ExampleSwift.xcodeproj"> | ||
</BuildableReference> | ||
</BuildableProductRunnable> | ||
</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
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
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
23 changes: 0 additions & 23 deletions
23
ExampleSwift/ExampleSwift/attentive-ios-sdk-bridging-header.h
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
ExampleSwift/ExampleSwift/attentive-ios-sdk-local-bridging-header.h
This file was deleted.
Oops, something went wrong.
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 @@ | ||
{ | ||
"object": { | ||
"pins": [ | ||
{ | ||
"package": "ATTNSDKFramework", | ||
"repositoryURL": "https://github.com/attentive-mobile/attentive-ios-sdk", | ||
"state": { | ||
"branch": "rsmith/support-swift", | ||
"revision": "0bf29e1001e180c0b84fe8e2bd350de7232a8346", | ||
"version": null | ||
} | ||
} | ||
] | ||
}, | ||
"version": 1 | ||
} |
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.3 | ||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "ExampleSwift", | ||
platforms: [ | ||
.iOS(.v12) | ||
], | ||
products: [ | ||
.library( | ||
name: "ExampleSwift", | ||
targets: ["ExampleSwift"]), | ||
], | ||
dependencies: [ | ||
.package(url: "https://github.com/attentive-mobile/attentive-ios-sdk", .branch("rsmith/support-swift")) | ||
], | ||
targets: [ | ||
.target( | ||
name: "ExampleSwift", | ||
dependencies: [ | ||
.product(name: "ATTNSDKFramework", package: "attentive-ios-sdk")], | ||
path: "ExampleSwift" // Ensure this path exists and is correct | ||
), | ||
] | ||
) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,19 @@ | ||
// 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: "ATTNSDKFramework", | ||
platforms: [.iOS(.v12)], | ||
products: [ | ||
.library(name: "ATTNSDKFramework", targets: ["ATTNSDKFramework"]) | ||
|
||
], | ||
targets: [ | ||
.target( | ||
name: "ATTNSDKFramework", | ||
path: "Sources/" | ||
) | ||
] | ||
) |
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
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
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,18 @@ | ||
#import <Foundation/Foundation.h> | ||
|
||
FOUNDATION_EXPORT double ATTNSDKFrameworkVersionNumber; | ||
|
||
FOUNDATION_EXPORT const unsigned char ATTNSDKFrameworkVersionString[]; | ||
|
||
#import <../ATTNSDK.h> | ||
#import <../ATTNUserIdentity.h> | ||
#import <../ATTNEventTracker.h> | ||
#import <../ATTNItem.h> | ||
#import <../ATTNPrice.h> | ||
#import <../ATTNEvent.h> | ||
#import <../ATTNPurchaseEvent.h> | ||
#import <../ATTNProductViewEvent.h> | ||
#import <../ATTNAddToCartEvent.h> | ||
#import <../ATTNOrder.h> | ||
#import <../ATTNCart.h> | ||
#import <../ATTNCustomEvent.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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.