From 4ea0ca456bfa92b7dd27b9688878de02f621d37e Mon Sep 17 00:00:00 2001 From: Ben Bahrenburg Date: Sat, 7 Feb 2015 15:24:50 +0800 Subject: [PATCH] updates --- Classes/BencodingSmsSMSDialogProxy.m | 12 +---- .../bencoding.sms-iphone-1.8.zip | Bin dist/bencoding.sms-iphone-1.8.1.zip | Bin dist/bencoding.sms-iphone-1.8.2.zip | Bin manifest | 7 +-- sms.xcodeproj/project.pbxproj | 49 +++++++----------- titanium.xcconfig | 4 +- 7 files changed, 28 insertions(+), 44 deletions(-) mode change 100644 => 100755 dist/Archive/UseIfDownloadingFromGithub/bencoding.sms-iphone-1.8.zip mode change 100644 => 100755 dist/bencoding.sms-iphone-1.8.1.zip mode change 100644 => 100755 dist/bencoding.sms-iphone-1.8.2.zip diff --git a/Classes/BencodingSmsSMSDialogProxy.m b/Classes/BencodingSmsSMSDialogProxy.m index bdbbe16..b9b63a8 100755 --- a/Classes/BencodingSmsSMSDialogProxy.m +++ b/Classes/BencodingSmsSMSDialogProxy.m @@ -211,8 +211,8 @@ - (void)messageComposeViewController:(MFMessageComposeViewController *)smsCompos //hide the dialog window (with animation) [[TiApp app] hideModalController:smsComposer animated:animated]; - [smsComposer autorelease]; - smsComposer = nil; + //[smsComposer autorelease]; + //smsComposer = nil; if (result == MessageComposeResultCancelled) @@ -243,14 +243,6 @@ - (void)messageComposeViewController:(MFMessageComposeViewController *)smsCompos [self fireEvent:eventName withObject:event]; } -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wdeprecated-declarations" - if ([smsComposer respondsToSelector:@selector(dismissModalViewControllerAnimated:)]) - { - - [smsComposer dismissModalViewControllerAnimated:YES]; - } -#pragma clang diagnostic pop [self release]; } diff --git a/dist/Archive/UseIfDownloadingFromGithub/bencoding.sms-iphone-1.8.zip b/dist/Archive/UseIfDownloadingFromGithub/bencoding.sms-iphone-1.8.zip old mode 100644 new mode 100755 diff --git a/dist/bencoding.sms-iphone-1.8.1.zip b/dist/bencoding.sms-iphone-1.8.1.zip old mode 100644 new mode 100755 diff --git a/dist/bencoding.sms-iphone-1.8.2.zip b/dist/bencoding.sms-iphone-1.8.2.zip old mode 100644 new mode 100755 diff --git a/manifest b/manifest index ad58182..d446ba3 100755 --- a/manifest +++ b/manifest @@ -2,12 +2,13 @@ # this is your module manifest and used by Titanium # during compilation, packaging, distribution, etc. # -version: 1.8.2 +version: 1.9 apiversion: 2 +architectures: armv7 arm64 i386 x86_64 description: benCoding.SMS author: benCoding.com license: Please reference included license file -copyright: Copyright (c) 2012 by benCoding.Com +copyright: Copyright (c) 2015 by benCoding.Com # these should not be edited @@ -15,4 +16,4 @@ name: sms moduleid: bencoding.sms guid: dbf59987-eccb-4069-8a9c-39cb71baf5ca platform: iphone -minsdk: 3.1.1 +minsdk: 3.5.0.GA diff --git a/sms.xcodeproj/project.pbxproj b/sms.xcodeproj/project.pbxproj index fbfce5b..e9ced0e 100755 --- a/sms.xcodeproj/project.pbxproj +++ b/sms.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 45; + objectVersion = 46; objects = { /* Begin PBXAggregateTarget section */ @@ -159,8 +159,11 @@ /* Begin PBXProject section */ 0867D690FE84028FC02AAC07 /* Project object */ = { isa = PBXProject; + attributes = { + LastUpgradeCheck = 0610; + }; buildConfigurationList = 1DEB922208733DC00010E9CD /* Build configuration list for PBXProject "sms" */; - compatibilityVersion = "Xcode 3.1"; + compatibilityVersion = "Xcode 3.2"; developmentRegion = English; hasScannedForEncodings = 1; knownRegions = ( @@ -222,15 +225,8 @@ isa = XCBuildConfiguration; baseConfigurationReference = 24DD6D1B1134B66800162E58 /* titanium.xcconfig */; buildSettings = { - ARCHS = ( - armv6, - armv7, - ); - "ARCHS[sdk=iphoneos*]" = ( - armv6, - armv7, - ); - "ARCHS[sdk=iphonesimulator*]" = i386; + "ARCHS[sdk=iphoneos*]" = "$(ARCHS_STANDARD)"; + "ARCHS[sdk=iphonesimulator*]" = "$(ARCHS_STANDARD)"; CODE_SIGN_IDENTITY = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; DSTROOT = /tmp/BencodingSms.dst; @@ -239,6 +235,7 @@ GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = BencodingSms_Prefix.pch; GCC_PREPROCESSOR_DEFINITIONS = "TI_VERSION=$(TI_VERSION)"; + GCC_THUMB_SUPPORT = NO; GCC_TREAT_WARNINGS_AS_ERRORS = NO; GCC_VERSION = ""; GCC_WARN_ABOUT_RETURN_TYPE = NO; @@ -261,6 +258,7 @@ RUN_CLANG_STATIC_ANALYZER = NO; SDKROOT = iphoneos; USER_HEADER_SEARCH_PATHS = ""; + VALID_ARCHS = "$(ARCHS_STANDARD)"; }; name = Debug; }; @@ -269,21 +267,15 @@ baseConfigurationReference = 24DD6D1B1134B66800162E58 /* titanium.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - ARCHS = ( - armv6, - armv7, - ); - "ARCHS[sdk=iphoneos*]" = ( - armv6, - armv7, - ); - "ARCHS[sdk=iphonesimulator*]" = i386; + "ARCHS[sdk=iphoneos*]" = "$(ARCHS_STANDARD)"; + "ARCHS[sdk=iphonesimulator*]" = "$(ARCHS_STANDARD)"; DSTROOT = /tmp/BencodingSms.dst; GCC_C_LANGUAGE_STANDARD = c99; GCC_MODEL_TUNING = G5; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = BencodingSms_Prefix.pch; GCC_PREPROCESSOR_DEFINITIONS = "TI_VERSION=$(TI_VERSION)"; + GCC_THUMB_SUPPORT = NO; GCC_TREAT_WARNINGS_AS_ERRORS = NO; GCC_VERSION = ""; GCC_WARN_ABOUT_RETURN_TYPE = NO; @@ -302,6 +294,7 @@ RUN_CLANG_STATIC_ANALYZER = NO; SDKROOT = iphoneos; USER_HEADER_SEARCH_PATHS = ""; + VALID_ARCHS = "$(ARCHS_STANDARD)"; }; name = Release; }; @@ -309,10 +302,6 @@ isa = XCBuildConfiguration; baseConfigurationReference = 24DD6D1B1134B66800162E58 /* titanium.xcconfig */; buildSettings = { - ARCHS = ( - armv6, - armv7, - ); "ARCHS[sdk=iphoneos*]" = ( armv6, armv7, @@ -326,6 +315,7 @@ GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = BencodingSms_Prefix.pch; GCC_PREPROCESSOR_DEFINITIONS = "TI_VERSION=$(TI_VERSION)"; + GCC_THUMB_SUPPORT = NO; GCC_TREAT_WARNINGS_AS_ERRORS = NO; GCC_VERSION = ""; GCC_WARN_ABOUT_RETURN_TYPE = NO; @@ -337,6 +327,8 @@ GCC_WARN_UNUSED_VALUE = NO; GCC_WARN_UNUSED_VARIABLE = NO; INSTALL_PATH = /usr/local/lib; + IPHONEOS_DEPLOYMENT_TARGET = 7.1; + ONLY_ACTIVE_ARCH = YES; OTHER_CFLAGS = ( "-DDEBUG", "-DTI_POST_1_2", @@ -356,10 +348,6 @@ baseConfigurationReference = 24DD6D1B1134B66800162E58 /* titanium.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - ARCHS = ( - armv6, - armv7, - ); "ARCHS[sdk=iphoneos*]" = ( armv6, armv7, @@ -371,6 +359,7 @@ GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = BencodingSms_Prefix.pch; GCC_PREPROCESSOR_DEFINITIONS = "TI_VERSION=$(TI_VERSION)"; + GCC_THUMB_SUPPORT = NO; GCC_TREAT_WARNINGS_AS_ERRORS = NO; GCC_VERSION = ""; GCC_WARN_ABOUT_RETURN_TYPE = NO; @@ -382,7 +371,7 @@ GCC_WARN_UNUSED_VALUE = NO; GCC_WARN_UNUSED_VARIABLE = NO; INSTALL_PATH = /usr/local/lib; - IPHONEOS_DEPLOYMENT_TARGET = 4.0; + IPHONEOS_DEPLOYMENT_TARGET = 7.1; OTHER_CFLAGS = "-DTI_POST_1_2"; OTHER_LDFLAGS = "-ObjC"; PRODUCT_NAME = BencodingSms; @@ -399,6 +388,7 @@ COPY_PHASE_STRIP = NO; GCC_DYNAMIC_NO_PIC = NO; GCC_OPTIMIZATION_LEVEL = 0; + GCC_THUMB_SUPPORT = NO; PRODUCT_NAME = "Build & test"; }; name = Debug; @@ -410,6 +400,7 @@ COPY_PHASE_STRIP = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; GCC_ENABLE_FIX_AND_CONTINUE = NO; + GCC_THUMB_SUPPORT = NO; PRODUCT_NAME = "Build & test"; ZERO_LINK = NO; }; diff --git a/titanium.xcconfig b/titanium.xcconfig index f4c64e5..b582695 100755 --- a/titanium.xcconfig +++ b/titanium.xcconfig @@ -4,13 +4,13 @@ // OF YOUR TITANIUM SDK YOU'RE BUILDING FOR // // -TITANIUM_SDK_VERSION = 3.1.1.GA +TITANIUM_SDK_VERSION = 3.5.0.GA // // THESE SHOULD BE OK GENERALLY AS-IS // -TITANIUM_SDK = /Users/benjamin/Library/Application Support/Titanium/mobilesdk/osx/$(TITANIUM_SDK_VERSION) +TITANIUM_SDK = ~/Library/Application Support/Titanium/mobilesdk/osx/$(TITANIUM_SDK_VERSION) TITANIUM_BASE_SDK = "$(TITANIUM_SDK)/iphone/include" TITANIUM_BASE_SDK2 = "$(TITANIUM_SDK)/iphone/include/TiCore" TITANIUM_BASE_SDK3 = "$(TITANIUM_SDK)/iphone/Classes"