Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS AppUITests - Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.2'

I am developing an iOS app. When i am running Tests/UITests with Command + U from Xcode, Build is failed with the below error. All of my targets provisioning profiles and certificates are okey, except i put Don't Code Sign for AppUITests target. Is there any way to run full unit & ui tests without profiles, for example on simulator?

Error: Error

like image 779
Sazzad Hissain Khan Avatar asked Sep 17 '25 11:09

Sazzad Hissain Khan


1 Answers

To run uitest on real device, different profile is required to configure as uitest target runs on different process as different app.

For simulator, developer provisioning profile is ok. But if you want to run ui tests on real devices, you need separate developer provisioning profile.

like image 112
Sazzad Hissain Khan Avatar answered Sep 22 '25 23:09

Sazzad Hissain Khan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!