I want to test my application in iPhone 5s. and it have latest ios version. so, I have deleted old Xcode V 7.0.1 and install a new version v 7.2.
After installing v 7.2 I am getting below error.
CodeSign error: code signing is required for product type 'Unit Test Bundle' in SDK 'iOS 9.2'
I have check this question code-signing-is-required-for-product-type-unit-test-bundle-in-sdk-ios-8-0 and try all the answers but still I am getting this problem.
I have proper set build target in general as well as info tab. even I am not getting code signin error to fix the issue. but still not able to run application in my testing device.
Code signing also set correctly.
Also deleted Test Project from my Application.
I found solution for that work for me. in the left panel, go under projectNameTests then in signing choose any development team that has license in ios.
Actually for every iOS app there will be two targets 1.app target 2.test target. Code signing is required for both targets.In our case,code signing is not set for test target , so click 'app_name'tests under TARGETS section and provide same code siging details as given for app target
Change the target on left top to appNameTests and set signing section accordingly. Now signing error should go.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With