Coder Social home page Coder Social logo

ERROR ITMS-90685: CFBundleIdentifier Collision. There is more than one bundle with the CFBundleIdentifier value 'XXX' under the iOS application 'Y.app'. about fastlane HOT 2 OPEN

yoramboccia-IR avatar yoramboccia-IR commented on April 19, 2024
ERROR ITMS-90685: CFBundleIdentifier Collision. There is more than one bundle with the CFBundleIdentifier value 'XXX' under the iOS application 'Y.app'.

from fastlane.

Comments (2)

Maxim-Filimonov avatar Maxim-Filimonov commented on April 19, 2024 1

Having the same issue. Based on my investigation when update_code_signing_settings is called with bundle_id it would override bundle_id for all targets by default. That means that your extension bundle_id would change.

from fastlane.

hromovp avatar hromovp commented on April 19, 2024

In case someone stumbles upon this, as per Maxim-Filimonov comment, removing bundle_id from update_code_signing_settings and using targets instead helped me to resolve this. Here is part of my lane:

  ...
  # app
  update_code_signing_settings(
    path: project.xcodeproj,
    use_automatic_signing: false,
    team_id: TEAM_ID,
    build_configurations: project.build_configurations,
    code_sign_identity: project.code_sign_identity,
    profile_name: ENV[project.sign_profile_name],
    profile_uuid: ENV[project.sign_profile_type],
    targets: [project.target],
  )
  # extension
  update_code_signing_settings(
    path: project.xcodeproj,
    use_automatic_signing: false,
    team_id: TEAM_ID,
    build_configurations: project.build_configurations,
    code_sign_identity: project.code_sign_identity,
    profile_name: ENV[project.sign_extension_profile_name],
    profile_uuid: ENV[project.sign_extension_profile_type],
    targets: [project.extension_target],
  )

  gym(
    derived_data_path: project.derived_data,
    configuration: project.build_configurations,
    workspace: project.workspace,
    scheme: project.scheme,
    export_method: project.export_method,
    clean: true,
    include_bitcode: false,
    include_symbols: true,
    export_options: {
      manageAppVersionAndBuildNumber: false,
      compileBitcode: false,
      provisioningProfiles: {
        project.bundle => ENV[project.sign_profile_name],
        project.extension_service => ENV[project.sign_extension_profile_name],
      }
    },
  )
  ....

from fastlane.

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.