Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 378 Vote(s) - 3.48 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Required code signature missing for a library

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

[To see links please register here]

).

When I run my app I encounter this error again and again but didn't found any solution.

Deleting derived data works some time but not always.

> /Users/amsyt014/Library/Developer/CoreSimulator/Devices/8615687B-36F4-4367-9289-C265F3DABDD5/data/Containers/Bundle/Application/4794E2EF-863E-4836-A8E7-5A0F0ABA52E0/Shopaves.app/Frameworks/SlideMenuControllerSwift.framework/SlideMenuControllerSwift:
> required code signature missing for
> '/Users/amsyt014/Library/Developer/CoreSimulator/Devices/8615687B-36F4-4367-9289-C265F3DABDD5/data/Containers/Bundle/Application/4794E2EF-863E-4836-A8E7-5A0F0ABA52E0/Shopaves.app/Frameworks/SlideMenuControllerSwift.framework/SlideMenuControllerSwift'
Reply

#2
Just change the correct Xcode version you're currently running in Xcode preference / Locations.

![Please refer this image for your reference][1]


[1]:
Reply

#3
**Method 1**

Add following code to your pod file

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

**Method 2**

Perform following steps

1. Delete application from mobile or simulator (wherever you are facing this issue).
2. Select slideMenuController.framework in project navigator, right click on it, an click show in Finder. Open _CodeSignature folder and delete all files except CodeResources.

3. Close Xcode, open Terminal and enter the following command

rm -rf ~/Library/Developer/Xcode/DerivedData
This will remove all derived data from xcode.

4. Open XCode, clean and run application. Hopefully, problem will be resolved.

Reply

#4
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
Reply

#5
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.
Reply

#6
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!
Reply

#7
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!

Reply

#8
I had same issue with my mac10.12.5 & Xcode 9,
There seems to be issue with existing data at derived data location SO better just remove your derived data either by :

XCode>Prefrences>Locations>click on arrow at Derived Data location & delete it.

or either by writing this command on terminal: Make sure your xcode is in application or you mention your xcode location :


rm -rf ~/Library/Developer/Xcode/DerivedData

Now Open XCode, run application. Hopefully, problem will be resolved.
Good luck...

Reply

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

#10
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.
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through