Xcode Build for UI Testing Step fails appending xctrunner in bundle id - xcode 12

Bitrise Build Issue Report template

Description of the issue

xcode build fails after updated to xcode 12 + .

error :
error: Provisioning profile “Sample App Ad hoc UI Testing Development” has app ID “com.checkout.Checkout3DS-Sample-DebugUITests”, which does not match the bundle ID “com.checkout.Checkout3DS-Sample-DebugUITests.xctrunner”. (in target ‘3DS-Sample-App-DebugUITests’ from project ‘3ds2-sdk-ios’)
:x: error: Provisioning profile “Sample App Ad hoc UI Testing Development” doesn’t match the entitlements file’s value for the application-identifier entitlement. (in target ‘3DS-Sample-App-DebugUITests’ from project ‘3ds2-sdk-ios’)

Environment:

Bitrise , xcode 12 stack

If on Bitrise.io: which stack? If not on Bitrise.io: on what operating system? (Plus any other information you can share)

Which build Step causes the issue and which version of the step?

Xcode build for test

Reproducibility

  • Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build) : NO
  • Does a rebuild without caches help? (You can remove the Cache:Pull and Cache:Push steps temporarily to not to use the cache, or you can delete all the caches on the Settings tab of the app. : NO
  • Does the issue happen sporadically, or every time? : Everytime when using xcode 12 so need to use only xcode 11
  • Does upgrading the build Step to the latest version help? : NO
  • When did the issue start? :

Local reproduction

_Can it be reproduced on your own Mac/PC by following our [local debug guide]No locally works fine, fails on bitrise

Local reproduction: Linux / Android (docker based) stack builds

Can it be reproduced by running the build locally, after doing a new git clone of the repository into the /tmp directory and running the build from there with the Bitrise CLI ( Bitrise CLI )? If no, can it be reproduced with Docker (using the same docker images / environment we use on bitrise.io)? Related guide: Redirecting… .

Build log

error: Provisioning profile “Sample App Ad hoc UI Testing Development” has app ID “com.checkout.Checkout3DS-Sample-DebugUITests”, which does not match the bundle ID “com.checkout.Checkout3DS-Sample-DebugUITests.xctrunner”. (in target ‘3DS-Sample-App-DebugUITests’ from project ‘3ds2-sdk-ios’)
:x: error: Provisioning profile “Sample App Ad hoc UI Testing Development” doesn’t match the entitlements file’s value for the application-identifier entitlement. (in target ‘3DS-Sample-App-DebugUITests’ from project ‘3ds2-sdk-ios’)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.