Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
parmar-mehul opened this issue Sep 24, 2024 · 3 comments

Comments

@parmar-mehul
Copy link

parmar-mehul commented Sep 24, 2024

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
@parmar-mehul
Copy link
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

@parmar-mehul
Copy link
Author

Hello, Do we have any updates?

@parmar-mehul
Copy link
Author

@tristanhimmelman , Any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant