Estimote / iOS-Fleet-Management-SDK

Estimote Fleet Management SDK for iOS
https://developer.estimote.com
MIT License
1.18k stars 398 forks source link

Compile Framework with Bitcode #208

Closed justin-taylor closed 8 years ago

justin-taylor commented 8 years ago

The latest Xcode complains about EstimoteSDK.framework/EstimoteSDK(ESTBulkUpdater.o) not containing bitcode. Xcode suggests to rebuild the framework with bitcode enabled.

For now it is simple enough to disable bitcode in the project build settings.

heypiotr commented 8 years ago

The upcoming release of the SDK (should hit GitHub mid next week) will come with bitcode enabled.

StephenWilson commented 8 years ago

It still doesn't work...

error: bitcode_strip .../my_project/EstimoteSDK.framework/Versions/A/EstimoteSDK: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip exited with 1

heypiotr commented 8 years ago

I tried it with a few of my projects and I'm not getting any errors. Can you try with a fresh Xcode 7 project? Can you try cleaning the build folder of the project that gives you errors? Remember to change the "Enable bitcode" option back to "YES."

StephenWilson commented 8 years ago

OK, that worked fine in a new project. Looks like there's something else going on. Thanks anyway.

heypiotr commented 8 years ago

All right—once you figure out what was wrong, feel free to post it here for other to know (:

StephenWilson commented 8 years ago

My problem had nothing to do with the estimote sdk or bitcode. Xcode kindly ruined my project, I cloned again and made the exact same changes again which fixed it instantly. Yet another victory for the prankster genius that is Xcode.