Skip to content

Commit

Permalink
Automatic updates (Implements #31)
Browse files Browse the repository at this point in the history
  • Loading branch information
insidegui committed May 2, 2015
1 parent 9f1e699 commit c3523ae
Show file tree
Hide file tree
Showing 12 changed files with 909 additions and 2 deletions.
Binary file modified Releases/WWDC_latest.zip
Binary file not shown.
342 changes: 342 additions & 0 deletions Updater/Updater.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,342 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {

/* Begin PBXBuildFile section */
DD89E9BF1AF425600073B845 /* Updater.h in Headers */ = {isa = PBXBuildFile; fileRef = DD89E9BE1AF4255F0073B845 /* Updater.h */; settings = {ATTRIBUTES = (Public, ); }; };
DD89E9E01AF425B10073B845 /* UDUpdater.h in Headers */ = {isa = PBXBuildFile; fileRef = DD89E9DE1AF425B10073B845 /* UDUpdater.h */; settings = {ATTRIBUTES = (Public, ); }; };
DD89E9E11AF425B10073B845 /* UDUpdater.m in Sources */ = {isa = PBXBuildFile; fileRef = DD89E9DF1AF425B10073B845 /* UDUpdater.m */; };
DD89E9EA1AF42B360073B845 /* UDRelease.h in Headers */ = {isa = PBXBuildFile; fileRef = DD89E9E81AF42B360073B845 /* UDRelease.h */; settings = {ATTRIBUTES = (Public, ); }; };
DD89E9EB1AF42B360073B845 /* UDRelease.m in Sources */ = {isa = PBXBuildFile; fileRef = DD89E9E91AF42B360073B845 /* UDRelease.m */; };
/* End PBXBuildFile section */

/* Begin PBXCopyFilesBuildPhase section */
DD89E9F01AF481F40073B845 /* CopyFiles */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 10;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
DD89E9B91AF4255F0073B845 /* Updater.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Updater.framework; sourceTree = BUILT_PRODUCTS_DIR; };
DD89E9BD1AF4255F0073B845 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
DD89E9BE1AF4255F0073B845 /* Updater.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Updater.h; sourceTree = "<group>"; };
DD89E9DE1AF425B10073B845 /* UDUpdater.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UDUpdater.h; sourceTree = "<group>"; };
DD89E9DF1AF425B10073B845 /* UDUpdater.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = UDUpdater.m; sourceTree = "<group>"; };
DD89E9E81AF42B360073B845 /* UDRelease.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UDRelease.h; sourceTree = "<group>"; };
DD89E9E91AF42B360073B845 /* UDRelease.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = UDRelease.m; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
DD89E9B51AF4255F0073B845 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
DD89E9AF1AF4255F0073B845 = {
isa = PBXGroup;
children = (
DD89E9BB1AF4255F0073B845 /* Updater */,
DD89E9BA1AF4255F0073B845 /* Products */,
);
sourceTree = "<group>";
};
DD89E9BA1AF4255F0073B845 /* Products */ = {
isa = PBXGroup;
children = (
DD89E9B91AF4255F0073B845 /* Updater.framework */,
);
name = Products;
sourceTree = "<group>";
};
DD89E9BB1AF4255F0073B845 /* Updater */ = {
isa = PBXGroup;
children = (
DD89E9BE1AF4255F0073B845 /* Updater.h */,
DD89E9BC1AF4255F0073B845 /* Supporting Files */,
DD89E9DE1AF425B10073B845 /* UDUpdater.h */,
DD89E9DF1AF425B10073B845 /* UDUpdater.m */,
DD89E9E81AF42B360073B845 /* UDRelease.h */,
DD89E9E91AF42B360073B845 /* UDRelease.m */,
);
path = Updater;
sourceTree = "<group>";
};
DD89E9BC1AF4255F0073B845 /* Supporting Files */ = {
isa = PBXGroup;
children = (
DD89E9BD1AF4255F0073B845 /* Info.plist */,
);
name = "Supporting Files";
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXHeadersBuildPhase section */
DD89E9B61AF4255F0073B845 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
DD89E9BF1AF425600073B845 /* Updater.h in Headers */,
DD89E9EA1AF42B360073B845 /* UDRelease.h in Headers */,
DD89E9E01AF425B10073B845 /* UDUpdater.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */

/* Begin PBXNativeTarget section */
DD89E9B81AF4255F0073B845 /* Updater */ = {
isa = PBXNativeTarget;
buildConfigurationList = DD89E9CF1AF425600073B845 /* Build configuration list for PBXNativeTarget "Updater" */;
buildPhases = (
DD89E9B41AF4255F0073B845 /* Sources */,
DD89E9B51AF4255F0073B845 /* Frameworks */,
DD89E9B61AF4255F0073B845 /* Headers */,
DD89E9B71AF4255F0073B845 /* Resources */,
DD89E9F01AF481F40073B845 /* CopyFiles */,
);
buildRules = (
);
dependencies = (
);
name = Updater;
productName = Updater;
productReference = DD89E9B91AF4255F0073B845 /* Updater.framework */;
productType = "com.apple.product-type.framework";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
DD89E9B01AF4255F0073B845 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0630;
ORGANIZATIONNAME = "Guilherme Rambo";
TargetAttributes = {
DD89E9B81AF4255F0073B845 = {
CreatedOnToolsVersion = 6.3.1;
};
};
};
buildConfigurationList = DD89E9B31AF4255F0073B845 /* Build configuration list for PBXProject "Updater" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
);
mainGroup = DD89E9AF1AF4255F0073B845;
productRefGroup = DD89E9BA1AF4255F0073B845 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
DD89E9B81AF4255F0073B845 /* Updater */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
DD89E9B71AF4255F0073B845 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
DD89E9B41AF4255F0073B845 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
DD89E9EB1AF42B360073B845 /* UDRelease.m in Sources */,
DD89E9E11AF425B10073B845 /* UDUpdater.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin XCBuildConfiguration section */
DD89E9CD1AF425600073B845 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.10;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Debug;
};
DD89E9CE1AF425600073B845 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.10;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = macosx;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Release;
};
DD89E9D01AF425600073B845 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
COMBINE_HIDPI_IMAGES = YES;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Updater",
);
FRAMEWORK_VERSION = A;
HEADER_SEARCH_PATHS = (
"$(inherited)",
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
);
INFOPLIST_FILE = Updater/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Updater/vendor",
);
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
};
name = Debug;
};
DD89E9D11AF425600073B845 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
COMBINE_HIDPI_IMAGES = YES;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Updater",
);
FRAMEWORK_VERSION = A;
HEADER_SEARCH_PATHS = (
"$(inherited)",
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
);
INFOPLIST_FILE = Updater/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Updater/vendor",
);
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
DD89E9B31AF4255F0073B845 /* Build configuration list for PBXProject "Updater" */ = {
isa = XCConfigurationList;
buildConfigurations = (
DD89E9CD1AF425600073B845 /* Debug */,
DD89E9CE1AF425600073B845 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
DD89E9CF1AF425600073B845 /* Build configuration list for PBXNativeTarget "Updater" */ = {
isa = XCConfigurationList;
buildConfigurations = (
DD89E9D01AF425600073B845 /* Debug */,
DD89E9D11AF425600073B845 /* Release */,
);
defaultConfigurationIsVisible = 0;
};
/* End XCConfigurationList section */
};
rootObject = DD89E9B01AF4255F0073B845 /* Project object */;
}
28 changes: 28 additions & 0 deletions Updater/Updater/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>br.com.guilhermerambo.$(PRODUCT_NAME:rfc1034identifier)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2015 Guilherme Rambo. All rights reserved.</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>
Loading

0 comments on commit c3523ae

Please sign in to comment.