Recent Changes

Thursday, January 2

  1. page iPhone_Dynamic_Library edited ... Right click Root and paste as child. Then: open open /Applications/Xcode.app/Contents/Dev…
    ...
    Right click Root and paste as child.
    Then:
    open
    open /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Xcode/Specifications/MacOSX\ Package\ Types.xcspec
    Search for Dynamic Library and copy the whole dictionary.
    open
    open /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Specifications/iPhoneOSPackageTypes.xcspec
    Right click Root and paste as child.
    (view changes)
    5:46 pm
  2. page iPhone_Dynamic_Library edited ... Search for Dynamic Library. Copy that whole dictionary. open /Applications/Xcode.app/Cont…
    ...
    Search for
    Dynamic Library. Copy that whole dictionary.
    open
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Specifications/iPhoneOSProductTypes.xcspec
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Specifications/iPhoneOSProductTypes.xcspec
    Right click Root and paste as child.
    Then:
    open
    open /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Xcode/Specifications/MacOSX\ Package\ Types.xcspec
    Search for Dynamic Library and copy the whole dictionary.
    open
    open /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Specifications/iPhoneOSPackageTypes.xcspec
    Right click Root and paste as child.
    (view changes)
    5:45 pm

Monday, December 30

  1. page iPhone_Dynamic_Library edited ... When XCode is installed it doesn't have the ability to create dynamic libraries using the iPho…
    ...
    When XCode is installed it doesn't have the ability to create dynamic libraries using the iPhone SDK. If you create a new Mac OS X Cocoa Dynamic Library project and then in project settings change the base SDK to Device - iPhone OS 2.2, when you build you will see the error:
    target specifies product type 'com.apple.product-type.library.dynamic', but there's no such product type for the 'iphoneos' platform
    ...
    fix this, add the below block of text to /Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Specifications/iPhoneOSProductTypes.xcspec
    Or
    first install Plist edit Pro then open terminal and type:
    sudo chmod -R 777 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Specifications/
    open /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Xcode/Specifications/MacOSX\ Product\ Types.xcspec
    Search
    for Xcode installed from Mac App Store the file is:
    Dynamic Library. Copy that whole dictionary.
    open

    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Specifications/iPhoneOSProductTypes.xcspec
    or I installed the old 4.4.1 at:
    /Applications/Xcode\ 4.4.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Specifications/iPhoneOSProductTypes.xcspec
    (Note: this is just taken from the Mac OS X SDK here /Developer/Platforms/MacOSX.platform/Developer/Library/Xcode/Specifications/)
    // Dynamic library
    { Type = ProductType;
    Identifier = com.apple.product-type.library.dynamic;
    Class = PBXDynamicLibraryProductType;
    Name = "Dynamic Library";
    Description = "Dynamic library";
    IconNamePrefix = "TargetPlugin";
    DefaultTargetName = "Dynamic Library";
    DefaultBuildProperties = {
    FULL_PRODUCT_NAME = "$(EXECUTABLE_NAME)";
    MACH_O_TYPE = "mh_dylib";
    REZ_EXECUTABLE = YES;
    EXECUTABLE_SUFFIX = ".$(EXECUTABLE_EXTENSION)";
    EXECUTABLE_EXTENSION = "dylib";
    PUBLIC_HEADERS_FOLDER_PATH = "/usr/local/include";
    PRIVATE_HEADERS_FOLDER_PATH = "/usr/local/include";
    INSTALL_PATH = "/usr/local/lib";
    DYLIB_INSTALL_NAME_BASE = "$(INSTALL_PATH)";
    LD_DYLIB_INSTALL_NAME = "$(DYLIB_INSTALL_NAME_BASE:standardizepath)/$(EXECUTABLE_PATH)";
    DYLIB_COMPATIBILITY_VERSION = "1";
    DYLIB_CURRENT_VERSION = "1";
    FRAMEWORK_FLAG_PREFIX = "-framework";
    LIBRARY_FLAG_PREFIX = "-l";
    LIBRARY_FLAG_NOSPACE = YES;
    STRIP_STYLE = "debugging";
    GCC_INLINES_ARE_PRIVATE_EXTERN = YES;
    CODE_SIGNING_ALLOWED = YES;
    };
    PackageTypes = (
    com.apple.package-type.mach-o-dylib // default
    );
    },
    Also add the below code block to /Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Specifications/iPhoneOSPackageTypes.xcspec
    or
    Right click Root and paste as child.
    Then:
    open
    open /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Xcode/Specifications/MacOSX\ Package\ Types.xcspec
    Search
    for Xcode installed from Mac App Store the file is:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Specifications/iPhoneOSPackageTypes.xcspec
    or I installed the old 4.4.1 at:
    /Applications/Xcode\ 4.4.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Specifications/iPhoneOSPackageTypes.xcspec
    // Mach-O dynamic library
    { Type = PackageType;
    Identifier = com.apple.package-type.mach-o-dylib;
    Name = "Mach-O
    Dynamic Library";
    Description = "Mach-O dynamic library";
    DefaultBuildSettings = {
    EXECUTABLE_PREFIX = "";
    EXECUTABLE_SUFFIX = "";
    EXECUTABLE_NAME = "$(EXECUTABLE_PREFIX)$(PRODUCT_NAME)$(EXECUTABLE_VARIANT_SUFFIX)$(EXECUTABLE_SUFFIX)";
    EXECUTABLE_PATH = "$(EXECUTABLE_NAME)";
    };
    ProductReference = {
    FileType = compiled.mach-o.dylib;
    Name = "$(EXECUTABLE_NAME)";
    IsLaunchable = NO;
    };
    },
    Look at
    Library and copy the other stuff in the files to see where towhole dictionary.
    open
    open /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Specifications/iPhoneOSPackageTypes.xcspec
    Right click Root and
    paste it. Make sure the array of entries is still valid and you haven’t pasted outside a bracket.as child.
    You will needhave to dorepeat this every
    ...
    install a newer version of the iPhone SDK. The chunks above are valid for the 2.2 SDK and are copied from the Mac OS X Platform versions of these xcspec files.new Xcode.
    (view changes)
    4:47 am

