Skip to content

Commit

Permalink
3.15.0 지원
Browse files Browse the repository at this point in the history
  • Loading branch information
jaemyeong committed Apr 28, 2022
1 parent 6950ba5 commit 6d90931
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 27 deletions.
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ let package = Package(
targets: [
.binaryTarget(
name: "NMapsMap",
url: "https://github.com/jaemyeong/NMapsMap-SPM/releases/download/3.14.2/NMapsMap.xcframework.zip",
checksum: "ac07d8bd04c259448a50a6f951f1b442367436782ae0dfc6e8d5ec3b5208dbc0"
url: "https://github.com/jaemyeong/NMapsMap-SPM/releases/download/3.15.0/NMapsMap.xcframework.zip",
checksum: "ceef4e430a1a3c7d99c4c7da7be7cd1b5b8fa75cb0f5d5935da5685f3b5d39c9"
)
]
)
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[NMapsMap](https://github.com/navermaps/NMapsMap) 비공식 스위프트 패키지입니다.

NMapsMap 3.14.2 버전을 기반으로 제작되었습니다.
NMapsMap 3.15.0 버전을 기반으로 제작되었습니다.


## Requirements
Expand All @@ -16,7 +16,7 @@ NMapsMap 3.14.2 버전을 기반으로 제작되었습니다.
### Swift Package Manager

```swift
.package(url: "https://github.com/jaemyeong/NMapsMap-SPM.git", .upToNextMajor(from: "3.14.2"))
.package(url: "https://github.com/jaemyeong/NMapsMap-SPM.git", .upToNextMajor(from: "3.15.0"))
```

## Usage
Expand Down
27 changes: 4 additions & 23 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,35 +2,16 @@

set -e

VERSION="release/3.14.2"
VERSION="release/3.15.0"

git clone --depth=1 --branch="${VERSION}" https://github.com/navermaps/NMapsMap.git

mkdir -p iphonesimulator

cp -R NMapsMap/framework/NMapsMap.framework iphonesimulator/

xcrun lipo -remove armv7 -remove arm64 iphonesimulator/NMapsMap.framework/NMapsMap -o iphonesimulator/NMapsMap.framework/NMapsMap

mkdir -p iphoneos

cp -R NMapsMap/framework/NMapsMap.framework iphoneos/

xcrun lipo -remove x86_64 -remove i386 iphoneos/NMapsMap.framework/NMapsMap -o iphoneos/NMapsMap.framework/NMapsMap

xcodebuild -create-xcframework \
-framework iphonesimulator/NMapsMap.framework \
-framework iphoneos/NMapsMap.framework \
-output NMapsMap.xcframework

rm -rf NMapsMap

rm -rf iphonesimulator

rm -rf iphoneos
mv NMapsMap/framework/NMapsMap.xcframework NMapsMap.xcframework

zip -r NMapsMap.xcframework.zip NMapsMap.xcframework

rm -rf NMapsMap.xcframework

rm -rf NMapsMap

swift package compute-checksum NMapsMap.xcframework.zip

0 comments on commit 6d90931

Please sign in to comment.