Skip to content
This repository has been archived by the owner on Mar 24, 2018. It is now read-only.

Commit

Permalink
Restructure projects further to build demo in Xcode4 workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
Sixten Otto committed Jun 2, 2011
1 parent 7c05cfd commit 14363a8
Show file tree
Hide file tree
Showing 11 changed files with 127 additions and 173 deletions.
2 changes: 1 addition & 1 deletion Demo/Classes/DemoViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ - (void)viewDidAppear:(BOOL)animated {
[super viewDidAppear:animated];

if( !rdHasAppeared ) {
UIViewController* controller = [RDLinkedInAuthorizationController authorizationControllerWithEngine:rdEngine delegate:self];
RDLinkedInAuthorizationController* controller = [RDLinkedInAuthorizationController authorizationControllerWithEngine:rdEngine delegate:self];
if( controller ) {
[self presentModalViewController:controller animated:YES];
rdHasAppeared = YES;
Expand Down
76 changes: 16 additions & 60 deletions Demo/Demo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,10 @@
2899E5220DE3E06400AC0155 /* DemoViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 2899E5210DE3E06400AC0155 /* DemoViewController.xib */; };
28AD733F0D9D9553002E5188 /* MainWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 28AD733E0D9D9553002E5188 /* MainWindow.xib */; };
28D7ACF80DDB3853001CB0EB /* DemoViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 28D7ACF70DDB3853001CB0EB /* DemoViewController.m */; };
9CA009CD1163C2CE00C23370 /* libLinkedInClientLibrary.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 9CA009CC1163C2CB00C23370 /* libLinkedInClientLibrary.a */; };
9CA00A931163CCD500C23370 /* libxml2.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 9CA00A921163CCD500C23370 /* libxml2.dylib */; };
9CA40B9F1398052A00C8A2C3 /* libLinkedInClientLibrary.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 9CA40B9E1398052A00C8A2C3 /* libLinkedInClientLibrary.a */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
9CA009CB1163C2CB00C23370 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 9CA009C01163C2CB00C23370 /* LinkedInClientLibrary.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = D2AAC07E0554694100DB518D;
remoteInfo = LinkedInClientLibrary;
};
9CA009CE1163C30100C23370 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 9CA009C01163C2CB00C23370 /* LinkedInClientLibrary.xcodeproj */;
proxyType = 1;
remoteGlobalIDString = D2AAC07D0554694100DB518D;
remoteInfo = LinkedInClientLibrary;
};
/* End PBXContainerItemProxy section */

/* Begin PBXFileReference section */
1D30AB110D05D00D00671497 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
1D3623240D0F684500981E51 /* DemoAppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DemoAppDelegate.h; sourceTree = "<group>"; };
Expand All @@ -50,19 +33,19 @@
29B97316FDCFA39411CA2CEA /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
32CA4F630368D1EE00C91783 /* Demo_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Demo_Prefix.pch; sourceTree = "<group>"; };
8D1107310486CEB800E47090 /* Demo-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "Demo-Info.plist"; plistStructureDefinitionIdentifier = "com.apple.xcode.plist.structure-definition.iphone.info-plist"; sourceTree = "<group>"; };
9CA009C01163C2CB00C23370 /* LinkedInClientLibrary.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = LinkedInClientLibrary.xcodeproj; path = ../LinkedInClientLibrary/LinkedInClientLibrary.xcodeproj; sourceTree = SOURCE_ROOT; };
9CA00A921163CCD500C23370 /* libxml2.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libxml2.dylib; path = usr/lib/libxml2.dylib; sourceTree = SDKROOT; };
9CA40B9E1398052A00C8A2C3 /* libLinkedInClientLibrary.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libLinkedInClientLibrary.a; sourceTree = SOURCE_ROOT; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
1D60588F0D05DD3D006BFB54 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
9CA40B9F1398052A00C8A2C3 /* libLinkedInClientLibrary.a in Frameworks */,
1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */,
1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */,
288765A50DF7441C002DB57D /* CoreGraphics.framework in Frameworks */,
9CA009CD1163C2CE00C23370 /* libLinkedInClientLibrary.a in Frameworks */,
9CA00A931163CCD500C23370 /* libxml2.dylib in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -123,23 +106,15 @@
29B97323FDCFA39411CA2CEA /* Frameworks */ = {
isa = PBXGroup;
children = (
9CA009C01163C2CB00C23370 /* LinkedInClientLibrary.xcodeproj */,
1DF5F4DF0D08C38300B7A737 /* UIKit.framework */,
1D30AB110D05D00D00671497 /* Foundation.framework */,
288765A40DF7441C002DB57D /* CoreGraphics.framework */,
9CA00A921163CCD500C23370 /* libxml2.dylib */,
9CA40B9E1398052A00C8A2C3 /* libLinkedInClientLibrary.a */,
);
name = Frameworks;
sourceTree = "<group>";
};
9CA009C11163C2CB00C23370 /* Products */ = {
isa = PBXGroup;
children = (
9CA009CC1163C2CB00C23370 /* libLinkedInClientLibrary.a */,
);
name = Products;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
Expand All @@ -154,7 +129,6 @@
buildRules = (
);
dependencies = (
9CA009CF1163C30100C23370 /* PBXTargetDependency */,
);
name = Demo;
productName = Demo;
Expand All @@ -175,29 +149,13 @@
);
mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */;
projectDirPath = "";
projectReferences = (
{
ProductGroup = 9CA009C11163C2CB00C23370 /* Products */;
ProjectRef = 9CA009C01163C2CB00C23370 /* LinkedInClientLibrary.xcodeproj */;
},
);
projectRoot = "";
targets = (
1D6058900D05DD3D006BFB54 /* Demo */,
);
};
/* End PBXProject section */

