Pixate / pixate-freestyle-ios

Pixate Freestyle for iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[SOLUTION] If you have problems with iOS 9 or you need Bitcode enabled

oscar-anton opened this issue · comments

Hi folks,

Like other people, i had several problems with PixateFreestyle framework when i upgraded to Xcode to 7 and Mac OS X El capitan.

After some days researching, i decided to compile my own version of PixateFreestyle framework in order to avoid this problems.

You have my version here: https://www.dropbox.com/s/9cz035h67y9x7fd/PixateFreestyle.framework.zip?dl=0

If you add this framework to your project, when you execute Simulator or create an archive with bitcode enabled all will works like a charm.

If you want to build your own PixateFreestyle framework from source code, follow this steps:

Regards.

It seems that main repo is no longer maintained, so I have created a fork where updated podspec to include source code instead of pre-compiled framework which allows to debug and use any custom build settings include bitcode and easy rebuilds with latest SDKs.

Please note that it was tested only with use_frameworks! in podfile

So another solution to the problem is to switch to the fork that includes all the latest fixes with:

pod 'PixateFreestyle', :git => "https://github.com/anton-matosov/pixate-freestyle-ios.git", :tag => '2.1.5'

to stay up-to-date with latest changes you can use:

pod 'PixateFreestyle', :git => "https://github.com/anton-matosov/pixate-freestyle-ios.git", :branch => 'master'

Can anyone confirm that Anton's solution works?

In this commit I have code that runs both implementations side by side anton-matosov@514db44
So you can verify solution on devices/simulators that don't crash.

@mmckinley8 : @anton-matosov 's forked repo workd for me in Simulator.

@anton-matosov : Why couldn't create issue in your fork ? Anyways I have few suggestion can you remove the dependency on CocoLumberjack and reduce the OS target dependency to 7.0 ?

CocoaLumberjack is part of original library, but it is just compiled into the library. This is causing conflicts if you use It in your project as well.

To reduce iOS version you can simply fork my repo and modify podspec file

@anton-matosov I tried adding below statement in my podfile:

pod 'PixateFreestyle', :git => "https://github.com/anton-matosov/pixate-freestyle-ios.git", :branch => 'master'

but on pod install I am getting below error messages:

[!] Unable to satisfy the following requirements:

- `PixateFreestyle (from `https://github.com/anton-matosov/pixate-freestyle-ios.git`, branch `master`)` required by `Podfile`
Specs satisfying the `PixateFreestyle (from `https://github.com/anton-matosov/pixate-freestyle-ios.git`, branch `master`)` dependency were found, but they required a higher minimum deployment target.

Any ideas?

My fork requires 8.1 as I was planning to use new API, but ended up creating separate derived project instead.
I will revert back to iOS 5 some time soon

@bishalg @Daemon-Devarshi I have reverted my fork to iOS 5.1 please let me know if it works for you now. Pod version is 2.1.7

pod 'PixateFreestyle', :git => "https://github.com/anton-matosov/pixate-freestyle-ios.git", :tag => '2.1.7'

I am very thankful for the fixes shared by you, thanks a ton 👍

Any specific reason why the PixateFreeStyle framework was crashing on iOS9?

It was crashing in iOS 9 x64 simulators only. It seems to be an issue with obj-c runtime implementation of respondsToSelector: for this platform for situation of the swizzled class pointer

@oscar-anton
@anton-matosov

I've just inherited a project that is going to require me to get things going on iOS10 ( maybe )

it's unclear to me how you guys were able to build the framework.
@oscar-anton - I read the post, but stopped when I saw that @anton-matosov had done some work on this

@anton-matosov - I pulled your fork, but it's unclear how to get things working. I tried dropping it into the Pods directory and executing the build_framework.sh but it's complaining.

any tips?

thanks,
chris

I have another derivative from freestyle called StylingKit.
Installation instructions are here https://github.com/StylingKit/StylingKit#installation

Integration is a bit different, but simpler and covered here https://github.com/StylingKit/StylingKit#integrating-with-your-app

I do not support my fork original of pixate