Required code signature missing for a library

前端 未结 10 901
眼角桃花
眼角桃花 2020-12-14 06:55

I am using Swift 3.0 in Xcode 8 and facing this error when running my app. I have used third party library SlideMenuController.

When I run my app I encounter this er

相关标签:
10条回答
  • 2020-12-14 07:23

    The following command in the Podfile helped me:

    post_install do |installer|
        installer.pods_project.build_configurations.each do |config|
            config.build_settings.delete('CODE_SIGNING_ALLOWED')
            config.build_settings.delete('CODE_SIGNING_REQUIRED')
        end
    end
    
    0 讨论(0)
  • 2020-12-14 07:25

    I've solved my issue with setting "ENABLE_BITCODE" to 0

    0 讨论(0)
  • 2020-12-14 07:27

    I am using the same library. Here is what I did to resolve the issue.

    Find the SlideMenuControllerSwift.framework in your project folder/pods folder in xCode. Go to its location in finder.

    Inside the framework you will find _CodeSignature folder. I had around 5 files in that _CodeSignature folder. Delete all except Code Resources file.

    Clean build project and run.

    0 讨论(0)
  • 2020-12-14 07:27

    Solved just by deleting the derived data and the app on the device. If that doesn't work try to toggle on/off the automatic signing.

    0 讨论(0)
  • 2020-12-14 07:31

    I had this error when creating my own framework and update it by Pods.

    I turn off Automatically manage signing and now it works good.

    Hope it help you!

    0 讨论(0)
  • 2020-12-14 07:34

    I resolved it by setting a profile underneath Build Setting-->Code Signing Identity in my Framework project. My embedded Framework (the other framework within my own framework) is added to the Copy Files section in Build Phase.

    hth!

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