Skip to content

Commit 69ab85c

Browse files
committed
required iOS 8.0 or above
1 parent 1752d88 commit 69ab85c

File tree

5 files changed

+49
-31
lines changed

5 files changed

+49
-31
lines changed

Demo/StudyplusSDKDemo/StudyplusSDKDemo.xcodeproj/project.pbxproj

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -381,10 +381,14 @@
381381
4388599218B1E90A0063BBC8 /* Project object */ = {
382382
isa = PBXProject;
383383
attributes = {
384-
LastUpgradeCheck = 0800;
384+
LastUpgradeCheck = 0820;
385385
ORGANIZATIONNAME = studyplus.jp;
386386
TargetAttributes = {
387+
4388599918B1E90A0063BBC8 = {
388+
DevelopmentTeam = E8L2964G6Z;
389+
};
387390
438859BA18B1E90A0063BBC8 = {
391+
DevelopmentTeam = E8L2964G6Z;
388392
TestTargetID = 4388599918B1E90A0063BBC8;
389393
};
390394
};
@@ -549,7 +553,7 @@
549553
GCC_WARN_UNINITIALIZED_AUTOS = YES;
550554
GCC_WARN_UNUSED_FUNCTION = YES;
551555
GCC_WARN_UNUSED_VARIABLE = YES;
552-
IPHONEOS_DEPLOYMENT_TARGET = 7.0;
556+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
553557
ONLY_ACTIVE_ARCH = YES;
554558
SDKROOT = iphoneos;
555559
};
@@ -586,7 +590,7 @@
586590
GCC_WARN_UNINITIALIZED_AUTOS = YES;
587591
GCC_WARN_UNUSED_FUNCTION = YES;
588592
GCC_WARN_UNUSED_VARIABLE = YES;
589-
IPHONEOS_DEPLOYMENT_TARGET = 7.0;
593+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
590594
SDKROOT = iphoneos;
591595
VALIDATE_PRODUCT = YES;
592596
};
@@ -597,6 +601,7 @@
597601
buildSettings = {
598602
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
599603
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
604+
DEVELOPMENT_TEAM = E8L2964G6Z;
600605
GCC_PRECOMPILE_PREFIX_HEADER = YES;
601606
GCC_PREFIX_HEADER = "StudyplusSDKDemo/StudyplusSDKDemo-Prefix.pch";
602607
INFOPLIST_FILE = "StudyplusSDKDemo/StudyplusSDKDemo-Info.plist";
@@ -611,6 +616,7 @@
611616
buildSettings = {
612617
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
613618
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
619+
DEVELOPMENT_TEAM = E8L2964G6Z;
614620
GCC_PRECOMPILE_PREFIX_HEADER = YES;
615621
GCC_PREFIX_HEADER = "StudyplusSDKDemo/StudyplusSDKDemo-Prefix.pch";
616622
INFOPLIST_FILE = "StudyplusSDKDemo/StudyplusSDKDemo-Info.plist";
@@ -624,6 +630,7 @@
624630
isa = XCBuildConfiguration;
625631
buildSettings = {
626632
BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/StudyplusSDKDemo.app/StudyplusSDKDemo";
633+
DEVELOPMENT_TEAM = E8L2964G6Z;
627634
FRAMEWORK_SEARCH_PATHS = (
628635
"$(SDKROOT)/Developer/Library/Frameworks",
629636
"$(inherited)",
@@ -647,6 +654,7 @@
647654
isa = XCBuildConfiguration;
648655
buildSettings = {
649656
BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/StudyplusSDKDemo.app/StudyplusSDKDemo";
657+
DEVELOPMENT_TEAM = E8L2964G6Z;
650658
FRAMEWORK_SEARCH_PATHS = (
651659
"$(SDKROOT)/Developer/Library/Frameworks",
652660
"$(inherited)",

Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
platform :ios, '7.0'
1+
platform :ios, '8.0'
22

33
target :StudyplusSDK do
44
pod 'UICKeyChainStore', '1.0.4'

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Studyplus iOS SDK
55

66
## Requirements
77

8-
* iOS 7.0 or above
8+
* iOS 8.0 or above
99
* Xcode command line tools
1010
* ARC
1111
* [Studyplus iOS App 3.10.0 or adove](https://itunes.apple.com/jp/app/mian-qiangga-leshiku-xuku!/id505410049?mt=8)
@@ -21,7 +21,7 @@ Studyplus iOS SDK
2121

2222
```ruby
2323
# Edit your podfile
24-
platform :ios, '7.0'
24+
platform :ios, '8.0'
2525
pod 'StudyplusSDK'
2626
```
2727
and run
@@ -37,7 +37,7 @@ and run
3737
3. Install [AFNetworking](https://github.com/AFNetworking/AFNetworking) and [UICKeyChainStore](https://github.com/kishikawakatsumi/UICKeyChainStore) too.
3838
4. Add required frameworks(i.e. ```Security.framework, SystemConfiguration.framework, MobileCoreServices, CoreGraphics``` etc). See [AFNetworking](https://github.com/AFNetworking/AFNetworking) and [UICKeyChainStore](https://github.com/kishikawakatsumi/UICKeyChainStore).
3939

40-
#### By source copy (iOS 7 required)
40+
#### By source copy (iOS 8 required)
4141

4242
1. Get StudyplusSDK
4343
* ```git clone https://github.com/studyplus/Studyplus-iOS-SDK``` or download zip from [this page](https://github.com/studyplus/Studyplus-iOS-SDK/releases).
@@ -48,7 +48,7 @@ and run
4848

4949
### Set up custom URL scheme
5050

51-
set "studyplus-*{your consumer key}*" to URL Types.
51+
set "studyplus-*{your consumer key}*" to URL Types.
5252
(ex. studyplus-MIoh79q7pfMbTUVA3BNsSeTaZRcOK3yg )
5353

5454
![xcode](https://raw.github.com/studyplus/Studyplus-iOS-SDK/master/docs/set_url_scheme.png)
@@ -84,7 +84,7 @@ static SPLStudyplus *studyplus;
8484
}
8585
```
8686

87-
### Auth or Login
87+
### Auth or Login
8888
```Objective-C
8989
@implementation AppDelegate
9090

StudyplusSDK.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
Pod::Spec.new do |s|
22
s.name = "StudyplusSDK"
3-
s.version = "2.1.0"
3+
s.version = "2.2.0"
44
s.summary = "Studyplus iOS SDK"
55
s.description = <<-DESC
66
Let's post learning records to Studyplus(https://studyplus.jp)
77
DESC
88
s.homepage = "http://info.studyplus.jp"
99
s.license = { :type => 'MIT', :file => 'LICENSE.txt' }
1010
s.author = { "studyplus" => "[email protected]" }
11-
s.platform = :ios, '7.0'
11+
s.platform = :ios, '8.0'
1212
s.source = { :git => "https://github.com/studyplus/Studyplus-iOS-SDK.git", :tag => s.version.to_s }
1313
s.source_files = 'StudyplusSDK/**/*.{h,m}'
1414
s.public_header_files = 'StudyplusSDK/**/*.h'

StudyplusSDK.xcodeproj/project.pbxproj

Lines changed: 30 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -207,11 +207,11 @@
207207
isa = PBXNativeTarget;
208208
buildConfigurationList = 43E8E6991856CB780066D476 /* Build configuration list for PBXNativeTarget "StudyplusSDK" */;
209209
buildPhases = (
210-
813A4A7A17024E4CA022C118 /* 📦 Check Pods Manifest.lock */,
210+
813A4A7A17024E4CA022C118 /* [CP] Check Pods Manifest.lock */,
211211
43E8E6721856CB770066D476 /* Sources */,
212212
43E8E6731856CB770066D476 /* Frameworks */,
213213
43E8E6741856CB770066D476 /* CopyFiles */,
214-
62CDD57D8E864132B070C939 /* 📦 Copy Pods Resources */,
214+
62CDD57D8E864132B070C939 /* [CP] Copy Pods Resources */,
215215
);
216216
buildRules = (
217217
);
@@ -226,12 +226,12 @@
226226
isa = PBXNativeTarget;
227227
buildConfigurationList = 43E8E69C1856CB780066D476 /* Build configuration list for PBXNativeTarget "StudyplusSDKTests" */;
228228
buildPhases = (
229-
5C9B292132524996BCADD319 /* 📦 Check Pods Manifest.lock */,
229+
5C9B292132524996BCADD319 /* [CP] Check Pods Manifest.lock */,
230230
43E8E6821856CB770066D476 /* Sources */,
231231
43E8E6831856CB770066D476 /* Frameworks */,
232232
43E8E6841856CB770066D476 /* Resources */,
233-
6C6645884994437082EAF22F /* 📦 Copy Pods Resources */,
234-
A904EA54BC5E03808ECBD415 /* 📦 Embed Pods Frameworks */,
233+
6C6645884994437082EAF22F /* [CP] Copy Pods Resources */,
234+
A904EA54BC5E03808ECBD415 /* [CP] Embed Pods Frameworks */,
235235
);
236236
buildRules = (
237237
);
@@ -250,7 +250,7 @@
250250
isa = PBXProject;
251251
attributes = {
252252
CLASSPREFIX = SPL;
253-
LastUpgradeCheck = 0730;
253+
LastUpgradeCheck = 0820;
254254
ORGANIZATIONNAME = studyplus.jp;
255255
};
256256
buildConfigurationList = 43E8E6711856CB770066D476 /* Build configuration list for PBXProject "StudyplusSDK" */;
@@ -283,74 +283,74 @@
283283
/* End PBXResourcesBuildPhase section */
284284

285285
/* Begin PBXShellScriptBuildPhase section */
286-
5C9B292132524996BCADD319 /* 📦 Check Pods Manifest.lock */ = {
286+
5C9B292132524996BCADD319 /* [CP] Check Pods Manifest.lock */ = {
287287
isa = PBXShellScriptBuildPhase;
288288
buildActionMask = 2147483647;
289289
files = (
290290
);
291291
inputPaths = (
292292
);
293-
name = "📦 Check Pods Manifest.lock";
293+
name = "[CP] Check Pods Manifest.lock";
294294
outputPaths = (
295295
);
296296
runOnlyForDeploymentPostprocessing = 0;
297297
shellPath = /bin/sh;
298-
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
298+
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n";
299299
showEnvVarsInLog = 0;
300300
};
301-
62CDD57D8E864132B070C939 /* 📦 Copy Pods Resources */ = {
301+
62CDD57D8E864132B070C939 /* [CP] Copy Pods Resources */ = {
302302
isa = PBXShellScriptBuildPhase;
303303
buildActionMask = 2147483647;
304304
files = (
305305
);
306306
inputPaths = (
307307
);
308-
name = "📦 Copy Pods Resources";
308+
name = "[CP] Copy Pods Resources";
309309
outputPaths = (
310310
);
311311
runOnlyForDeploymentPostprocessing = 0;
312312
shellPath = /bin/sh;
313313
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-StudyplusSDK/Pods-StudyplusSDK-resources.sh\"\n";
314314
showEnvVarsInLog = 0;
315315
};
316-
6C6645884994437082EAF22F /* 📦 Copy Pods Resources */ = {
316+
6C6645884994437082EAF22F /* [CP] Copy Pods Resources */ = {
317317
isa = PBXShellScriptBuildPhase;
318318
buildActionMask = 2147483647;
319319
files = (
320320
);
321321
inputPaths = (
322322
);
323-
name = "📦 Copy Pods Resources";
323+
name = "[CP] Copy Pods Resources";
324324
outputPaths = (
325325
);
326326
runOnlyForDeploymentPostprocessing = 0;
327327
shellPath = /bin/sh;
328328
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-StudyplusSDKTests/Pods-StudyplusSDKTests-resources.sh\"\n";
329329
showEnvVarsInLog = 0;
330330
};
331-
813A4A7A17024E4CA022C118 /* 📦 Check Pods Manifest.lock */ = {
331+
813A4A7A17024E4CA022C118 /* [CP] Check Pods Manifest.lock */ = {
332332
isa = PBXShellScriptBuildPhase;
333333
buildActionMask = 2147483647;
334334
files = (
335335
);
336336
inputPaths = (
337337
);
338-
name = "📦 Check Pods Manifest.lock";
338+
name = "[CP] Check Pods Manifest.lock";
339339
outputPaths = (
340340
);
341341
runOnlyForDeploymentPostprocessing = 0;
342342
shellPath = /bin/sh;
343-
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
343+
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n";
344344
showEnvVarsInLog = 0;
345345
};
346-
A904EA54BC5E03808ECBD415 /* 📦 Embed Pods Frameworks */ = {
346+
A904EA54BC5E03808ECBD415 /* [CP] Embed Pods Frameworks */ = {
347347
isa = PBXShellScriptBuildPhase;
348348
buildActionMask = 2147483647;
349349
files = (
350350
);
351351
inputPaths = (
352352
);
353-
name = "📦 Embed Pods Frameworks";
353+
name = "[CP] Embed Pods Frameworks";
354354
outputPaths = (
355355
);
356356
runOnlyForDeploymentPostprocessing = 0;
@@ -418,13 +418,18 @@
418418
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
419419
CLANG_WARN_EMPTY_BODY = YES;
420420
CLANG_WARN_ENUM_CONVERSION = YES;
421+
CLANG_WARN_INFINITE_RECURSION = YES;
421422
CLANG_WARN_INT_CONVERSION = YES;
422423
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
424+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
425+
CLANG_WARN_UNREACHABLE_CODE = YES;
423426
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
424427
COPY_PHASE_STRIP = NO;
428+
ENABLE_STRICT_OBJC_MSGSEND = YES;
425429
ENABLE_TESTABILITY = YES;
426430
GCC_C_LANGUAGE_STANDARD = gnu99;
427431
GCC_DYNAMIC_NO_PIC = NO;
432+
GCC_NO_COMMON_BLOCKS = YES;
428433
GCC_OPTIMIZATION_LEVEL = 0;
429434
GCC_PREPROCESSOR_DEFINITIONS = (
430435
"DEBUG=1",
@@ -440,7 +445,7 @@
440445
GCC_WARN_UNINITIALIZED_AUTOS = YES;
441446
GCC_WARN_UNUSED_FUNCTION = YES;
442447
GCC_WARN_UNUSED_VARIABLE = YES;
443-
IPHONEOS_DEPLOYMENT_TARGET = 7.0;
448+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
444449
ONLY_ACTIVE_ARCH = YES;
445450
SDKROOT = iphoneos;
446451
VALID_ARCHS = "arm64 armv7 armv7s";
@@ -460,12 +465,17 @@
460465
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
461466
CLANG_WARN_EMPTY_BODY = YES;
462467
CLANG_WARN_ENUM_CONVERSION = YES;
468+
CLANG_WARN_INFINITE_RECURSION = YES;
463469
CLANG_WARN_INT_CONVERSION = YES;
464470
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
471+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
472+
CLANG_WARN_UNREACHABLE_CODE = YES;
465473
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
466474
COPY_PHASE_STRIP = YES;
467475
ENABLE_NS_ASSERTIONS = NO;
476+
ENABLE_STRICT_OBJC_MSGSEND = YES;
468477
GCC_C_LANGUAGE_STANDARD = gnu99;
478+
GCC_NO_COMMON_BLOCKS = YES;
469479
GCC_TREAT_WARNINGS_AS_ERRORS = YES;
470480
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
471481
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
@@ -475,7 +485,7 @@
475485
GCC_WARN_UNINITIALIZED_AUTOS = YES;
476486
GCC_WARN_UNUSED_FUNCTION = YES;
477487
GCC_WARN_UNUSED_VARIABLE = YES;
478-
IPHONEOS_DEPLOYMENT_TARGET = 7.0;
488+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
479489
SDKROOT = iphoneos;
480490
VALIDATE_PRODUCT = YES;
481491
VALID_ARCHS = "arm64 armv7 armv7s";

0 commit comments

Comments
 (0)