Skip to content

warning: 'objectmapper': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target #1150

Open

Description

@parmar-mehul

Xcode Version 16.0 (16A242d)
MacOS 15.0 (24A335)

    .package(url: "https://github.com/tristanhimmelman/ObjectMapper.git", .upToNextMajor(from: "4.4.3")),
warning: 'objectmapper': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/m/Documents/sdk-ios/.build/checkouts/ObjectMapper/Sources/Resources/PrivacyInfo.xcprivacy
    /Users/m/Documents/sdk-ios/.build/checkouts/ObjectMapper/Sources/Info.plist

Activity

  1. parmar-mehul commented on Oct 22, 2024

    @parmar-mehul
    Author

    I am also getting same error, any updates team? @jdzak @jdzak @DulMephistos @DulMephistos @jk

    ObjectMapper Environment

    .package(url: "https://github.com/tristanhimmelman/ObjectMapper.git", branch: "master"),

    ObjectMapper Version: branch master
    Xcode Version:Version 16.0 (16A242d)
    Swift Version:5.10
    macOS Version Running Xcode:Mac-mini Apple M2 Pro with MacOS 15.0.1 (24A348)

    Terminal Warning while swift build

    mehuls-mac-mini:mobile-sdk-ios mehul$ swift build
    warning: 'alamofire': /Users/mehul/Documents/iOS/Projects/LLC/mobile-sdk-ios/.build/checkouts/Alamofire/Package.swift:28:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
    26 | import PackageDescription
    27 | 
    28 | let package = Package(name: "Alamofire",
       |               |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
       |               `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
    29 |                       platforms: [.macOS(.v10_13),
    30 |                                   .iOS(.v12),
    warning: 'objectmapper': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
        /Users/mehul/Documents/iOS/Projects/LLC/mobile-sdk-ios/.build/checkouts/ObjectMapper/Sources/Info.plist
        /Users/mehul/Documents/iOS/Projects/LLC/mobile-sdk-ios/.build/checkouts/ObjectMapper/Sources/Resources/PrivacyInfo.xcprivacy
    Building for debugging...
    [1/1] Write swift-version--58304C5D6DBC2206.txt
    Build complete! (2.48s)
    

    Screenshot 2024-10-22 at 6 51 05 PM

  2. parmar-mehul commented on Nov 11, 2024

    @parmar-mehul
    Author

    Hello, Do we have any updates?

  3. parmar-mehul commented on Nov 29, 2024

    @parmar-mehul
    Author

    @tristanhimmelman , Any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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