Skip to content

Build error with SPM on Azure devops #818

@devuzan

Description

@devuzan

Hi all,

I just implemented latest version of Rswift via SPM.
It works correctly on my local machine but I couldnt build on my azure devops platform.

It says that.

2023-03-21T10:12:16.5213040Z /Users/runner/Library/Developer/Xcode/DerivedData/AppName-drtnhsmapwemhbbldkbvogbtrcef/SourcePackages/checkouts/R.swift/Package.swift: error: Bundle identifier is missing. RswiftGeneratePublicResources doesn't have a bundle identifier. Add a value for PRODUCT_BUNDLE_IDENTIFIER in the build settings editor. (in target 'RswiftGeneratePublicResources' from project 'Rswift')
2023-03-21T10:12:16.5316730Z note: Run script build phase 'R.swift generate resources for application AppName' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'AppName' from project 'AppName')
2023-03-21T10:12:16.5419570Z note: Run script build phase 'R.swift generate resources for application AppName' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'AppName' from project 'AppName')
2023-03-21T10:12:16.5522780Z /Users/runner/Library/Developer/Xcode/DerivedData/AppName-drtnhsmapwemhbbldkbvogbtrcef/SourcePackages/checkouts/R.swift/Package.swift: error: Bundle identifier is missing. RswiftGenerateInternalResources doesn't have a bundle identifier. Add a value for PRODUCT_BUNDLE_IDENTIFIER in the build settings editor. (in target 'RswiftGenerateInternalResources' from project 'Rswift')
2023-03-21T10:12:16.5624950Z ** BUILD FAILED **
2023-03-21T10:12:16.5725890Z 
2023-03-21T10:12:16.5829220Z ##[debug]Exit code 65 received from tool '/usr/bin/xcodebuild'

Have you any recommandation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions