iOS Build: Target not found: BlueprintIdentifier

ios

#1

Bitrise Build Issue Report template

Description of the issue

The build fails with target not found: [correct BlueprintIdentifier from scheme] in the Exporting ipa with ExportOptions.plist section. This error is not helpful to me. Where is the target not found? It is the correct BlueprintIdentifier as defined in xcscheme file.

Environment:

Where did the issue happen?

Bitrise: standard machine

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

Xcode Archive and Export

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? : every time
  • Does upgrading the build Step to the latest version help? : NO
  • When did the issue start? : once I added the target

Local reproduction

I can reproduce it locally

Build log

▸ Archive Succeeded

Archive infos:
team: ([REDACTED])
profile: Ad-hoc Staging DE (3492735a-0a15-45cd-8f26-a973e....)
export: ad-hoc
xcode managed profile: false

Exporting ipa from the archive...

Exporting ipa with ExportOptions.plist
No custom export options content provided, generating export options...
export-method specified: ad-hoc
target not found: [correct BlueprintIdentifier from scheme]

#2

Hello there! Could you please send us the url of this build? I would like to check the full logs for some more details! :upside_down_face:


#3

Thank you fehersanyi-bitrise


#4

could you try with v. 2.4.17 xcode archive?
and if that does not work, could you please send us the xcworkspace and the xcodeproj files?


#5

That build did fail too.

Here are our xcworkspace and the xcodeproj files
https://drive.google.com/file/d/1HYaIPaniGWdDRR5t2Qy2gioUje6I2ICM/view?usp=sharing


#6

are you using xcode 9.4 locally as well?
could it be that You are using v 10.0.0?


#7

yes, I am using 10.1 locally, now I tried 10.1 on bitrise too and it fails as well:


#8

Hello there!

Sorry for the late response!

Did you managed to solve it since?
if not, could you please send us the xcworkspace and xcodeproj files.
also is it a native iOS project or a React Native?