File tree Expand file tree Collapse file tree 6 files changed +135
-0
lines changed Expand file tree Collapse file tree 6 files changed +135
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Xcode
2
+ #
3
+ # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
4
+
5
+ # # User settings
6
+ xcuserdata /
7
+
8
+ xcodebuild * .log
9
+
10
+ java_pid * .hprof
11
+
12
+ . * .swp
13
+ .DS_Store
14
+
15
+ # # compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
16
+ * .xcscmblueprint
17
+ * .xccheckout
18
+
19
+ # # compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4)
20
+ build /
21
+ DerivedData /
22
+ .android /
23
+ .kotlin /
24
+ * .moved-aside
25
+ * .pbxuser
26
+ ! default.pbxuser
27
+ * .mode1v3
28
+ ! default.mode1v3
29
+ * .mode2v3
30
+ ! default.mode2v3
31
+ * .perspectivev3
32
+ ! default.perspectivev3
33
+
34
+ # # Obj-C/Swift specific
35
+ * .hmap
36
+
37
+ # # App packaging
38
+ * .ipa
39
+ * .dSYM.zip
40
+ * .dSYM
41
+
42
+ # # Playgrounds
43
+ timeline.xctimeline
44
+ playground.xcworkspace
45
+
46
+ # Swift Package Manager
47
+ #
48
+ # Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
49
+ Packages /
50
+ Package.pins
51
+ Package.resolved
52
+ * .xcodeproj
53
+
54
+ # Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata
55
+ # hence it is not needed unless you have added a package configuration file to your project
56
+ .swiftpm
57
+
58
+ .build /
59
+
60
+ # CocoaPods
61
+ #
62
+ # We recommend against adding the Pods directory to your .gitignore. However
63
+ # you should judge for yourself, the pros and cons are mentioned at:
64
+ # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
65
+ #
66
+ # Pods/
67
+ #
68
+ # Add this line if you want to avoid checking in source code from the Xcode workspace
69
+ # *.xcworkspace
70
+
71
+ # Carthage
72
+ #
73
+ # Add this line if you want to avoid checking in source code from Carthage dependencies.
74
+ # Carthage/Checkouts
75
+
76
+ Carthage /Build /
77
+
78
+ # Accio dependency management
79
+ Dependencies /
80
+ .accio /
81
+
82
+ # fastlane
83
+ #
84
+ # It is recommended to not store the screenshots in the git repo.
85
+ # Instead, use fastlane to re-generate the screenshots whenever they are needed.
86
+ # For more information about the recommended setup visit:
87
+ # https://docs.fastlane.tools/best-practices/source-control/#source-control
88
+
89
+ fastlane /report.xml
90
+ fastlane /Preview.html
91
+ fastlane /screenshots /** /* .png
92
+ fastlane /test_output
93
+
94
+ # Code Injection
95
+ #
96
+ # After new code Injection tools there's a generated folder /iOSInjectionProject
97
+ # https://github.com/johnno1962/injectionforxcode
98
+
99
+ iOSInjectionProject /
100
+
101
+
102
+
103
+ # Ignore Gradle project-specific cache directory
104
+ .gradle
105
+
106
+ # Ignore Gradle build output directory
107
+ build
108
+
109
+ # gradle properties
110
+ local.properties
Original file line number Diff line number Diff line change
1
+ // swift-tools-version: 6.0
2
+ import PackageDescription
3
+
4
+ let package = Package (
5
+ name: " swift-android-oslog " ,
6
+ products: [
7
+ . library( name: " AndroidOSLog " , targets: [ " AndroidOSLog " ] )
8
+ ] ,
9
+ targets: [
10
+ . target( name: " CAndroidLog " ) ,
11
+ . target( name: " AndroidOSLog " , dependencies: [ " CAndroidLog " ] ) ,
12
+ . testTarget( name: " AndroidOSLogTests " , dependencies: [ " AndroidOSLog " ] )
13
+ ]
14
+ )
Original file line number Diff line number Diff line change
1
+ // The Swift Programming Language
2
+ // https://docs.swift.org/swift-book
Original file line number Diff line number Diff line change
1
+ import XCTest
2
+ @testable import AndroidOSLog
3
+
4
+ class AndroidOSLogTests : XCTestCase {
5
+ public func testOSLog( ) {
6
+ XCTAssertEqual ( 2 , 1 + 1 )
7
+ }
8
+ }
9
+
You can’t perform that action at this time.
0 commit comments