Wednesday, November 14

  1. page iPhone_Dynamic_Library edited ... Or for Xcode installed from Mac App Store the file is: /Applications/Xcode.app/Contents/Devel…
    ...
    Or for Xcode installed from Mac App Store the file is:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Specifications/iPhoneOSProductTypes.xcspec
    or I installed the old 4.4.1 at:
    /Applications/Xcode\ 4.4.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Specifications/iPhoneOSProductTypes.xcspec

    (Note: this is just taken from the Mac OS X SDK here /Developer/Platforms/MacOSX.platform/Developer/Library/Xcode/Specifications/)
    // Dynamic library
    ...
    or for Xcode installed from Mac App Store the file is:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Specifications/iPhoneOSPackageTypes.xcspec
    or I installed the old 4.4.1 at:
    /Applications/Xcode\ 4.4.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Specifications/iPhoneOSPackageTypes.xcspec

    // Mach-O dynamic library
    { Type = PackageType;
    (view changes)
    3:17 pm

Wednesday, May 9

  1. page iPhone_Dynamic_Library edited ... target specifies product type 'com.apple.product-type.library.dynamic', but there's no such pr…
    ...
    target specifies product type 'com.apple.product-type.library.dynamic', but there's no such product type for the 'iphoneos' platform
    To fix this, add the below block of text to /Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Specifications/iPhoneOSProductTypes.xcspec
    Or for Xcode installed from Mac App Store the file is:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Specifications/iPhoneOSProductTypes.xcspec

    (Note: this is just taken from the Mac OS X SDK here /Developer/Platforms/MacOSX.platform/Developer/Library/Xcode/Specifications/)
    // Dynamic library
    ...
    },
    Also add the below code block to /Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Specifications/iPhoneOSPackageTypes.xcspec
    or for Xcode installed from Mac App Store the file is:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Specifications/iPhoneOSPackageTypes.xcspec

    // Mach-O dynamic library
    { Type = PackageType;
    (view changes)
    1:30 pm

Tuesday, January 31

  1. page SSH edited ... The password is: alpine Automatic ssh to iphone copy ~.ssh/.pub file to /var/root/.ssh/aut…
    ...
    The password is:
    alpine
    Automatic ssh to iphone
    copy ~.ssh/.pub file to /var/root/.ssh/authorized_keys need to create the .ssh folder

    (view changes)
    12:42 pm

Saturday, April 23

  1. page home edited ... An easy interface for adding POST data to requests The ability to submit files on local drive…
    ...
    An easy interface for adding POST data to requests
    The ability to submit files on local drives as part of POST data, analogous to the HTML file input mechanism
    Automatic SSH/SCP LoginSSH to your iPhone without Passwordpassword
    (be sure and also do the commands in the first comment)

    Backgrounder
    Uses MobileSubstrate to give applications which have not been designed to run in the background the abillity to run in the background. For example you can use it to run AIM in the background. It can be installed via Cydia and enabled by holding the Home key for 2 seconds when in the application and a pop up displays that it is now active in the background. There is lots of intesting code demonstrating how to replace methods in apps and in the SpringBoard, and it also demonstrates how to communicate between applications using signals. Perhaps the most interesting thing it shows, is how to disable the SpringBoard watchdog that kills applications which do have the necessary code to run in the application. You see SpringBoard kills apps after 10 seconds if they don't quit when the Home key is pressed.
    (view changes)
    12:19 pm

Monday, October 5

  1. page MySQL edited /etc/mysql/my.cnf character-set-server = utf8 /etc/init.d/mysql restart
    /etc/mysql/my.cnf
    character-set-server = utf8
    /etc/init.d/mysql restart

    (view changes)
    9:15 am
  2. page MySQL edited /etc/mysql/my.cnf character-set-server = utf8
    /etc/mysql/my.cnf
    character-set-server = utf8

    (view changes)
    9:15 am
  3. page home edited ... SSH SFTP Server Notes MySQL XCode Topics How to enable XCode to build Dynamic Libraries…
    ...
    SSH
    SFTP
    Server Notes
    MySQL

    XCode Topics
    How to enable XCode to build Dynamic Libraries for the iPhone
    (view changes)
    9:14 am

More