Add PromiseKit dependency

- Added PromiseKit dependency
This commit is contained in:
2018-11-15 22:08:00 -04:00
parent 2689d86c18
commit be7b6b5881
541 changed files with 46282 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.private.tcc.allow</key>
<array>
<string>kTCCServiceAddressBook</string>
<string>kTCCServiceCalendar</string>
<string>kTCCServicePhotos</string>
</array>
</dict>
</plist>

View File

@@ -0,0 +1,19 @@
import PMKEventKit
import PromiseKit
import EventKit
import XCTest
class Test_EventKit_Swift: XCTestCase {
func test() {
#if os(OSX)
//FIXME can't make this succeed on Travis :(
// needs Entitlements, but then I can't get it to sign
// so, we'll just test linkage
EKEventStoreRequestAccess()
#else
let ex = expectation(description: "")
EKEventStoreRequestAccess().ensure(ex.fulfill)
waitForExpectations(timeout: 30)
#endif
}
}