Permalink
Browse files

Libraries + Project settings

  • Loading branch information...
x2on committed Feb 1, 2011
1 parent de73e16 commit 51ddf31b7a6cc89bd7ffadbccf5bd8da8476bd5b
@@ -19,6 +19,8 @@
#import "libssh2_for_iOSAppDelegate.h"
+#import "libssh2/libssh2.h"
+
@implementation libssh2_for_iOSAppDelegate
@synthesize window;
@@ -13,8 +13,13 @@
288765FD0DF74451002DB57D /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 288765FC0DF74451002DB57D /* CoreGraphics.framework */; };
2A3B48BC12F897D600F428E7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 2A3B48BB12F897D600F428E7 /* main.m */; };
2A3B48BE12F897E000F428E7 /* MainWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 2A3B48BD12F897E000F428E7 /* MainWindow.xib */; };
- 2A3B48C012F897EA00F428E7 /* libssh2_for_iOS-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 2A3B48BF12F897EA00F428E7 /* libssh2_for_iOS-Info.plist */; };
2AB446D812F8A424006B0090 /* Icon.png in Resources */ = {isa = PBXBuildFile; fileRef = 2AB446D712F8A424006B0090 /* Icon.png */; };
+ 2AB446EA12F8A588006B0090 /* libcrypto.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2AB446E512F8A588006B0090 /* libcrypto.a */; };
+ 2AB446EB12F8A588006B0090 /* libgcrypt.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2AB446E612F8A588006B0090 /* libgcrypt.a */; };
+ 2AB446EC12F8A588006B0090 /* libgpg-error.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2AB446E712F8A588006B0090 /* libgpg-error.a */; };
+ 2AB446ED12F8A588006B0090 /* libssh2.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2AB446E812F8A588006B0090 /* libssh2.a */; };
+ 2AB446EE12F8A588006B0090 /* libssl.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2AB446E912F8A588006B0090 /* libssl.a */; };
+ 2AB4470112F8A5B5006B0090 /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 2AB4470012F8A5B5006B0090 /* libz.dylib */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
@@ -24,11 +29,17 @@
1D6058910D05DD3D006BFB54 /* libssh2-for-iOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "libssh2-for-iOS.app"; sourceTree = BUILT_PRODUCTS_DIR; };
1DF5F4DF0D08C38300B7A737 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
288765FC0DF74451002DB57D /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
- 2A3B48BA12F897D600F428E7 /* libssh2_for_iOS_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = libssh2_for_iOS_Prefix.pch; path = Classes/libssh2_for_iOS_Prefix.pch; sourceTree = "<group>"; };
2A3B48BB12F897D600F428E7 /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = Classes/main.m; sourceTree = "<group>"; };
2A3B48BD12F897E000F428E7 /* MainWindow.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = MainWindow.xib; path = Ressources/MainWindow.xib; sourceTree = "<group>"; };
- 2A3B48BF12F897EA00F428E7 /* libssh2_for_iOS-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = "libssh2_for_iOS-Info.plist"; path = "Ressources/libssh2_for_iOS-Info.plist"; sourceTree = "<group>"; };
2AB446D712F8A424006B0090 /* Icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = Icon.png; path = Ressources/Icon.png; sourceTree = "<group>"; };
+ 2AB446E512F8A588006B0090 /* libcrypto.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libcrypto.a; path = lib/libcrypto.a; sourceTree = "<group>"; };
+ 2AB446E612F8A588006B0090 /* libgcrypt.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libgcrypt.a; path = lib/libgcrypt.a; sourceTree = "<group>"; };
+ 2AB446E712F8A588006B0090 /* libgpg-error.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libgpg-error.a"; path = "lib/libgpg-error.a"; sourceTree = "<group>"; };
+ 2AB446E812F8A588006B0090 /* libssh2.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libssh2.a; path = lib/libssh2.a; sourceTree = "<group>"; };
+ 2AB446E912F8A588006B0090 /* libssl.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libssl.a; path = lib/libssl.a; sourceTree = "<group>"; };
+ 2AB446F312F8A5A3006B0090 /* libssh2_for_iOS-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "libssh2_for_iOS-Info.plist"; sourceTree = "<group>"; };
+ 2AB4470012F8A5B5006B0090 /* libz.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libz.dylib; path = usr/lib/libz.dylib; sourceTree = SDKROOT; };
+ 2AB4470612F8A5CC006B0090 /* libssh2_for_iOS_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = libssh2_for_iOS_Prefix.pch; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@@ -39,6 +50,12 @@
1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */,
1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */,
288765FD0DF74451002DB57D /* CoreGraphics.framework in Frameworks */,
+ 2AB446EA12F8A588006B0090 /* libcrypto.a in Frameworks */,
+ 2AB446EB12F8A588006B0090 /* libgcrypt.a in Frameworks */,
+ 2AB446EC12F8A588006B0090 /* libgpg-error.a in Frameworks */,
+ 2AB446ED12F8A588006B0090 /* libssh2.a in Frameworks */,
+ 2AB446EE12F8A588006B0090 /* libssl.a in Frameworks */,
+ 2AB4470112F8A5B5006B0090 /* libz.dylib in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -77,17 +94,17 @@
29B97315FDCFA39411CA2CEA /* Other Sources */ = {
isa = PBXGroup;
children = (
- 2A3B48BA12F897D600F428E7 /* libssh2_for_iOS_Prefix.pch */,
2A3B48BB12F897D600F428E7 /* main.m */,
+ 2AB4470612F8A5CC006B0090 /* libssh2_for_iOS_Prefix.pch */,
);
name = "Other Sources";
sourceTree = "<group>";
};
29B97317FDCFA39411CA2CEA /* Resources */ = {
isa = PBXGroup;
children = (
+ 2AB446F312F8A5A3006B0090 /* libssh2_for_iOS-Info.plist */,
2AB446D712F8A424006B0090 /* Icon.png */,
- 2A3B48BF12F897EA00F428E7 /* libssh2_for_iOS-Info.plist */,
2A3B48BD12F897E000F428E7 /* MainWindow.xib */,
);
name = Resources;
@@ -96,9 +113,15 @@
29B97323FDCFA39411CA2CEA /* Frameworks */ = {
isa = PBXGroup;
children = (
+ 2AB446E512F8A588006B0090 /* libcrypto.a */,
+ 2AB446E612F8A588006B0090 /* libgcrypt.a */,
+ 2AB446E712F8A588006B0090 /* libgpg-error.a */,
+ 2AB446E812F8A588006B0090 /* libssh2.a */,
+ 2AB446E912F8A588006B0090 /* libssl.a */,
1DF5F4DF0D08C38300B7A737 /* UIKit.framework */,
1D30AB110D05D00D00671497 /* Foundation.framework */,
288765FC0DF74451002DB57D /* CoreGraphics.framework */,
+ 2AB4470012F8A5B5006B0090 /* libz.dylib */,
);
name = Frameworks;
sourceTree = "<group>";
@@ -153,7 +176,6 @@
buildActionMask = 2147483647;
files = (
2A3B48BE12F897E000F428E7 /* MainWindow.xib in Resources */,
- 2A3B48C012F897EA00F428E7 /* libssh2_for_iOS-Info.plist in Resources */,
2AB446D812F8A424006B0090 /* Icon.png in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
@@ -183,6 +205,10 @@
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = libssh2_for_iOS_Prefix.pch;
INFOPLIST_FILE = "libssh2_for_iOS-Info.plist";
+ LIBRARY_SEARCH_PATHS = (
+ "$(inherited)",
+ "\"$(SRCROOT)/lib\"",
+ );
PRODUCT_NAME = "libssh2-for-iOS";
};
name = Debug;
@@ -195,6 +221,10 @@
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = libssh2_for_iOS_Prefix.pch;
INFOPLIST_FILE = "libssh2_for_iOS-Info.plist";
+ LIBRARY_SEARCH_PATHS = (
+ "$(inherited)",
+ "\"$(SRCROOT)/lib\"",
+ );
PRODUCT_NAME = "libssh2-for-iOS";
VALIDATE_PRODUCT = YES;
};
@@ -208,6 +238,7 @@
GCC_C_LANGUAGE_STANDARD = c99;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
+ HEADER_SEARCH_PATHS = "include/**";
PREBINDING = NO;
SDKROOT = iphoneos;
};
@@ -221,6 +252,7 @@
GCC_C_LANGUAGE_STANDARD = c99;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
+ HEADER_SEARCH_PATHS = "include/**";
OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
PREBINDING = NO;
SDKROOT = iphoneos;
@@ -13,7 +13,7 @@
<key>CFBundleIconFile</key>
<string></string>
<key>CFBundleIdentifier</key>
- <string>com.yourcompany.${PRODUCT_NAME:rfc1034identifier}</string>
+ <string>de.x2on.${PRODUCT_NAME:rfc1034identifier}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
File renamed without changes.

0 comments on commit 51ddf31

Please sign in to comment.