File tree Expand file tree Collapse file tree 3 files changed +71
-1
lines changed Expand file tree Collapse file tree 3 files changed +71
-1
lines changed Original file line number Diff line number Diff line change
1
+
2
+ version : 2.1
3
+
4
+
5
+ orbs :
6
+ macos : circleci/macos@2.3.3
7
+
8
+
9
+ default-executor : &default-executor
10
+ macos :
11
+ xcode : 14.1.0
12
+ working_directory : ~/circle-ci
13
+
14
+
15
+ ios-simulator : &ios-simulator
16
+ version : " 16.1"
17
+ platform : " iOS"
18
+ device : " iPhone 14"
19
+
20
+
21
+ jobs :
22
+ build-test-ios :
23
+ << : *default-executor
24
+
25
+ steps :
26
+ - checkout
27
+ - macos/preboot-simulator :
28
+ << : *ios-simulator
29
+ - run :
30
+ name : Build target on iOS
31
+ command : xcodebuild build -scheme 'AmplifyUtilsNotifications' -sdk iphonesimulator -destination "id=${MACOS_ORB_DEVICE_UDID}"
32
+ - run :
33
+ name : Run unit tests
34
+ command : xcodebuild test -scheme 'AmplifyUtilsNotifications' -sdk iphonesimulator -destination "id=${MACOS_ORB_DEVICE_UDID}"
35
+
36
+ build-test-macos :
37
+ << : *default-executor
38
+
39
+ steps :
40
+ - checkout
41
+ - run :
42
+ name : Build target on macOS
43
+ command : xcodebuild build -scheme 'AmplifyUtilsNotifications' -sdk macosx -destination "platform=macOS"
44
+ - run :
45
+ name : Run unit tests
46
+ command : xcodebuild test -scheme 'AmplifyUtilsNotifications' -sdk macosx -destination "platform=macOS"
47
+
48
+
49
+ workflows :
50
+ test-ios :
51
+ jobs :
52
+ - build-test-ios
53
+ test-macos :
54
+ jobs :
55
+ - build-test-macos
Original file line number Diff line number Diff line change
1
+ # Swift Package Manager
2
+ .build /
3
+ ! .swiftpm /xcode /package.xcworkspace
4
+
5
+ # Xcode
6
+ # # User settings
7
+ xcuserdata /
8
+
9
+ # # Obj-C/Swift specific
10
+ * .hmap
11
+
12
+ # # App packaging
13
+ * .ipa
14
+ * .dSYM.zip
15
+ * .dSYM
Original file line number Diff line number Diff line change 4
4
import PackageDescription
5
5
6
6
let package = Package (
7
- name: " AmplifUtilsNotifications " ,
7
+ name: " AmplifyUtilsNotifications " ,
8
8
platforms: [ . iOS( . v13) , . macOS( . v10_15) ] ,
9
9
products: [
10
10
. library(
You can’t perform that action at this time.
0 commit comments