Open bpeng opened 7 years ago
UA https://docs.urbanairship.com/platform/ios/?swift# https://github.com/urbanairship/ios-library
2017-11-27 21:10:04.960667+0000 SwiftQuake[271:8631] [I] +[UAirship executeUnsafeTakeOff:] [Line 185] UAirship Take Off! Lib Version: 8.6.3 App Key: R6NMn_RiS7-vxvuS_NWLaA Production: NO.
2017-11-27 21:10:05.002992+0000 SwiftQuake[271:8631] Channel ID: 6a04fd7a-5986-47ea-b9df-a3b49e5dfc52
2017-11-27 21:10:05.050074+0000 SwiftQuake[271:8631] [D] -[UANamedUser update] [Line 65] New or re-install, skipping named user update.
2017-11-27 21:10:05.152152+0000 SwiftQuake[271:8631] [I] +[UAirship executeUnsafeTakeOff:] [Line 265] Automatic setup enabled.
2017-11-27 21:10:05.153406+0000 SwiftQuake[271:8631] [D] -[UASwizzler swizzle:protocol:implementation:] [Line 39] Adding implementation for application:didRegisterForRemoteNotificationsWithDeviceToken: class SwiftQuake.AppDelegate
2017-11-27 21:10:05.153588+0000 SwiftQuake[271:8631] [D] -[UASwizzler swizzle:protocol:implementation:] [Line 39] Adding implementation for application:didFailToRegisterForRemoteNotificationsWithError: class SwiftQuake.AppDelegate
2017-11-27 21:10:05.153721+0000 SwiftQuake[271:8631] [D] -[UASwizzler swizzle:protocol:implementation:] [Line 39] Adding implementation for application:didReceiveRemoteNotification:fetchCompletionHandler: class SwiftQuake.AppDelegate
2017-11-27 21:10:05.153857+0000 SwiftQuake[271:8631] [D] -[UASwizzler swizzle:protocol:implementation:] [Line 39] Adding implementation for application:performFetchWithCompletionHandler: class SwiftQuake.AppDelegate
2017-11-27 21:10:05.153986+0000 SwiftQuake[271:8631] [D] -[UASwizzler swizzle:implementation:] [Line 47] Swizzling implementation for setDelegate: class UNUserNotificationCenter
2017-11-27 21:10:05.159823+0000 SwiftQuake[271:8631] [D] -[UASwizzler swizzle:protocol:implementation:] [Line 39] Adding implementation for userNotificationCenter:willPresentNotification:withCompletionHandler: class UAAutoIntegrationDummyDelegate
2017-11-27 21:10:05.160036+0000 SwiftQuake[271:8631] [D] -[UASwizzler swizzle:protocol:implementation:] [Line 39] Adding implementation for userNotificationCenter:didReceiveNotificationResponse:withCompletionHandler: class UAAutoIntegrationDummyDelegate
2017-11-27 21:10:05.246865+0000 SwiftQuake[271:8708] [I] -[UAInboxMessageList refreshInboxWithCompletionHandler:]_block_invoke [Line 295] Inbox messages updated.
2017-11-27 21:10:05.313137+0000 SwiftQuake[271:8631] [D] -[UAAnalytics addEvent:] [Line 176] Adding app_init event 11AA423F-C443-44BA-B9B0-2C846F5548C6.
2017-11-27 21:10:05.313417+0000 SwiftQuake[271:8631] [D] -[UAEventManager scheduleUploadWithDelay:] [Line 269] Enqueuing attempt to schedule event upload with delay on main queue.
2017-11-27 21:10:05.475589+0000 SwiftQuake[271:8631] [D] -[UAEventManager scheduleUploadWithDelay:]_block_invoke [Line 272] Attempting to schedule event upload with delay: 31.658473 seconds.
2017-11-27 21:10:05.475724+0000 SwiftQuake[271:8631] [D] -[UAEventManager scheduleUploadWithDelay:]_block_invoke [Line 286] Scheduling upload.
2017-11-27 21:10:05.479943+0000 SwiftQuake[271:8631] [D] -[UAPush updateRegistration] [Line 778] APNS registration is out of date, updating.
2017-11-27 21:10:05.506282+0000 SwiftQuake[271:8631] [I] +[UAAppIntegration application:didRegisterForRemoteNotificationsWithDeviceToken:] [Line 43] Application registered device token: 1cfd838a42b8b47d8f0b8893e3da171ac2f795d47cd67227616587da651c2ed1
2017-11-27 21:10:05.506728+0000 SwiftQuake[271:8631] [D] -[UAAnalytics addEvent:] [Line 176] Adding device_registration event 44DFD8BE-AE1E-47AC-A648-920FF00A157A.
2017-11-27 21:10:05.509940+0000 SwiftQuake[271:8631] [D] -[UAEventManager scheduleUploadWithDelay:] [Line 269] Enqueuing attempt to schedule event upload with delay on main queue.
2017-11-27 21:10:05.516397+0000 SwiftQuake[271:8631] Device token: 1cfd838a42b8b47d8f0b8893e3da171ac2f795d47cd67227616587da651c2ed1
2017-11-27 21:10:05.561827+0000 SwiftQuake[271:8631] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
2017-11-27 21:10:05.571814+0000 SwiftQuake[271:8631] [MC] Reading from public effective user settings.
2017-11-27 21:10:05.595836+0000 SwiftQuake[271:8631] [D] -[UAChannelRegistrar updateChannel:channelLocation:withPayload:] [Line 68] Updating channel 6a04fd7a-5986-47ea-b9df-a3b49e5dfc52
2017-11-27 21:10:05.597840+0000 SwiftQuake[271:8631] [D] -[UAEventManager scheduleUploadWithDelay:]_block_invoke [Line 272] Attempting to schedule event upload with delay: 31.461976 seconds.
2017-11-27 21:10:05.597963+0000 SwiftQuake[271:8631] [D] -[UAEventManager scheduleUploadWithDelay:]_block_invoke [Line 277] Upload already scheduled for an earlier time.
2017-11-27 21:10:12.480117+0000 SwiftQuake[271:8631] [I] -[UAPush registrationSucceededWithPayload:] [Line 921] Channel registration updated successfully.
To allow navigation hyperlinks from webview (e.g. FAQ), App domain security settings have to include a Allow arbitrary loads
, or add the intended domains into the Exception domains
UI testing https://stackoverflow.com/questions/44431136/find-table-cell-in-xcode-ui-testing-swift
xcodebuild -derivedDataPath output -workspace SwiftQuake.xcworkspace -scheme SwiftQuake -destination 'platform=iOS Simulator,name=iPhone 8,OS=11.2' -sdk iphonesimulator test | xcpretty
map custom callout: http://www.surekhatech.com/blog/custom-callout-view-for-ios-map
resource:
https://developer.apple.com/library/content/referencelibrary/GettingStarted/DevelopiOSAppsSwift/index.html#//apple_ref/doc/uid/TP40015214