Permalink
Browse files

BUGFIX: ShareKit now builds again, after post Facebook merge target c…

…leanup
  • Loading branch information...
VilemKurz committed Nov 20, 2012
1 parent 7bd8268 commit 52cb63ed784532d0913a264f4a93843b95737392
Showing with 48 additions and 12 deletions.
  1. +20 −12 ShareKit.xcodeproj/project.pbxproj
  2. +15 −0 ShareKitLibrary/DummyLibFile.h
  3. +13 −0 ShareKitLibrary/DummyLibFile.m
@@ -150,8 +150,10 @@
7AC28F27165A21C2006D7441 /* libTumblr.a in Frameworks */ = {isa = PBXBuildFile; fileRef = AABBED86162F0C4D009D46E4 /* libTumblr.a */; };
7AC28F28165A21C2006D7441 /* libTwitter.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7A1AFD3A160E14340086B98A /* libTwitter.a */; };
7AC28F29165A21C2006D7441 /* libVKontakte.a in Frameworks */ = {isa = PBXBuildFile; fileRef = AABBED1B162F08A3009D46E4 /* libVKontakte.a */; };
7AC28F2C165A2539006D7441 /* libfacebook_ios_sdk.a in Frameworks */ = {isa = PBXBuildFile; fileRef = AA6C09F316122ED90023EE48 /* libfacebook_ios_sdk.a */; };
7AC2A3A116597F9C0089ABE8 /* SHKSinaWeibo.m in Sources */ = {isa = PBXBuildFile; fileRef = 7AC2A38D16597CCC0089ABE8 /* SHKSinaWeibo.m */; };
7AE8DC7C165B549B004D99D2 /* DummyLibFile.h in Headers */ = {isa = PBXBuildFile; fileRef = 7AE8DC7A165B549B004D99D2 /* DummyLibFile.h */; };
7AE8DC7D165B549B004D99D2 /* DummyLibFile.m in Sources */ = {isa = PBXBuildFile; fileRef = 7AE8DC7B165B549B004D99D2 /* DummyLibFile.m */; };
7AE8DC80165B5730004D99D2 /* libfacebook_ios_sdk.a in Frameworks */ = {isa = PBXBuildFile; fileRef = AA6C09F316122ED90023EE48 /* libfacebook_ios_sdk.a */; };
AABBECB8162F063F009D46E4 /* SHKPrint.m in Sources */ = {isa = PBXBuildFile; fileRef = BA465F1E14CC3C5A00B52394 /* SHKPrint.m */; };
AABBECC3162F0719009D46E4 /* SHKLogout.m in Sources */ = {isa = PBXBuildFile; fileRef = E68738BF1416795C00D8C3DD /* SHKLogout.m */; };
AABBECCC162F0756009D46E4 /* SHKCopy.m in Sources */ = {isa = PBXBuildFile; fileRef = 43A536B911DBE3B9004A1712 /* SHKCopy.m */; };
@@ -423,7 +425,7 @@
remoteGlobalIDString = 7AC2A38E16597F4C0089ABE8;
remoteInfo = "Sina Weibo";
};
7AC28F2A165A251E006D7441 /* PBXContainerItemProxy */ = {
7AE8DC7E165B5725004D99D2 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = AA6C09EA16122ED90023EE48 /* facebook-ios-sdk.xcodeproj */;
proxyType = 1;
@@ -682,6 +684,8 @@
7AC2A38C16597CCC0089ABE8 /* SHKSinaWeibo.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SHKSinaWeibo.h; sourceTree = "<group>"; };
7AC2A38D16597CCC0089ABE8 /* SHKSinaWeibo.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SHKSinaWeibo.m; sourceTree = "<group>"; };
7AC2A3A016597F4C0089ABE8 /* libSina Weibo.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libSina Weibo.a"; sourceTree = BUILT_PRODUCTS_DIR; };
7AE8DC7A165B549B004D99D2 /* DummyLibFile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DummyLibFile.h; path = ShareKitLibrary/DummyLibFile.h; sourceTree = "<group>"; };
7AE8DC7B165B549B004D99D2 /* DummyLibFile.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = DummyLibFile.m; path = ShareKitLibrary/DummyLibFile.m; sourceTree = "<group>"; };
7AF2523614F0499E00CE8709 /* JSONKit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSONKit.h; sourceTree = "<group>"; };
7AF2523714F0499E00CE8709 /* JSONKit.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JSONKit.m; sourceTree = "<group>"; };
7AF78BB114B71FD8008ACA5D /* SHKFormControllerLargeTextField.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SHKFormControllerLargeTextField.h; sourceTree = "<group>"; };
@@ -859,7 +863,6 @@
7AC28F0F165A21C2006D7441 /* libEvernote SDK.a in Frameworks */,
7AC28F10165A21C2006D7441 /* libEvernote.a in Frameworks */,
7AC28F11165A21C2006D7441 /* libFacebook.a in Frameworks */,
7AC28F2C165A2539006D7441 /* libfacebook_ios_sdk.a in Frameworks */,
7AC28F12165A21C2006D7441 /* libFlickr SDK.a in Frameworks */,
7AC28F13165A21C2006D7441 /* libFlickr.a in Frameworks */,
7AC28F14165A21C2006D7441 /* libFoursquareV2.a in Frameworks */,
@@ -996,6 +999,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
7AE8DC80165B5730004D99D2 /* libfacebook_ios_sdk.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -1735,6 +1739,8 @@
isa = PBXGroup;
children = (
7A288262155409CB007DC379 /* ShareKitLibrary-Prefix.pch */,
7AE8DC7A165B549B004D99D2 /* DummyLibFile.h */,
7AE8DC7B165B549B004D99D2 /* DummyLibFile.m */,
);
name = ShareKitLibrary;
sourceTree = "<group>";
@@ -1961,6 +1967,7 @@
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
7AE8DC7C165B549B004D99D2 /* DummyLibFile.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -2331,7 +2338,6 @@
7AC28EEE165A1EE7006D7441 /* PBXTargetDependency */,
7AC28EF0165A1EE7006D7441 /* PBXTargetDependency */,
7AC28EF2165A1EE7006D7441 /* PBXTargetDependency */,
7AC28F2B165A251E006D7441 /* PBXTargetDependency */,
7AC28EF4165A1EE7006D7441 /* PBXTargetDependency */,
7AC28EF6165A1EE7006D7441 /* PBXTargetDependency */,
7AC28EF8165A1EE7006D7441 /* PBXTargetDependency */,
@@ -2615,6 +2621,7 @@
buildRules = (
);
dependencies = (
7AE8DC7F165B5725004D99D2 /* PBXTargetDependency */,
);
name = Facebook;
productName = ShareKitLibrary;
@@ -3040,6 +3047,7 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
7AE8DC7D165B549B004D99D2 /* DummyLibFile.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -3415,10 +3423,10 @@
target = 7AC2A38E16597F4C0089ABE8 /* Sina Weibo */;
targetProxy = 7AC28F09165A1EE7006D7441 /* PBXContainerItemProxy */;
};
7AC28F2B165A251E006D7441 /* PBXTargetDependency */ = {
7AE8DC7F165B5725004D99D2 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
name = "facebook-ios-sdk";
targetProxy = 7AC28F2A165A251E006D7441 /* PBXContainerItemProxy */;
targetProxy = 7AE8DC7E165B5725004D99D2 /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
@@ -4019,7 +4027,7 @@
7AB534371552AADD00171BCE /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = YES;
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = (
armv6,
"$(ARCHS_STANDARD_32_BIT)",
@@ -4039,22 +4047,22 @@
GCC_THUMB_SUPPORT = NO;
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
GCC_WARN_UNINITIALIZED_AUTOS = YES;
HEADER_SEARCH_PATHS = "\"$(BUILT_PRODUCTS_DIR)/facebook-ios-sdk/\"";
HEADER_SEARCH_PATHS = "";
IPHONEOS_DEPLOYMENT_TARGET = 4.0;
OTHER_LDFLAGS = (
"-ObjC",
"-all_load",
);
PRODUCT_NAME = ShareKit;
SKIP_INSTALL = YES;
USER_HEADER_SEARCH_PATHS = "\"$(PROJECT_TEMP_DIR)/../UninstalledProducts/facebook-ios-sdk\"";
USER_HEADER_SEARCH_PATHS = "";
};
name = Debug;
};
7AB534381552AADD00171BCE /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = YES;
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = (
armv6,
"$(ARCHS_STANDARD_32_BIT)",
@@ -4067,15 +4075,15 @@
GCC_THUMB_SUPPORT = NO;
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
GCC_WARN_UNINITIALIZED_AUTOS = YES;
HEADER_SEARCH_PATHS = "\"$(BUILT_PRODUCTS_DIR)/facebook-ios-sdk/\"";
HEADER_SEARCH_PATHS = "";
IPHONEOS_DEPLOYMENT_TARGET = 4.0;
OTHER_LDFLAGS = (
"-ObjC",
"-all_load",
);
PRODUCT_NAME = ShareKit;
SKIP_INSTALL = YES;
USER_HEADER_SEARCH_PATHS = "\"$(PROJECT_TEMP_DIR)/../UninstalledProducts/facebook-ios-sdk\"";
USER_HEADER_SEARCH_PATHS = "";
VALIDATE_PRODUCT = YES;
};
name = Release;
@@ -0,0 +1,15 @@
//
// DummyLibFile.h
// ShareKit
//
// Created by Vilém Kurz on 11/20/12.
//
//
/* the only purpose of this file is to force "global" Static Library (libShareKit) to build. It seems, that it is not possible to build a static library without source files. libShareKit is aggregating all of the granular targets. Global static library is easy to implement, and adds a bonus when new sharers are added, all you need to do is pull, and you have them in your project. */
#import <Foundation/Foundation.h>
@interface DummyLibFile : NSObject
@end
@@ -0,0 +1,13 @@
//
// DummyLibFile.m
// ShareKit
//
// Created by Vilém Kurz on 11/20/12.
//
//
#import "DummyLibFile.h"
@implementation DummyLibFile
@end

0 comments on commit 52cb63e

Please sign in to comment.