XCode - iOS: Can't resolve conflict between CocoaLibSpotify and Parse framework

前端 未结 1 820
慢半拍i
慢半拍i 2021-01-22 03:16

I have an XCode project that uses the Parse API, but I\'m now trying to integrate the cocoa touch wrapper for spotify. I\'m getting an extremely frustrating linker error that I\

1条回答
  •  说谎
    说谎 (楼主)
    2021-01-22 04:06

    1. Parse is linking to a Facebook SDK.
    2. The project you are using is attempting to build x86_64 (the simulator).
    3. The linker is trying to load symbols from Parse that use the Facebook SDK.

    I'm making a guess here, but are you doing -all_load for CocoaLibSpotify?

    See: Using the Parse iOS SDK without including the Facebook SDK


    after sending poor Zack on a fetch quest

    • Remove -ObjC and -all_load
    • Add -force_load to load only CocoaLibSpotify.

    0 讨论(0)
提交回复
热议问题