Commit e9bbd09
committed
Adding build script to update the Package.swift file
Creating update_swift_package.sh. This script relies on the OneSignal-XCFramework repo being in the same location as the OneSignal-iOS-SDK repo. The script zips the XCFramework in the OneSignal-iOS-SDK, computes its checksum (your command line must be using Swift tools 5.3 or later which comes with Xcode 12), writes the new checksum to the Package.swift file, then prompts for the new SDK version and updates the Package.swift file with the new version number. The zipped framework can then be dragged into the GitHub repo as a release asset1 parent 7316e68 commit e9bbd09
File tree
3 files changed
+46
-2
lines changed- .swiftpm/xcode/package.xcworkspace/xcuserdata/elliotmawby.xcuserdatad
3 files changed
+46
-2
lines changedBinary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 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 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
0 commit comments