Skip to content
This repository has been archived by the owner on Oct 29, 2022. It is now read-only.

Commit

Permalink
fixed retrocompatibility issues on iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
alebianco committed Oct 2, 2012
1 parent 6181e9c commit 1b344e4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 26 deletions.
2 changes: 1 addition & 1 deletion build/extension.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?>
<extension xmlns="http://ns.adobe.com/air/extension/3.1">
<id>eu.alebianco.air.extensions.analytics.NativeGATracker</id>
<versionNumber>0.1.2</versionNumber>
<versionNumber>0.1.21</versionNumber>
<platforms>
<platform name="Android-ARM">
<applicationDeployment>
Expand Down
4 changes: 3 additions & 1 deletion build/platform-iphone.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
<platform xmlns="http://ns.adobe.com/air/extension/3.1">
<sdkVersion>5.1</sdkVersion>
<linkerOptions>
<option>-ios_version_min 4.2</option>
<option>-ios_version_min 4.0</option>
<option>-lsqlite3</option>
<option>-L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/arc</option>
<option>-larclite_iphoneos</option>
</linkerOptions>
</platform>
32 changes: 8 additions & 24 deletions source/ios/NativeGATracker.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -271,23 +271,16 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
CLANG_ENABLE_OBJC_ARC = YES;
COPY_PHASE_STRIP = NO;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_OPTIMIZATION_LEVEL = 0;
CLANG_WARN_OBJCPP_ARC_ABI = YES;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 4.2;
ONLY_ACTIVE_ARCH = YES;
IPHONEOS_DEPLOYMENT_TARGET = 4.0;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
};
Expand All @@ -297,27 +290,22 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
CLANG_ENABLE_OBJC_ARC = YES;
COPY_PHASE_STRIP = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
CLANG_WARN_OBJCPP_ARC_ABI = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 4.2;
ONLY_ACTIVE_ARCH = YES;
IPHONEOS_DEPLOYMENT_TARGET = 4.0;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
};
name = Release;
};
D26BBCCC1507931400D3EEBB /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALTERNATE_PERMISSIONS_FILES = armv7;
CLANG_ENABLE_OBJC_ARC = YES;
CURRENT_PROJECT_VERSION = 1.21;
DSTROOT = /tmp/NativeGATracker.dst;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "NativeGATracker/GAExtension-Prefix.pch";
Expand All @@ -328,21 +316,19 @@
"\"$(SRCROOT)/../../SDKS/Analytics/Library\"",
"\"$(SRCROOT)/Libraries\"",
);
ONLY_ACTIVE_ARCH = YES;
OTHER_CODE_SIGN_FLAGS = armv7;
OTHER_LDFLAGS = "-ObjC";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
STRIPFLAGS = armv7;
VERSION_INFO_BUILDER = alebianco;
};
name = Debug;
};
D26BBCCD1507931400D3EEBB /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALTERNATE_PERMISSIONS_FILES = armv7;
CLANG_ENABLE_OBJC_ARC = YES;
CURRENT_PROJECT_VERSION = 1.21;
DSTROOT = /tmp/NativeGATracker.dst;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "NativeGATracker/GAExtension-Prefix.pch";
Expand All @@ -353,13 +339,11 @@
"\"$(SRCROOT)/../../SDKS/Analytics/Library\"",
"\"$(SRCROOT)/Libraries\"",
);
ONLY_ACTIVE_ARCH = YES;
OTHER_CODE_SIGN_FLAGS = armv7;
OTHER_LDFLAGS = "-ObjC";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
STRIPFLAGS = armv7;
VERSION_INFO_BUILDER = alebianco;
};
name = Release;
};
Expand Down

0 comments on commit 1b344e4

Please sign in to comment.