BranchMetrics / sdk-release

TUNE iOS, Android, and Windows native SDKs
https://developers.tune.com/sdk/quick-starts/
GNU General Public License v3.0
55 stars 46 forks source link

Bitcode support #14

Closed naluhh closed 8 years ago

naluhh commented 8 years ago

I can't compile because the framework does not support bitcode. Did I do something wrong?

TuneEvent.o)' was built without full bitcode

V3.14

harshal-hasoffers commented 8 years ago

As you can see here https://github.com/MobileAppTracking/sdk-release/blob/master/sdk-ios/Tune/MobileAppTracker.xcodeproj/project.pbxproj#L1504 the MAT SDK is already built with bitcode enabled.

How did you download the framework? using Cocoapods or from the TUNE dashboard? Do you have a sample app that we can try to repro the issue or a more detailed stack trace?

naluhh commented 8 years ago

I did use Cocoapods, but I also tried to add manually the framework with the same result. I downgraded to 3.12 and it works. I think it would be easy to make a sample app, create an app with apple watch support and use the measureEvent func.

harshal-hasoffers commented 8 years ago

We have fixed the issue by adding -fembed-bitcode to "Other C Flags" in the framework project. The next SDK release v3.14.1 will include this fix and should work fine with apps with bitcode enabled. Thanks for reporting the issue.