alebianco / ANE-Google-Analytics

Air Native Extension for Google Analytics on iOS and Android
http://alebianco.github.io/ANE-Google-Analytics/
MIT License
133 stars 44 forks source link

Crash on iOS 4.* Devices #4

Closed digitaljohn closed 12 years ago

digitaljohn commented 12 years ago

It appears the usage of ARC (Automatic Reference Counting) is an issue on iOS 4.* flavour devices.

Example Error:

<Notice>: dyld: lazy symbol binding failed: Symbol not found: _objc_retain

A potential quick fix on this site: Using ARC in native extensions

Any help greatly appreciated!

Regards:

DigitalJohn

alebianco commented 12 years ago

fixed the compatibility problem with iOS>4.3

still need to confirm is earlier versions works as expected

esp666 commented 12 years ago

Hello I had the same problem but with the new ane and swc I get this at compile time

Error occurred while packaging the application:

ld: library not found for -larclite_iphoneos Compilation failed while executing : ld64

alebianco commented 12 years ago

are you on OSX? do you have the iphone sdk 5.1 installed? which path?

esp666 commented 12 years ago

Win7, compilling flex project under flash builder 4.6, air 3.4

alebianco commented 12 years ago

I fear you really need an osx enviroment to compile the project using the extension. it's a requirement imposed by the way extensions for ios works.

only exception is you're targeting only an android build, in that case we can work out a solution ...

esp666 commented 12 years ago

It worked with your last version

alebianco commented 12 years ago

ok, that's strange :) i'm going to open a different issue and investigate the problem

esp666 commented 12 years ago

Ok, thanks. For information I use several ane for ios without any compilation problem.

alebianco commented 12 years ago

@esp666 check the other issue i opened and let me know if it's fixed for you. i tested on my machine and it seems to be working again