Skip to content
This repository has been archived by the owner on Dec 18, 2022. It is now read-only.

Commit

Permalink
Mantle integration working
Browse files Browse the repository at this point in the history
  • Loading branch information
NSExceptional committed Oct 14, 2015
1 parent 533a127 commit f13cacb
Show file tree
Hide file tree
Showing 45 changed files with 2,241 additions and 2,205 deletions.
12 changes: 6 additions & 6 deletions Example/Podfile
Expand Up @@ -6,20 +6,20 @@ xcodeproj 'SnapchatKit-OSX/SnapchatKit-OSX.xcodeproj'
xcodeproj 'SnapchatKit.xcodeproj'

target 'SnapchatKit_Example', :exclusive => true do
# link_with 'SnapchatKit_Example', 'SnapchatKit_Tests'
platform :ios, '9.0'
link_with 'SnapchatKit_Example'

pod "SnapchatKit", :path => "../"
pod 'Mantle'
end

target 'SnapchatKit-OSX', :exclusive => true do
xcodeproj 'SnapchatKit-OSX/SnapchatKit-OSX.xcodeproj'
platform :osx, '10.8'
link_with 'SnapchatKit-OSX'
pod "SnapchatKit", :path => "../"
pod 'Mantle'

pod 'SnapchatKit', :path => '../'
end

target 'SnapchatKit_Tests', :exclusive => true do
pod "SnapchatKit", :path => "../"
pod 'Mantle'
pod 'SnapchatKit', :path => '../'
end
9 changes: 7 additions & 2 deletions Example/Pods/Local Podspecs/SnapchatKit.podspec.json 100644 → 100755

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4,345 changes: 2,195 additions & 2,150 deletions Example/Pods/Pods.xcodeproj/project.pbxproj 100644 → 100755

Large diffs are not rendered by default.

Empty file.
23 changes: 4 additions & 19 deletions Example/SnapchatKit-OSX/SnapchatKit-OSX.xcodeproj/project.pbxproj 100644 → 100755
Expand Up @@ -7,7 +7,7 @@
objects = {

/* Begin PBXBuildFile section */
AD42B37BDA17EA94CF99DED6 /* Pods_SnapchatKit_OSX.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F1E32E7687F7915C045BD510 /* Pods_SnapchatKit_OSX.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
AD42B37BDA17EA94CF99DED6 /* Pods_SnapchatKit_OSX.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F1E32E7687F7915C045BD510 /* Pods_SnapchatKit_OSX.framework */; };
B4D11BA91B90E3850012116A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = B4D11BA81B90E3850012116A /* main.m */; };
B4D11BB11B90E3B60012116A /* TBTimer.m in Sources */ = {isa = PBXBuildFile; fileRef = B4D11BB01B90E3B60012116A /* TBTimer.m */; };
/* End PBXBuildFile section */
Expand All @@ -26,7 +26,7 @@

/* Begin PBXFileReference section */
A3FE50062F493EF242FAFB51 /* Pods-SnapchatKit-OSX.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SnapchatKit-OSX.release.xcconfig"; path = "../Pods/Target Support Files/Pods-SnapchatKit-OSX/Pods-SnapchatKit-OSX.release.xcconfig"; sourceTree = "<group>"; };
B4CF268F1BC48BF100AAF1D0 /* Login.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Login.h; path = ../../../../../../Login.h; sourceTree = "<group>"; };
B4CF268F1BC48BF100AAF1D0 /* Login.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Login.h; path = ../../../../../Login.h; sourceTree = "<group>"; };
B4D11BA51B90E3850012116A /* SnapchatKit-OSX */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = "SnapchatKit-OSX"; sourceTree = BUILT_PRODUCTS_DIR; };
B4D11BA81B90E3850012116A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
B4D11BAF1B90E3B60012116A /* TBTimer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TBTimer.h; sourceTree = "<group>"; };
Expand Down Expand Up @@ -105,7 +105,6 @@
B4D11BA21B90E3850012116A /* Frameworks */,
B4D11BA31B90E3850012116A /* CopyFiles */,
A0C0DCCB6E4CF45EB5D4467B /* Copy Pods Resources */,
B4D11BB31B90FE370012116A /* Embed Pods Frameworks */,
);
buildRules = (
);
Expand Down Expand Up @@ -178,20 +177,6 @@
shellScript = "\"${SRCROOT}/../Pods/Target Support Files/Pods-SnapchatKit-OSX/Pods-SnapchatKit-OSX-resources.sh\"\n";
showEnvVarsInLog = 0;
};
B4D11BB31B90FE370012116A /* Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Embed Pods Frameworks";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/../Pods/Target Support Files/Pods-SnapchatKit-OSX/Pods-SnapchatKit-OSX-frameworks.sh\"";
};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
Expand Down Expand Up @@ -289,7 +274,7 @@
isa = XCBuildConfiguration;
baseConfigurationReference = C9C926AEFC7982E0D5A16B5B /* Pods-SnapchatKit-OSX.debug.xcconfig */;
buildSettings = {
LD_RUNPATH_SEARCH_PATHS = "$(inherited) '@loader_path/Frameworks' '@executable_path/../Frameworks'";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) '@loader_path/Frameworks' '@executable_path/../Frameworks' '@executable_path/Pods-SnapchatKit-OSX'";
ONLY_ACTIVE_ARCH = YES;
PRODUCT_NAME = "$(TARGET_NAME)";
};
Expand All @@ -299,7 +284,7 @@
isa = XCBuildConfiguration;
baseConfigurationReference = A3FE50062F493EF242FAFB51 /* Pods-SnapchatKit-OSX.release.xcconfig */;
buildSettings = {
LD_RUNPATH_SEARCH_PATHS = "$(inherited) '@loader_path/Frameworks' '@executable_path/../Frameworks'";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) '@loader_path/Frameworks' '@executable_path/../Frameworks' '@executable_path/Pods-SnapchatKit-OSX'";
ONLY_ACTIVE_ARCH = NO;
PRODUCT_NAME = "$(TARGET_NAME)";
};
Expand Down
2 changes: 1 addition & 1 deletion Example/SnapchatKit-OSX/SnapchatKit-OSX/main.m 100644 → 100755
Expand Up @@ -302,7 +302,7 @@ int main(int argc, const char * argv[]) {
// saveUnreadSnapsToDirectory(unread, directory);

// Mark snaps read
markSnapsRead(unread);
// markSnapsRead(unread);

// Mark chats read (not working)
// markChatsRead(session);
Expand Down

0 comments on commit f13cacb

Please sign in to comment.