Alternative for all_load in XCode's Other Linker Flags

后端 未结 1 366
失恋的感觉
失恋的感觉 2021-01-06 06:20

I\'m adding Rdio to my iOS app and I\'m stuck on this part of the installation:

Add -all_load under Other Linker Flags in the project build info

<
相关标签:
1条回答
  • 2021-01-06 06:54

    force_load is exactly what you want - it allows you to load only that framework without messing with anything else. The problem is the exact syntax along with a few other unexpected tweaks to your settings.

    -force_load syntax

    Force load should be given the path to your object file, not the framework.

    -force_load $(SOURCE_ROOT)/AppName/libs/Rdio.framework/Versions/Current/Rdio
    

    Other Settings

    1. Remove Rdio.framework from the 'Link Binary with Libraries' build phase.
    2. Remove '/libs/Rdio.framework' from my LIBRARY_SEARCH_PATHS
    0 讨论(0)
提交回复
热议问题