/* Begin PBXReferenceProxy section */
9CA009CC1163C2CB00C23370 /* libLinkedInClientLibrary.a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
path = libLinkedInClientLibrary.a;
remoteRef = 9CA009CB1163C2CB00C23370 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
/* End PBXReferenceProxy section */

/* Begin PBXResourcesBuildPhase section */
1D60588D0D05DD3D006BFB54 /* Resources */ = {
isa = PBXResourcesBuildPhase;
Expand All @@ -223,28 +181,25 @@
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXTargetDependency section */
9CA009CF1163C30100C23370 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
name = LinkedInClientLibrary;
targetProxy = 9CA009CE1163C30100C23370 /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */

/* Begin XCBuildConfiguration section */
1D6058940D05DD3E006BFB54 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CODE_SIGN_IDENTITY = "iPhone Developer";
COPY_PHASE_STRIP = NO;
GCC_DYNAMIC_NO_PIC = NO;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = Demo_Prefix.pch;
HEADER_SEARCH_PATHS = "$(SRCROOT)/../OAuthConsumeriPhoneLib";
INFOPLIST_FILE = "Demo-Info.plist";
OTHER_LDFLAGS = "-all_load";
OTHER_LDFLAGS = (
"-all_load",
"-ObjC",
);
PRODUCT_NAME = Demo;
PROVISIONING_PROFILE = "";
USER_HEADER_SEARCH_PATHS = "$(SRCROOT)/../LinkedInClientLibrary";
};
name = Debug;
Expand All @@ -253,13 +208,18 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CODE_SIGN_IDENTITY = "iPhone Developer";
COPY_PHASE_STRIP = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = Demo_Prefix.pch;
HEADER_SEARCH_PATHS = "$(SRCROOT)/../OAuthConsumeriPhoneLib";
INFOPLIST_FILE = "Demo-Info.plist";
OTHER_LDFLAGS = "-all_load";
OTHER_LDFLAGS = (
"-all_load",
"-ObjC",
);
PRODUCT_NAME = Demo;
PROVISIONING_PROFILE = "";
USER_HEADER_SEARCH_PATHS = "$(SRCROOT)/../LinkedInClientLibrary";
};
name = Release;
Expand All @@ -268,12 +228,10 @@
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
GCC_C_LANGUAGE_STANDARD = c99;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 3.0;
PREBINDING = NO;
SDKROOT = iphoneos;
};
name = Debug;
Expand All @@ -282,12 +240,10 @@
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
GCC_C_LANGUAGE_STANDARD = c99;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 3.0;
PREBINDING = NO;
SDKROOT = iphoneos;
};
name = Release;
Expand Down
13 changes: 13 additions & 0 deletions Demo/Demo.xcworkspace/contents.xcworkspacedata

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

Loading

0 comments on commit 14363a8

Please sign in to comment.