Ok, so this time I solved this problem in my own way. As usual, the solution is simpler than ever thought.
The cause of the bugger ERROR ITMS-90171 error this time was the directive in the podspec file.
This: s.resource = 'MyPod/*'
I donβt know how I skipped this, but βMyPod / *β literally says, include everything in the MyPod directory, which in addition to graphic resources also contains * .swift files.
So, a little fix by changing this line to: s.resource = 'MyPod/Graphics.xcassets' fixed the problem. No ERROR ITMS-90171.
However, here we still need to deal with a workaround (proposed by @DimaVartanian) that corrects the code signing requirement for the frameworks provided by cocoapods.
The fix itself is to add this code to the base Subfile project:
post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = "" config.build_settings['CODE_SIGNING_REQUIRED'] = "NO" config.build_settings['CODE_SIGNING_ALLOWED'] = "NO" end end end
This will (after installing "pod install") through all pod targets in the project and remove the code signing requirement by changing some parameters, as you can see in the code.
There are rumors that this workaround will no longer be required after upgrading to Xcode 8. I have not found official confirmation of this, but I hope that this is true.
eye bleed
source share