Coder Social home page Coder Social logo

Comments (7)

Lukasa avatar Lukasa commented on June 12, 2024

Thanks for filing this. We've seen reports of this in some other packages, we'll take a look.

from swift-nio.

ximlu avatar ximlu commented on June 12, 2024

Could you please clarify what you mean in your previous message? It appears to be written in Chinese characters. If you can provide a translation or more context, I would be happy to assist you.

from swift-nio.

sjustfly avatar sjustfly commented on June 12, 2024

@Lukasa I also encountered the same problem. Is there any solution

from swift-nio.

colbrew avatar colbrew commented on June 12, 2024

We are getting something similiar in our CI pipeline:

invalid character in Bundle Identifier. This string must be a uniform type identifier (UTI) that 
contains only alphanumeric (A-Z,a-z,0-9), hyphen (-), and period (.) characters. 
(in target '_NIODataStructures' from project 'swift-nio')

invalid character in Bundle Identifier. This string must be a uniform type identifier (UTI) that 
contains only alphanumeric (A-Z,a-z,0-9), hyphen (-), and period (.) characters. 
(in target '_NIOBase64' from project 'swift-nio')

from swift-nio.

Lukasa avatar Lukasa commented on June 12, 2024

A quick update here: this appears to be related to Xcode's solving for the "diamond dependency problem". In some cases, Xcode will instruct SwiftPM to pull a package dependency out to a dynamic framework, instead of statically linking it. This will be done when it is necessary to avoid duplicate symbols appearing in your final product.

It looks like there is an Xcode bug where the resulting framework has an invalid bundle identifier. As this bundle identifier was generated by Xcode, this is fundamentally an Xcode issue. Can I ask you to file a report using Feedback Assistant?

We can also consider whether we should remove the underscores from the target names here, but you will find this across the package ecosystem. It's probably better that we don't play whack-a-mole with this, and instead get Xcode to understand that target names are not necessarily valid bundle identifiers.

from swift-nio.

colbrew avatar colbrew commented on June 12, 2024

Thanks for the update Cory. Agree this sounds like an Xcode bug, I will file a bug report. For our team this is just a "mucking up the logs" issue; thanks again for taking a look.

from swift-nio.

colbrew avatar colbrew commented on June 12, 2024

Submitted feedback - FB13704644

Demo of issue: https://github.com/colbrew/SwiftNIOBundleIDWarning

from swift-nio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.