diff --git a/WebAppWrapper.xcodeproj/project.pbxproj b/WebAppWrapper.xcodeproj/project.pbxproj index e0ca435..a04523f 100644 --- a/WebAppWrapper.xcodeproj/project.pbxproj +++ b/WebAppWrapper.xcodeproj/project.pbxproj @@ -23,10 +23,12 @@ FA6856C3174D9916001C8F42 /* NavForward.png in Resources */ = {isa = PBXBuildFile; fileRef = FA6856BF174D9916001C8F42 /* NavForward.png */; }; FA6856C4174D9916001C8F42 /* NavForward@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = FA6856C0174D9916001C8F42 /* NavForward@2x.png */; }; FAD9B338175F6F9400F2DAEB /* MobileCoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FAD9B337175F6F9400F2DAEB /* MobileCoreServices.framework */; }; + FAD9B33A1760220E00F2DAEB /* icon@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = FAD9B3391760220E00F2DAEB /* icon@2x.png */; }; + FAD9B33C1760221200F2DAEB /* icon.png in Resources */ = {isa = PBXBuildFile; fileRef = FAD9B33B1760221200F2DAEB /* icon.png */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ - FA685664174CD862001C8F42 /* WebAppWrapper.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = WebAppWrapper.app; sourceTree = BUILT_PRODUCTS_DIR; }; + FA685664174CD862001C8F42 /* v2ex.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = v2ex.app; sourceTree = BUILT_PRODUCTS_DIR; }; FA685667174CD862001C8F42 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; FA685669174CD862001C8F42 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; FA68566B174CD862001C8F42 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; @@ -48,6 +50,8 @@ FA6856BF174D9916001C8F42 /* NavForward.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = NavForward.png; sourceTree = ""; }; FA6856C0174D9916001C8F42 /* NavForward@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "NavForward@2x.png"; sourceTree = ""; }; FAD9B337175F6F9400F2DAEB /* MobileCoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MobileCoreServices.framework; path = System/Library/Frameworks/MobileCoreServices.framework; sourceTree = SDKROOT; }; + FAD9B3391760220E00F2DAEB /* icon@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "icon@2x.png"; sourceTree = ""; }; + FAD9B33B1760221200F2DAEB /* icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = icon.png; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -68,6 +72,8 @@ FA68565B174CD862001C8F42 = { isa = PBXGroup; children = ( + FAD9B33B1760221200F2DAEB /* icon.png */, + FAD9B3391760220E00F2DAEB /* icon@2x.png */, FA68566D174CD862001C8F42 /* WebAppWrapper */, FA685666174CD862001C8F42 /* Frameworks */, FA685665174CD862001C8F42 /* Products */, @@ -77,7 +83,7 @@ FA685665174CD862001C8F42 /* Products */ = { isa = PBXGroup; children = ( - FA685664174CD862001C8F42 /* WebAppWrapper.app */, + FA685664174CD862001C8F42 /* v2ex.app */, ); name = Products; sourceTree = ""; @@ -160,9 +166,9 @@ /* End PBXGroup section */ /* Begin PBXNativeTarget section */ - FA685663174CD862001C8F42 /* WebAppWrapper */ = { + FA685663174CD862001C8F42 /* v2ex */ = { isa = PBXNativeTarget; - buildConfigurationList = FA685681174CD862001C8F42 /* Build configuration list for PBXNativeTarget "WebAppWrapper" */; + buildConfigurationList = FA685681174CD862001C8F42 /* Build configuration list for PBXNativeTarget "v2ex" */; buildPhases = ( FA685660174CD862001C8F42 /* Sources */, FA685661174CD862001C8F42 /* Frameworks */, @@ -172,9 +178,9 @@ ); dependencies = ( ); - name = WebAppWrapper; + name = v2ex; productName = WebAppWrapper; - productReference = FA685664174CD862001C8F42 /* WebAppWrapper.app */; + productReference = FA685664174CD862001C8F42 /* v2ex.app */; productType = "com.apple.product-type.application"; }; /* End PBXNativeTarget section */ @@ -198,7 +204,7 @@ projectDirPath = ""; projectRoot = ""; targets = ( - FA685663174CD862001C8F42 /* WebAppWrapper */, + FA685663174CD862001C8F42 /* v2ex */, ); }; /* End PBXProject section */ @@ -216,6 +222,8 @@ FA6856C2174D9916001C8F42 /* NavBack@2x.png in Resources */, FA6856C3174D9916001C8F42 /* NavForward.png in Resources */, FA6856C4174D9916001C8F42 /* NavForward@2x.png in Resources */, + FAD9B33A1760220E00F2DAEB /* icon@2x.png in Resources */, + FAD9B33C1760221200F2DAEB /* icon.png in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -317,10 +325,14 @@ FA685683174CD862001C8F42 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { + CODE_SIGN_IDENTITY = "iPhone Distribution"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution"; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "WebAppWrapper/WebAppWrapper-Prefix.pch"; INFOPLIST_FILE = "WebAppWrapper/WebAppWrapper-Info.plist"; PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE = ""; + "PROVISIONING_PROFILE[sdk=iphoneos*]" = ""; WRAPPER_EXTENSION = app; }; name = Release; @@ -337,7 +349,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - FA685681174CD862001C8F42 /* Build configuration list for PBXNativeTarget "WebAppWrapper" */ = { + FA685681174CD862001C8F42 /* Build configuration list for PBXNativeTarget "v2ex" */ = { isa = XCConfigurationList; buildConfigurations = ( FA685682174CD862001C8F42 /* Debug */, diff --git a/WebAppWrapper/RootViewController.m b/WebAppWrapper/RootViewController.m index ba9abf0..20994e3 100644 --- a/WebAppWrapper/RootViewController.m +++ b/WebAppWrapper/RootViewController.m @@ -9,8 +9,8 @@ #import "RootViewController.h" #import "RWebViewController.h" -NSString * const kWebAppStartLink = @"http://yourwebapp.com/"; -NSString * const kWebAppHost = @"yourwebapp.com"; +NSString * const kWebAppStartLink = @"http://v2ex.com/"; +NSString * const kWebAppHost = @"v2ex.com"; NSUInteger const kWebAppMaxFailRefreshCount = 3; @interface RootViewController () diff --git a/WebAppWrapper/WebAppWrapper-Info.plist b/WebAppWrapper/WebAppWrapper-Info.plist index c237328..e6f055d 100644 --- a/WebAppWrapper/WebAppWrapper-Info.plist +++ b/WebAppWrapper/WebAppWrapper-Info.plist @@ -8,6 +8,19 @@ ${PRODUCT_NAME} CFBundleExecutable ${EXECUTABLE_NAME} + CFBundleIcons + + CFBundlePrimaryIcon + + CFBundleIconFiles + + icon@2x.png + icon.png + + UIPrerenderedIcon + + + CFBundleIdentifier com.seymourdev.${PRODUCT_NAME:rfc1034identifier} CFBundleInfoDictionaryVersion @@ -24,6 +37,8 @@ 1.0 LSRequiresIPhoneOS + UIPrerenderedIcon + UIRequiredDeviceCapabilities armv7 diff --git a/icon.png b/icon.png new file mode 100644 index 0000000..bb6a0bc Binary files /dev/null and b/icon.png differ diff --git a/icon@2x.png b/icon@2x.png new file mode 100644 index 0000000..01ef5c0 Binary files /dev/null and b/icon@2x.png differ pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy