-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modularized architecture implemented iOS Sample app added macOs Sample app added tvOS Sample app added wathcOS Sample app added new auto data keys: tealium_event_type and app_uuid
- Loading branch information
Showing
192 changed files
with
14,354 additions
and
1,703 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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
*.xcuserstate | ||
*.xcbkptlist | ||
tealium/tealium_debug/Swifter |
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 @@ | ||
|
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 @@ | ||
3.0 |
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,22 @@ | ||
# Tealium Swift Library Builder | ||
|
||
This project is used to generate the .framework files for Carthage support. | ||
|
||
## Contact Us | ||
|
||
* If you have **code questions** or have experienced **errors** please post an issue in the [issues page](../../issues) | ||
* If you have **general questions** or want to network with other users please visit the [Tealium Learning Community](https://community.tealiumiq.com) | ||
* If you have **account specific questions** please contact your Tealium account manager | ||
|
||
|
||
## Change Log | ||
|
||
- 1.1.0 Initial Release | ||
|
||
## License | ||
|
||
Use of this software is subject to the terms and conditions of the license agreement contained in the file titled "LICENSE.txt". Please read the license before downloading or using any of the files contained in this repository. By downloading or using any of these files, you are agreeing to be bound by and comply with the license agreement. | ||
|
||
|
||
--- | ||
Copyright (C) 2012-2016, Tealium Inc. |
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,24 @@ | ||
<?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>CFBundleDevelopmentRegion</key> | ||
<string>en</string> | ||
<key>CFBundleExecutable</key> | ||
<string>$(EXECUTABLE_NAME)</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundleName</key> | ||
<string>$(PRODUCT_NAME)</string> | ||
<key>CFBundlePackageType</key> | ||
<string>FMWK</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>1.0</string> | ||
<key>CFBundleVersion</key> | ||
<string>$(CURRENT_PROJECT_VERSION)</string> | ||
<key>NSPrincipalClass</key> | ||
<string></string> | ||
</dict> | ||
</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,19 @@ | ||
// | ||
// TealiumSwift.h | ||
// TealiumSwift | ||
// | ||
// Created by Merritt Tidwell on 11/9/16. | ||
// Copyright © 2016 tealium. All rights reserved. | ||
// | ||
|
||
#import <UIKit/UIKit.h> | ||
|
||
//! Project version number for TealiumSwift. | ||
FOUNDATION_EXPORT double TealiumSwiftVersionNumber; | ||
|
||
//! Project version string for TealiumSwift. | ||
FOUNDATION_EXPORT const unsigned char TealiumSwiftVersionString[]; | ||
|
||
// In this header, you should import all the public headers of your framework using statements like #import <TealiumSwift/PublicHeader.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,102 @@ | ||
#!/bin/bash | ||
|
||
########################## | ||
# FUNCTIONS | ||
########################## | ||
function moduleFolderPaths { | ||
|
||
path=$1 | ||
|
||
for dir in $1/*/ | ||
do | ||
moduleFolderPath+=$dir | ||
printf "Directory found: %s\n" "$dir" | ||
done | ||
|
||
echo $moduleFolderPath | ||
} | ||
|
||
function copyModuleSourceFiles { | ||
|
||
sourcePath=$1 | ||
targetPath=$2 | ||
|
||
# Copy all files (recursively) to targetPath | ||
|
||
# TODO: | ||
|
||
} | ||
|
||
|
||
########################## | ||
# GET ARGS | ||
########################## | ||
while getopts ":m:o:s:t:" opt; do | ||
case $opt in | ||
m) modules+=("$OPTARG") | ||
;; | ||
o) output_filename="$OPTARG" | ||
;; | ||
s) source_path="$OPTARG" | ||
;; | ||
t) temp_path="$OPTARG" | ||
;; | ||
\?) echo "Invalid option -$OPTARG" | ||
;; | ||
esac | ||
done | ||
|
||
########################## | ||
# MISSING ARGS Check | ||
########################## | ||
if [ -z $modules ] | ||
then | ||
echo "No modules passed in, use -m command to assign" | ||
exit 1 | ||
fi | ||
|
||
if [ -z $output_filename ] | ||
then | ||
echo "No output filename passed in, use -o command to assign" | ||
exit 1 | ||
fi | ||
|
||
if [ -z $source_path ] | ||
then | ||
echo "No path for source files passed in, use -s command to assign" | ||
exit 1 | ||
fi | ||
|
||
if [ -z $temp_path ] | ||
then | ||
echo "No temp path for source copies passed in, use -t command to assign" | ||
exit 1 | ||
fi | ||
|
||
########################## | ||
# PRINT ARGS - Debug Check | ||
########################## | ||
for module in "${modules[@]}" | ||
do | ||
printf "Include module: %s\n" "${module}" | ||
done | ||
printf "Temp Path (copy to location for source files): %s\n" "$temp_path" | ||
printf "Source Path (root of module folders): %s\n" "$source_path" | ||
printf "Output Filename (name of output framework if applicable): %s\n" "$output_filename" | ||
|
||
|
||
########################## | ||
# MAIN | ||
########################## | ||
|
||
# Clear temp | ||
# Verify / add protections prior | ||
#echo "Clearing Temp folder..." | ||
#rm -rfv $temp_path/* | ||
|
||
# Copy all Module Source files to temp | ||
echo "Copying all source files to $temp_path" | ||
|
||
|
||
|
||
|
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,24 @@ | ||
<?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>CFBundleDevelopmentRegion</key> | ||
<string>en</string> | ||
<key>CFBundleExecutable</key> | ||
<string>$(EXECUTABLE_NAME)</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundleName</key> | ||
<string>$(PRODUCT_NAME)</string> | ||
<key>CFBundlePackageType</key> | ||
<string>FMWK</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>1.0</string> | ||
<key>CFBundleVersion</key> | ||
<string>$(CURRENT_PROJECT_VERSION)</string> | ||
<key>NSPrincipalClass</key> | ||
<string></string> | ||
</dict> | ||
</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,17 @@ | ||
// | ||
// ios.h | ||
// ios | ||
// | ||
// Created by Merritt Tidwell on 11/10/16. | ||
// Copyright © 2016 tealium. All rights reserved. | ||
// | ||
|
||
#import <UIKit/UIKit.h> | ||
|
||
//! Project version number for ios. | ||
FOUNDATION_EXPORT double iosVersionNumber; | ||
|
||
//! Project version string for ios. | ||
FOUNDATION_EXPORT const unsigned char iosVersionString[]; | ||
|
||
// In this header, you should import all the public headers of your framework using statements like #import <ios/PublicHeader.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,26 @@ | ||
<?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>CFBundleDevelopmentRegion</key> | ||
<string>en</string> | ||
<key>CFBundleExecutable</key> | ||
<string>$(EXECUTABLE_NAME)</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundleName</key> | ||
<string>$(PRODUCT_NAME)</string> | ||
<key>CFBundlePackageType</key> | ||
<string>FMWK</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>1.0</string> | ||
<key>CFBundleVersion</key> | ||
<string>$(CURRENT_PROJECT_VERSION)</string> | ||
<key>NSHumanReadableCopyright</key> | ||
<string>Copyright © 2016 tealium. All rights reserved.</string> | ||
<key>NSPrincipalClass</key> | ||
<string></string> | ||
</dict> | ||
</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,19 @@ | ||
// | ||
// macOS.h | ||
// macOS | ||
// | ||
// Created by Jason Koo on 12/2/16. | ||
// Copyright © 2016 tealium. All rights reserved. | ||
// | ||
|
||
#import <Cocoa/Cocoa.h> | ||
|
||
//! Project version number for macOS. | ||
FOUNDATION_EXPORT double macOSVersionNumber; | ||
|
||
//! Project version string for macOS. | ||
FOUNDATION_EXPORT const unsigned char macOSVersionString[]; | ||
|
||
// In this header, you should import all the public headers of your framework using statements like #import <macOS/PublicHeader.h> | ||
|
||
|
File renamed without changes.
File renamed without changes.
Oops, something went wrong.