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
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
Select slideMenuController.framework in project navigator, right click on it, an click show in Finder. Open _CodeSignature folder and delete all files except CodeResources.
Close Xcode, open Terminal and enter the following command
rm -rf ~/Library/Developer/Xcode/DerivedData
This will remove all derived data from xcode.
Open XCode, clean and run application. Hopefully, problem will be resolved.