RKObjectMapping.h Not Found

前端 未结 4 869
故里飘歌
故里飘歌 2020-12-23 16:38

I \"pod update\", and my RestKit version now is 0.25.0, my RKValueTransformers is 1.1.2, and an error appeared \"RKObjectMapping.h\" not found.

What did RestKit chan

4条回答
  •  礼貌的吻别
    2020-12-23 17:05

    After a while struggling, I noticed the error is not from RestKit. It comes from upgrading the latest version of cocoapods (0.39.beta.4).

    The Header Search Path is not in recursive mode anymore.

    The workaround is just downgrade the version of cocoapods to 0.38.0.

    1) remove the latest version of cocoapod

    sudo gem uninstall cocoapods
    

    2) install the 0.38.0 version

    sudo gem install cocoapods -v 0.38.0
    

    Hope can help someone.

    Updated:

    Thanks Vig that we can do pod with a specific version:

    pod _0.38.0_ update
    pod _0.38.0_ install
    

提交回复
热议问题