Skip to content
This repository was archived by the owner on Apr 7, 2021. It is now read-only.

Commit 0e066de

Browse files
committed
refactor print message
1 parent 4c81112 commit 0e066de

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

Demo/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>APPL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.0.6</string>
18+
<string>1.0.7</string>
1919
<key>CFBundleURLTypes</key>
2020
<array>
2121
<dict>

StudyplusSDK-V2.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "StudyplusSDK-V2"
3-
s.version = "1.0.6"
3+
s.version = "1.0.7"
44
s.summary = "StudyplusSDK-V2 is Studyplus iOS SDK for Swift"
55
s.homepage = "http://info.studyplus.jp"
66
s.license = { :type => "MIT", :file => "LICENSE" }

StudyplusSDK/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.0.6</string>
18+
<string>1.0.7</string>
1919
<key>CFBundleVersion</key>
2020
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
<key>NSPrincipalClass</key>

StudyplusSDK/Studyplus.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ final public class Studyplus {
217217

218218
default:
219219
#if DEBUG
220-
print("Unknown format: \(appDelegateUrl.absoluteString)")
220+
print("StudyplusSDK: Unknown format: \(appDelegateUrl.absoluteString)")
221221
#endif
222222
return false
223223
}
@@ -233,8 +233,8 @@ final public class Studyplus {
233233
let consumerKey = data["consumerKey"],
234234
let consumerSecret = data["consumerSecret"] else {
235235

236-
assert(false, "*** Pleease set consumerKey and consumerSecret in your Info.plist. ***")
237-
print("*** Pleease set consumerKey and consumerSecret in your Info.plist. ***")
236+
assert(false, "StudyplusSDK: *** Pleease set consumerKey and consumerSecret in your Info.plist. ***")
237+
print("StudyplusSDK: *** Pleease set consumerKey and consumerSecret in your Info.plist. ***")
238238

239239
self.consumerKey = ""
240240
self.consumerSecret = ""
@@ -243,8 +243,8 @@ final public class Studyplus {
243243

244244
if consumerKey == "set_your_consumerKey" || consumerSecret == "set_your_consumerSecret" {
245245

246-
assert(false, "*** Pleease set consumerKey and consumerSecret in Info.plist. ***")
247-
print("*** Pleease set consumerKey and consumerSecret in your Info.plist. ***")
246+
assert(false, "StudyplusSDK: *** Pleease set consumerKey and consumerSecret in Info.plist. ***")
247+
print("StudyplusSDK: *** Pleease set consumerKey and consumerSecret in your Info.plist. ***")
248248

249249
self.consumerKey = ""
250250
self.consumerSecret = ""

0 commit comments

Comments
 (0)