My project uses cocoapods to manager frameworks. The podfile contains the command line
use_frameworks!
One of my framework core depends on another framework UMCCommon. So core framework's podspec file has command line
s.dependency 'UMCCommon'
But the UMCCommon have a UMCCommen.framework file. Then I get an error likes below: 
If I add the line
s.static_framework = true
in core framework another error will appear:
If import the UMCCommon in podfile:
pod 'UMCCommon'
it will be successful. And the UMCCommon catalogue likes below: 
But I need import UMCCommon in core rather than import it in project podfile. How can I solve this problem.
from Why is it error when my framework contains .framework file

No comments:
Post a Comment