Notice
Recent Posts
Recent Comments
Link
ยซ   2024/05   ยป
์ผ ์›” ํ™” ์ˆ˜ ๋ชฉ ๊ธˆ ํ† 
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Archives
Today
Total
๊ด€๋ฆฌ ๋ฉ”๋‰ด

lgvv98

[iOS] ๋‚ด๊ฐ€ ๋งŒ๋“  SPM์—์„œ No Such Module.. ๋ณธ๋ฌธ

iOSํ”„๋กœ์ ํŠธ/โ˜˜๏ธ Kuring

[iOS] ๋‚ด๊ฐ€ ๋งŒ๋“  SPM์—์„œ No Such Module..

๐Ÿฅ• ์บ๋Ÿฟ๋งจ 2022. 8. 24. 16:17

๋‚ด๊ฐ€ ๋งŒ๋“  SPM์—์„œ No Such Module

 

๋‚ด๊ฐ€ ๋งŒ๋“  SPM์— Snpakit์ด ๋“ค์–ด ์žˆ์—ˆ์Œ.

๊ทผ๋ฐ, Examples์„ ๋งŒ๋“œ๋Š”๋ฐ, SPM์ชฝ์—์„œ

์‘??

 

์ด ์—๋Ÿฌ๊ฐ€ ๋‚˜ํƒ€๋‚˜๋Š”๊ฑฐ์ž„.

// swift-tools-version: 5.6
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
    name: "kuring-campus-map-ios",
    platforms: [.iOS(.v14)],
    products: [
        // Products define the executables and libraries a package produces, and make them visible to other packages.
        .library(
            name: "kuring-campus-map-ios",
            targets: ["kuring-campus-map-ios"]),
        
    ],
    dependencies: [
        // Dependencies declare other packages that this package depends on.
         .package(url: "https://github.com/SnapKit/SnapKit", from: "5.6.0"),
    ],
    targets: [
        // Targets are the basic building blocks of a package. A target can define a module or a test suite.
        // Targets can depend on other targets in this package, and on products in packages this package depends on.
        .target(
            name: "kuring-campus-map-ios",
            dependencies: []),
    ]
)

๊ธฐ์กด์—๋Š” ์œ„์™€ ๊ฐ™์ด ์ž‘์„ฑํ–ˆ์—ˆ์Œ.

๋””ํŽœ๋˜์‹œ ๋ถ€๋ถ„๋งŒ ์—ฐ๊ฒฐํ•ด์ฃผ๋ฉด ๋˜๋Š”์ค„ ์•Œ์•˜๋Š”๋ฐ ์•„๋‹ˆ์˜€๋‹ค.

 

๐ŸŒฟ ํ•ด๊ฒฐ ๐ŸŒฟ

์šฐ์„  RxGesture๋กœ ๊ฐ€์„œ Package.swift ํŒŒ์ผ์„ ๋ณด๋ฉด์„œ ๋‚˜๋ž‘ ๋ญ๊ฐ€ ๋‹ค๋ฅธ์ง€ ์ฐพ์•„๋ด„.

https://github.com/RxSwiftCommunity/RxGesture/blob/main/Package.swift

 

GitHub - RxSwiftCommunity/RxGesture: RxSwift reactive wrapper for view gestures

RxSwift reactive wrapper for view gestures. Contribute to RxSwiftCommunity/RxGesture development by creating an account on GitHub.

github.com

RxGesture

 

ํƒ€๊ฒŸ๋ถ€๋ถ„์— ๋””ํŽœ๋˜์‹œ๊ฐ€ ์ถ”๊ฐ€๋กœ ๋” ๋“ค์–ด๊ฐ€์žˆ์—ˆ์Œ.

๊ทธ๋ž˜์„œ ๋‚˜๋„

์Šค๋ƒ…ํ‚ท ์ถ”๊ฐ€

 

์Šค๋ƒ…ํ‚ท์„ ์•„๋ž˜์— ๋ช…์‹œ์ ์œผ๋กœ ํ•œ๋ฒˆ ๋” ์ž‘์„ฑํ•ด์คŒ.

 

์ด๊ฑฐ ๋•Œ๋ฌธ์— ๊ฑฐ์˜ 12์‹œ๊ฐ„์„ ์žก์•„๋จน์—ˆ๋‹ค,, 

์—„์ฒญ๋‚œ ์‚ฝ์งˆ์˜ ๋Œ€์žฅ์ •์ด์—ˆ์ง€๋งŒ ๋ฟŒ๋“ฏํ•˜๋‹ค. ใ…Ž

Comments