Compare commits

...

5 Commits

Author SHA1 Message Date
67afa89836 Commit automatico: Aggiornamento dei file 2023-12-17 10:30:29 +01:00
b7acf147d5 - Fix Simulator target 2019-03-18 23:14:51 +01:00
749e3dc8f0 Release 1.0.9 2018-09-30 19:46:10 +02:00
e6c51b7c7c - upgrade pod library
- fix iPad 12" recognition
2018-04-19 12:16:06 +02:00
6c08b3690d - fix simulator inches 2018-03-20 17:26:58 +01:00
40 changed files with 758 additions and 519 deletions

4
.gitattributes vendored Normal file
View File

@ -0,0 +1,4 @@
*.framework filter=lfs diff=lfs merge=lfs -text
libavcodec.a filter=lfs diff=lfs merge=lfs -text
GoogleMapsBase filter=lfs diff=lfs merge=lfs -text
GoogleMapsCore filter=lfs diff=lfs merge=lfs -text

View File

@ -1,16 +1,16 @@
PODS:
- UIDevice-Utils (1.0.6)
- UIDevice-Utils (1.1.0)
DEPENDENCIES:
- UIDevice-Utils (from `../`)
EXTERNAL SOURCES:
UIDevice-Utils:
:path: ../
:path: "../"
SPEC CHECKSUMS:
UIDevice-Utils: 8ea7c7082f182e36bde4431dee6681bab5cefb53
UIDevice-Utils: 9efdf0f9fb3c07a53595d39981d3c04ce39aba5f
PODFILE CHECKSUM: 29850ff9a3324af2d39c0303e01cd7bcbab47fb5
COCOAPODS: 1.4.0
COCOAPODS: 1.6.0

View File

@ -1,6 +1,6 @@
{
"name": "UIDevice-Utils",
"version": "1.0.6",
"version": "1.1.0",
"summary": "Category on UIDevice to distinguish between platforms.",
"description": "Category to easy distinguish devices, family platform device, or device inches. Provide human-readable device names e.g. 'iPhone 6S Plus' or enums e.g. 'UIDeviceGenerationModeliPhone6SPlus'",
"homepage": "https://github.com/giuseppenucifora/UIDevice-Utils",
@ -10,7 +10,7 @@
},
"source": {
"git": "https://github.com/giuseppenucifora/UIDevice-Utils.git",
"tag": "1.0.6"
"tag": "1.1.0"
},
"platforms": {
"ios": "8.0"

View File

@ -1,16 +1,16 @@
PODS:
- UIDevice-Utils (1.0.6)
- UIDevice-Utils (1.1.0)
DEPENDENCIES:
- UIDevice-Utils (from `../`)
EXTERNAL SOURCES:
UIDevice-Utils:
:path: ../
:path: "../"
SPEC CHECKSUMS:
UIDevice-Utils: 8ea7c7082f182e36bde4431dee6681bab5cefb53
UIDevice-Utils: 9efdf0f9fb3c07a53595d39981d3c04ce39aba5f
PODFILE CHECKSUM: 29850ff9a3324af2d39c0303e01cd7bcbab47fb5
COCOAPODS: 1.4.0
COCOAPODS: 1.6.0

View File

@ -7,210 +7,228 @@
objects = {
/* Begin PBXBuildFile section */
3BFB0701C035D5A6094CBB1534D9B2D4 /* UIDevice-Utils-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 9020D154C7A325777C9350F29B735632 /* UIDevice-Utils-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
4CB9025B975E4BBC0B5CB4A028CC356F /* Pods-UIDevice-Utils_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 24F97EC0499CD23D09083F9937BEB68E /* Pods-UIDevice-Utils_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
6F073CE3B0339C296FA0DD2B32D2FBF3 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; };
8A750382C1B390F38D2B8437B4AF7B40 /* Pods-UIDevice-Utils_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 71A54900F5B3AB0027108F93899C284E /* Pods-UIDevice-Utils_Example-dummy.m */; };
AB0F428B5219520A11BB36B2B87386CF /* UIDevice-Utils-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 6C52887FFFC27A3E2436EDEEE632A636 /* UIDevice-Utils-dummy.m */; };
BB9A95D120CC6921ED030EF3385D7295 /* UIDevice-Hardware.m in Sources */ = {isa = PBXBuildFile; fileRef = 8AE2EC862092943D13DDBA1A7CB27758 /* UIDevice-Hardware.m */; };
F1614D1E746A76F7F748BD9537F5C332 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; };
F4F891330B9104205380B7FE94CA9BFF /* UIDevice-Hardware.h in Headers */ = {isa = PBXBuildFile; fileRef = 770CC0231F17D2C96181E13BFA282EE9 /* UIDevice-Hardware.h */; settings = {ATTRIBUTES = (Public, ); }; };
030BE27433AF0162029A43EE69B989DB /* UIDevice-Hardware.m in Sources */ = {isa = PBXBuildFile; fileRef = 52435B255D28AB8D4CCA2EF29F07B3B9 /* UIDevice-Hardware.m */; };
0CD611362FD3CC82657C0731452209D6 /* UIDevice-Utils-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 22E0E906F4341CA25DE4A6D4E6E2608A /* UIDevice-Utils-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
1416D0820509C642BE2BE65F7A872AC0 /* UIDevice-Utils-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = CD872CC7538781B5C29BF7B0C1D6BC9C /* UIDevice-Utils-dummy.m */; };
342695E17F2D46FAE1CDD687F4D26CE8 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CB4607EFCA7C5F75397649E792E2AFCB /* Foundation.framework */; };
78227D0A9E5C3C7E221669EC4BEC9E84 /* Pods-UIDevice-Utils_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 84F7E08580380CB594AE3702D8055894 /* Pods-UIDevice-Utils_Example-dummy.m */; };
C3D1A91AC183859BEFFE2FD0B53DEC13 /* Pods-UIDevice-Utils_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = D1E2C638D58FD401B274F6F58D9CAF42 /* Pods-UIDevice-Utils_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
F51D29E72E278FE8C36DCE664C58D234 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CB4607EFCA7C5F75397649E792E2AFCB /* Foundation.framework */; };
FB367F90826D53C3C1DD1E44F83D876E /* UIDevice-Hardware.h in Headers */ = {isa = PBXBuildFile; fileRef = 1B580C8DF041C71BBB5A67A77ED1E134 /* UIDevice-Hardware.h */; settings = {ATTRIBUTES = (Public, ); }; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
FF0238829A8A96287D580DF24509CC08 /* PBXContainerItemProxy */ = {
5FBE2CC7EE740C8AEC5044C06D80774D /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */;
proxyType = 1;
remoteGlobalIDString = 3854BCF820B1DC175557976D53149A81;
remoteGlobalIDString = 7B8DBBFBBAE53BD8083BF0DB04A7C8E1;
remoteInfo = "UIDevice-Utils";
};
/* End PBXContainerItemProxy section */
/* Begin PBXFileReference section */
0A14557D5F64B671859EB7CEE648B5DB /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
20BD53328A3AC450BC9B75B7F80F9FB3 /* Pods-UIDevice-Utils_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-UIDevice-Utils_Example-acknowledgements.plist"; sourceTree = "<group>"; };
24F97EC0499CD23D09083F9937BEB68E /* Pods-UIDevice-Utils_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-UIDevice-Utils_Example-umbrella.h"; sourceTree = "<group>"; };
3BCA87344E16C47439507D2ECCC44CB2 /* UIDevice-Utils.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "UIDevice-Utils.xcconfig"; sourceTree = "<group>"; };
410FBBCD879CDEA2CA190519A8355F8D /* UIDevice-Utils.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "UIDevice-Utils.modulemap"; sourceTree = "<group>"; };
41E3554FE52FC7C2211368FE84734964 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; path = README.md; sourceTree = "<group>"; };
6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; };
6C52887FFFC27A3E2436EDEEE632A636 /* UIDevice-Utils-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "UIDevice-Utils-dummy.m"; sourceTree = "<group>"; };
71A54900F5B3AB0027108F93899C284E /* Pods-UIDevice-Utils_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-UIDevice-Utils_Example-dummy.m"; sourceTree = "<group>"; };
770CC0231F17D2C96181E13BFA282EE9 /* UIDevice-Hardware.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIDevice-Hardware.h"; path = "Pod/Classes/UIDevice-Hardware.h"; sourceTree = "<group>"; };
8481AFC400C5DFA2C5E0700BFE829BA3 /* UIDevice-Utils-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "UIDevice-Utils-prefix.pch"; sourceTree = "<group>"; };
8945F0E61743E0AE2FC303F3A7F6EBC1 /* Pods-UIDevice-Utils_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-UIDevice-Utils_Example-resources.sh"; sourceTree = "<group>"; };
8AE2EC862092943D13DDBA1A7CB27758 /* UIDevice-Hardware.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIDevice-Hardware.m"; path = "Pod/Classes/UIDevice-Hardware.m"; sourceTree = "<group>"; };
9020D154C7A325777C9350F29B735632 /* UIDevice-Utils-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "UIDevice-Utils-umbrella.h"; sourceTree = "<group>"; };
9075BD7F58A782313802B56E60B6E370 /* Pods-UIDevice-Utils_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-UIDevice-Utils_Example.debug.xcconfig"; sourceTree = "<group>"; };
93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
9CC0E8FEB9F18C1AE2FF848356E2EA9D /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; path = LICENSE; sourceTree = "<group>"; };
B59468F549544B1CF9962BEAE725C5A8 /* Pods-UIDevice-Utils_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-UIDevice-Utils_Example-frameworks.sh"; sourceTree = "<group>"; };
C49C1AEA750AA5FE6C9E364541F18720 /* UIDevice-Utils.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; path = "UIDevice-Utils.podspec"; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
CAE95BBACF9F06EAD338B4710094353B /* Pods-UIDevice-Utils_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-UIDevice-Utils_Example.modulemap"; sourceTree = "<group>"; };
D4C4E158E4909837657BB907588C142A /* Pods-UIDevice-Utils_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-UIDevice-Utils_Example.release.xcconfig"; sourceTree = "<group>"; };
DC8D9BDDA5A9EB589E25C212F4A688F4 /* UIDevice_Utils.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = UIDevice_Utils.framework; path = "UIDevice-Utils.framework"; sourceTree = BUILT_PRODUCTS_DIR; };
E2C37B25EB6EC2D52DD29CC05E17CE10 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
EE3C8F09BB008419E2B58A4C6F702176 /* Pods_UIDevice_Utils_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_UIDevice_Utils_Example.framework; path = "Pods-UIDevice-Utils_Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; };
EFD51E15A2B1A2E631D829D5ED249408 /* Pods-UIDevice-Utils_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-UIDevice-Utils_Example-acknowledgements.markdown"; sourceTree = "<group>"; };
1B580C8DF041C71BBB5A67A77ED1E134 /* UIDevice-Hardware.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIDevice-Hardware.h"; path = "Pod/Classes/UIDevice-Hardware.h"; sourceTree = "<group>"; };
22E0E906F4341CA25DE4A6D4E6E2608A /* UIDevice-Utils-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "UIDevice-Utils-umbrella.h"; sourceTree = "<group>"; };
2AB8CCF9432B3A9F55BDACA72F35FDCB /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; path = LICENSE; sourceTree = "<group>"; };
301537099884617532647F705673FC20 /* UIDevice-Utils.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "UIDevice-Utils.xcconfig"; sourceTree = "<group>"; };
329F2C27141DBB5108BC24D4F2C73E79 /* Pods_UIDevice_Utils_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_UIDevice_Utils_Example.framework; path = "Pods-UIDevice-Utils_Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; };
3D062FBF0B30FA5BF432273250E55C17 /* Pods-UIDevice-Utils_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-UIDevice-Utils_Example.debug.xcconfig"; sourceTree = "<group>"; };
421AF04DB131BEBE96563EA61975CC5A /* UIDevice-Utils-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "UIDevice-Utils-prefix.pch"; sourceTree = "<group>"; };
497B5966904F979B661DE2F39F9BE857 /* Pods-UIDevice-Utils_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-UIDevice-Utils_Example-acknowledgements.markdown"; sourceTree = "<group>"; };
4D77C016BA2723A49BED58C145C83FFC /* Pods-UIDevice-Utils_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-UIDevice-Utils_Example.modulemap"; sourceTree = "<group>"; };
52435B255D28AB8D4CCA2EF29F07B3B9 /* UIDevice-Hardware.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIDevice-Hardware.m"; path = "Pod/Classes/UIDevice-Hardware.m"; sourceTree = "<group>"; };
6660B3680E2BC1EC6AFD0C544EC2842F /* UIDevice-Utils-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "UIDevice-Utils-Info.plist"; sourceTree = "<group>"; };
6ACE2625EBC963D189BC793CD783D276 /* UIDevice-Utils.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; path = "UIDevice-Utils.podspec"; sourceTree = "<group>"; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
7721A33330FF03710DA0691653C94026 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; path = README.md; sourceTree = "<group>"; };
7B27B6E33C6EE76C1EDB0CA96BD1DF12 /* Pods-UIDevice-Utils_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-UIDevice-Utils_Example-acknowledgements.plist"; sourceTree = "<group>"; };
84F7E08580380CB594AE3702D8055894 /* Pods-UIDevice-Utils_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-UIDevice-Utils_Example-dummy.m"; sourceTree = "<group>"; };
9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
C95DEB05CDA3520523A7F726790A125B /* Pods-UIDevice-Utils_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-UIDevice-Utils_Example.release.xcconfig"; sourceTree = "<group>"; };
CB4607EFCA7C5F75397649E792E2AFCB /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; };
CD872CC7538781B5C29BF7B0C1D6BC9C /* UIDevice-Utils-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "UIDevice-Utils-dummy.m"; sourceTree = "<group>"; };
CEF99A20EB2C706808A801E2B527ECE7 /* UIDevice-Utils.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "UIDevice-Utils.modulemap"; sourceTree = "<group>"; };
D1E2C638D58FD401B274F6F58D9CAF42 /* Pods-UIDevice-Utils_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-UIDevice-Utils_Example-umbrella.h"; sourceTree = "<group>"; };
E58339F1F5E6AB217F91B980315A58E1 /* Pods-UIDevice-Utils_Example-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-UIDevice-Utils_Example-Info.plist"; sourceTree = "<group>"; };
F20E5ECFFD3CD094B2F41AD7F5D51EF9 /* Pods-UIDevice-Utils_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-UIDevice-Utils_Example-frameworks.sh"; sourceTree = "<group>"; };
F942E89B6E69B97AD18A9206C47E6A10 /* UIDevice_Utils.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = UIDevice_Utils.framework; path = "UIDevice-Utils.framework"; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
7C3A7A32CEEB7D5E453234841172D9FB /* Frameworks */ = {
7B79FB7F6D6EA2F68339460AAFBB18A1 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
6F073CE3B0339C296FA0DD2B32D2FBF3 /* Foundation.framework in Frameworks */,
F51D29E72E278FE8C36DCE664C58D234 /* Foundation.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
9AE9F90EC8BF3B73A754B3A6419F9D81 /* Frameworks */ = {
F4E45CBC6181AD24209EB0ADE9F3D8B2 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
F1614D1E746A76F7F748BD9537F5C332 /* Foundation.framework in Frameworks */,
342695E17F2D46FAE1CDD687F4D26CE8 /* Foundation.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
2AF37831F2BB03BB35779DEB536B808D /* Pods-UIDevice-Utils_Example */ = {
0B6B6DE4EEF88939D5AD5FF4F329411C /* Pods-UIDevice-Utils_Example */ = {
isa = PBXGroup;
children = (
E2C37B25EB6EC2D52DD29CC05E17CE10 /* Info.plist */,
CAE95BBACF9F06EAD338B4710094353B /* Pods-UIDevice-Utils_Example.modulemap */,
EFD51E15A2B1A2E631D829D5ED249408 /* Pods-UIDevice-Utils_Example-acknowledgements.markdown */,
20BD53328A3AC450BC9B75B7F80F9FB3 /* Pods-UIDevice-Utils_Example-acknowledgements.plist */,
71A54900F5B3AB0027108F93899C284E /* Pods-UIDevice-Utils_Example-dummy.m */,
B59468F549544B1CF9962BEAE725C5A8 /* Pods-UIDevice-Utils_Example-frameworks.sh */,
8945F0E61743E0AE2FC303F3A7F6EBC1 /* Pods-UIDevice-Utils_Example-resources.sh */,
24F97EC0499CD23D09083F9937BEB68E /* Pods-UIDevice-Utils_Example-umbrella.h */,
9075BD7F58A782313802B56E60B6E370 /* Pods-UIDevice-Utils_Example.debug.xcconfig */,
D4C4E158E4909837657BB907588C142A /* Pods-UIDevice-Utils_Example.release.xcconfig */,
4D77C016BA2723A49BED58C145C83FFC /* Pods-UIDevice-Utils_Example.modulemap */,
497B5966904F979B661DE2F39F9BE857 /* Pods-UIDevice-Utils_Example-acknowledgements.markdown */,
7B27B6E33C6EE76C1EDB0CA96BD1DF12 /* Pods-UIDevice-Utils_Example-acknowledgements.plist */,
84F7E08580380CB594AE3702D8055894 /* Pods-UIDevice-Utils_Example-dummy.m */,
F20E5ECFFD3CD094B2F41AD7F5D51EF9 /* Pods-UIDevice-Utils_Example-frameworks.sh */,
E58339F1F5E6AB217F91B980315A58E1 /* Pods-UIDevice-Utils_Example-Info.plist */,
D1E2C638D58FD401B274F6F58D9CAF42 /* Pods-UIDevice-Utils_Example-umbrella.h */,
3D062FBF0B30FA5BF432273250E55C17 /* Pods-UIDevice-Utils_Example.debug.xcconfig */,
C95DEB05CDA3520523A7F726790A125B /* Pods-UIDevice-Utils_Example.release.xcconfig */,
);
name = "Pods-UIDevice-Utils_Example";
path = "Target Support Files/Pods-UIDevice-Utils_Example";
sourceTree = "<group>";
};
3053967399AA8C3847B95CF6A976928B /* Development Pods */ = {
485E02547C453B7EA1E54290D098AFCF /* Pod */ = {
isa = PBXGroup;
children = (
BE6F24BE1D6BC732CABED4C2869FCA3A /* UIDevice-Utils */,
);
name = "Development Pods";
sourceTree = "<group>";
};
3B2FC0C6DFB64C91593D37EEF24AABB3 /* Pod */ = {
isa = PBXGroup;
children = (
9CC0E8FEB9F18C1AE2FF848356E2EA9D /* LICENSE */,
41E3554FE52FC7C2211368FE84734964 /* README.md */,
C49C1AEA750AA5FE6C9E364541F18720 /* UIDevice-Utils.podspec */,
2AB8CCF9432B3A9F55BDACA72F35FDCB /* LICENSE */,
7721A33330FF03710DA0691653C94026 /* README.md */,
6ACE2625EBC963D189BC793CD783D276 /* UIDevice-Utils.podspec */,
);
name = Pod;
sourceTree = "<group>";
};
4A9E2E7B418025335D56B80A9AE149B5 /* Products */ = {
9B055D0CFEA43187E72B03DED11F5662 /* iOS */ = {
isa = PBXGroup;
children = (
EE3C8F09BB008419E2B58A4C6F702176 /* Pods_UIDevice_Utils_Example.framework */,
DC8D9BDDA5A9EB589E25C212F4A688F4 /* UIDevice_Utils.framework */,
CB4607EFCA7C5F75397649E792E2AFCB /* Foundation.framework */,
);
name = Products;
name = iOS;
sourceTree = "<group>";
};
625651D0FDB0F1B60CCA08D58D63CE96 /* Targets Support Files */ = {
A797229624198354C10D310F7A853EDB /* UIDevice-Utils */ = {
isa = PBXGroup;
children = (
2AF37831F2BB03BB35779DEB536B808D /* Pods-UIDevice-Utils_Example */,
);
name = "Targets Support Files";
sourceTree = "<group>";
};
7DB346D0F39D3F0E887471402A8071AB = {
isa = PBXGroup;
children = (
93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */,
3053967399AA8C3847B95CF6A976928B /* Development Pods */,
BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */,
4A9E2E7B418025335D56B80A9AE149B5 /* Products */,
625651D0FDB0F1B60CCA08D58D63CE96 /* Targets Support Files */,
);
sourceTree = "<group>";
};
92ED541886D147570F39C21CCDEF4319 /* Support Files */ = {
isa = PBXGroup;
children = (
0A14557D5F64B671859EB7CEE648B5DB /* Info.plist */,
410FBBCD879CDEA2CA190519A8355F8D /* UIDevice-Utils.modulemap */,
3BCA87344E16C47439507D2ECCC44CB2 /* UIDevice-Utils.xcconfig */,
6C52887FFFC27A3E2436EDEEE632A636 /* UIDevice-Utils-dummy.m */,
8481AFC400C5DFA2C5E0700BFE829BA3 /* UIDevice-Utils-prefix.pch */,
9020D154C7A325777C9350F29B735632 /* UIDevice-Utils-umbrella.h */,
);
name = "Support Files";
path = "Example/Pods/Target Support Files/UIDevice-Utils";
sourceTree = "<group>";
};
BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = {
isa = PBXGroup;
children = (
D35AF013A5F0BAD4F32504907A52519E /* iOS */,
);
name = Frameworks;
sourceTree = "<group>";
};
BE6F24BE1D6BC732CABED4C2869FCA3A /* UIDevice-Utils */ = {
isa = PBXGroup;
children = (
770CC0231F17D2C96181E13BFA282EE9 /* UIDevice-Hardware.h */,
8AE2EC862092943D13DDBA1A7CB27758 /* UIDevice-Hardware.m */,
3B2FC0C6DFB64C91593D37EEF24AABB3 /* Pod */,
92ED541886D147570F39C21CCDEF4319 /* Support Files */,
1B580C8DF041C71BBB5A67A77ED1E134 /* UIDevice-Hardware.h */,
52435B255D28AB8D4CCA2EF29F07B3B9 /* UIDevice-Hardware.m */,
485E02547C453B7EA1E54290D098AFCF /* Pod */,
A85A4733525E169D9039644C16E6955B /* Support Files */,
);
name = "UIDevice-Utils";
path = ../..;
sourceTree = "<group>";
};
D35AF013A5F0BAD4F32504907A52519E /* iOS */ = {
A85A4733525E169D9039644C16E6955B /* Support Files */ = {
isa = PBXGroup;
children = (
6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */,
CEF99A20EB2C706808A801E2B527ECE7 /* UIDevice-Utils.modulemap */,
301537099884617532647F705673FC20 /* UIDevice-Utils.xcconfig */,
CD872CC7538781B5C29BF7B0C1D6BC9C /* UIDevice-Utils-dummy.m */,
6660B3680E2BC1EC6AFD0C544EC2842F /* UIDevice-Utils-Info.plist */,
421AF04DB131BEBE96563EA61975CC5A /* UIDevice-Utils-prefix.pch */,
22E0E906F4341CA25DE4A6D4E6E2608A /* UIDevice-Utils-umbrella.h */,
);
name = iOS;
name = "Support Files";
path = "Example/Pods/Target Support Files/UIDevice-Utils";
sourceTree = "<group>";
};
B37811CB9BC7AB0CAE69DEC569EC75E5 /* Targets Support Files */ = {
isa = PBXGroup;
children = (
0B6B6DE4EEF88939D5AD5FF4F329411C /* Pods-UIDevice-Utils_Example */,
);
name = "Targets Support Files";
sourceTree = "<group>";
};
C6FCF5E59A06D9D56EDD8D675171B306 /* Products */ = {
isa = PBXGroup;
children = (
329F2C27141DBB5108BC24D4F2C73E79 /* Pods_UIDevice_Utils_Example.framework */,
F942E89B6E69B97AD18A9206C47E6A10 /* UIDevice_Utils.framework */,
);
name = Products;
sourceTree = "<group>";
};
CF1408CF629C7361332E53B88F7BD30C = {
isa = PBXGroup;
children = (
9D940727FF8FB9C785EB98E56350EF41 /* Podfile */,
E160284B5E7B2D0192E12151713C7BE9 /* Development Pods */,
D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */,
C6FCF5E59A06D9D56EDD8D675171B306 /* Products */,
B37811CB9BC7AB0CAE69DEC569EC75E5 /* Targets Support Files */,
);
sourceTree = "<group>";
};
D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */ = {
isa = PBXGroup;
children = (
9B055D0CFEA43187E72B03DED11F5662 /* iOS */,
);
name = Frameworks;
sourceTree = "<group>";
};
E160284B5E7B2D0192E12151713C7BE9 /* Development Pods */ = {
isa = PBXGroup;
children = (
A797229624198354C10D310F7A853EDB /* UIDevice-Utils */,
);
name = "Development Pods";
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXHeadersBuildPhase section */
01A2A6D8104FC8FEFD5C834272908373 /* Headers */ = {
12692756E25A7CC35059D9A18E8CACF0 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
4CB9025B975E4BBC0B5CB4A028CC356F /* Pods-UIDevice-Utils_Example-umbrella.h in Headers */,
C3D1A91AC183859BEFFE2FD0B53DEC13 /* Pods-UIDevice-Utils_Example-umbrella.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
C755555208429A1731670066ADE3061B /* Headers */ = {
6341A97FBD7E31E262D74EC6D6F856AE /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
F4F891330B9104205380B7FE94CA9BFF /* UIDevice-Hardware.h in Headers */,
3BFB0701C035D5A6094CBB1534D9B2D4 /* UIDevice-Utils-umbrella.h in Headers */,
FB367F90826D53C3C1DD1E44F83D876E /* UIDevice-Hardware.h in Headers */,
0CD611362FD3CC82657C0731452209D6 /* UIDevice-Utils-umbrella.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */
/* Begin PBXNativeTarget section */
3854BCF820B1DC175557976D53149A81 /* UIDevice-Utils */ = {
4E133ECA830629DBC77B7E42C2EE0DD5 /* Pods-UIDevice-Utils_Example */ = {
isa = PBXNativeTarget;
buildConfigurationList = 78BB3F62F2A0E9E0E629F1E59B9ECD3C /* Build configuration list for PBXNativeTarget "UIDevice-Utils" */;
buildConfigurationList = 30AF4B1E34F7DD6E5CE5140386DD9D68 /* Build configuration list for PBXNativeTarget "Pods-UIDevice-Utils_Example" */;
buildPhases = (
5D59333FE115AA6F9E0F905C388F8407 /* Sources */,
9AE9F90EC8BF3B73A754B3A6419F9D81 /* Frameworks */,
C755555208429A1731670066ADE3061B /* Headers */,
12692756E25A7CC35059D9A18E8CACF0 /* Headers */,
C7819D198AC3477D9C1563DB560EB636 /* Sources */,
7B79FB7F6D6EA2F68339460AAFBB18A1 /* Frameworks */,
FF91A7569800DD86EF8FF553AA0389BE /* Resources */,
);
buildRules = (
);
dependencies = (
5F418A0F7AB1D677B0BE6CB2402FAF50 /* PBXTargetDependency */,
);
name = "Pods-UIDevice-Utils_Example";
productName = "Pods-UIDevice-Utils_Example";
productReference = 329F2C27141DBB5108BC24D4F2C73E79 /* Pods_UIDevice_Utils_Example.framework */;
productType = "com.apple.product-type.framework";
};
7B8DBBFBBAE53BD8083BF0DB04A7C8E1 /* UIDevice-Utils */ = {
isa = PBXNativeTarget;
buildConfigurationList = E857EECF76D69D66F6460BF05A75C8A8 /* Build configuration list for PBXNativeTarget "UIDevice-Utils" */;
buildPhases = (
6341A97FBD7E31E262D74EC6D6F856AE /* Headers */,
E464F26F67E41575F89BCA64B9D2AB7D /* Sources */,
F4E45CBC6181AD24209EB0ADE9F3D8B2 /* Frameworks */,
EE58C59139D54C6F6216ED08158431E6 /* Resources */,
);
buildRules = (
);
@ -218,209 +236,84 @@
);
name = "UIDevice-Utils";
productName = "UIDevice-Utils";
productReference = DC8D9BDDA5A9EB589E25C212F4A688F4 /* UIDevice_Utils.framework */;
productType = "com.apple.product-type.framework";
};
A67D4286BE7D56107575EB6964E9EE33 /* Pods-UIDevice-Utils_Example */ = {
isa = PBXNativeTarget;
buildConfigurationList = E658B32F20DD480E880379F295BAE2F9 /* Build configuration list for PBXNativeTarget "Pods-UIDevice-Utils_Example" */;
buildPhases = (
F8A2134AAF9B4AE4A37CD2F2A99F103E /* Sources */,
7C3A7A32CEEB7D5E453234841172D9FB /* Frameworks */,
01A2A6D8104FC8FEFD5C834272908373 /* Headers */,
);
buildRules = (
);
dependencies = (
77A22F46B23D07784D4DE7372A2A5B72 /* PBXTargetDependency */,
);
name = "Pods-UIDevice-Utils_Example";
productName = "Pods-UIDevice-Utils_Example";
productReference = EE3C8F09BB008419E2B58A4C6F702176 /* Pods_UIDevice_Utils_Example.framework */;
productReference = F942E89B6E69B97AD18A9206C47E6A10 /* UIDevice_Utils.framework */;
productType = "com.apple.product-type.framework";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
D41D8CD98F00B204E9800998ECF8427E /* Project object */ = {
BFDFE7DC352907FC980B868725387E98 /* Project object */ = {
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0830;
LastUpgradeCheck = 0700;
LastSwiftUpdateCheck = 0930;
LastUpgradeCheck = 0930;
};
buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */;
buildConfigurationList = 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
);
mainGroup = 7DB346D0F39D3F0E887471402A8071AB;
productRefGroup = 4A9E2E7B418025335D56B80A9AE149B5 /* Products */;
mainGroup = CF1408CF629C7361332E53B88F7BD30C;
productRefGroup = C6FCF5E59A06D9D56EDD8D675171B306 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
A67D4286BE7D56107575EB6964E9EE33 /* Pods-UIDevice-Utils_Example */,
3854BCF820B1DC175557976D53149A81 /* UIDevice-Utils */,
4E133ECA830629DBC77B7E42C2EE0DD5 /* Pods-UIDevice-Utils_Example */,
7B8DBBFBBAE53BD8083BF0DB04A7C8E1 /* UIDevice-Utils */,
);
};
/* End PBXProject section */
/* Begin PBXSourcesBuildPhase section */
5D59333FE115AA6F9E0F905C388F8407 /* Sources */ = {
isa = PBXSourcesBuildPhase;
/* Begin PBXResourcesBuildPhase section */
EE58C59139D54C6F6216ED08158431E6 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
BB9A95D120CC6921ED030EF3385D7295 /* UIDevice-Hardware.m in Sources */,
AB0F428B5219520A11BB36B2B87386CF /* UIDevice-Utils-dummy.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
F8A2134AAF9B4AE4A37CD2F2A99F103E /* Sources */ = {
FF91A7569800DD86EF8FF553AA0389BE /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
C7819D198AC3477D9C1563DB560EB636 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
8A750382C1B390F38D2B8437B4AF7B40 /* Pods-UIDevice-Utils_Example-dummy.m in Sources */,
78227D0A9E5C3C7E221669EC4BEC9E84 /* Pods-UIDevice-Utils_Example-dummy.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
E464F26F67E41575F89BCA64B9D2AB7D /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
030BE27433AF0162029A43EE69B989DB /* UIDevice-Hardware.m in Sources */,
1416D0820509C642BE2BE65F7A872AC0 /* UIDevice-Utils-dummy.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
77A22F46B23D07784D4DE7372A2A5B72 /* PBXTargetDependency */ = {
5F418A0F7AB1D677B0BE6CB2402FAF50 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
name = "UIDevice-Utils";
target = 3854BCF820B1DC175557976D53149A81 /* UIDevice-Utils */;
targetProxy = FF0238829A8A96287D580DF24509CC08 /* PBXContainerItemProxy */;
target = 7B8DBBFBBAE53BD8083BF0DB04A7C8E1 /* UIDevice-Utils */;
targetProxy = 5FBE2CC7EE740C8AEC5044C06D80774D /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
/* Begin XCBuildConfiguration section */
2CD8E9C7AF2BD46684B75F5039CD2AC4 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 3BCA87344E16C47439507D2ECCC44CB2 /* UIDevice-Utils.xcconfig */;
buildSettings = {
CODE_SIGN_IDENTITY = "";
"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
GCC_PREFIX_HEADER = "Target Support Files/UIDevice-Utils/UIDevice-Utils-prefix.pch";
INFOPLIST_FILE = "Target Support Files/UIDevice-Utils/Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MODULEMAP_FILE = "Target Support Files/UIDevice-Utils/UIDevice-Utils.modulemap";
PRODUCT_NAME = UIDevice_Utils;
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Debug;
};
7A2098C61B67FB285CC9CF5B8286B6B8 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 9075BD7F58A782313802B56E60B6E370 /* Pods-UIDevice-Utils_Example.debug.xcconfig */;
buildSettings = {
CODE_SIGN_IDENTITY = "";
"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = "Target Support Files/Pods-UIDevice-Utils_Example/Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MACH_O_TYPE = staticlib;
MODULEMAP_FILE = "Target Support Files/Pods-UIDevice-Utils_Example/Pods-UIDevice-Utils_Example.modulemap";
OTHER_LDFLAGS = "";
OTHER_LIBTOOLFLAGS = "";
PODS_ROOT = "$(SRCROOT)";
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}";
PRODUCT_NAME = Pods_UIDevice_Utils_Example;
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Debug;
};
9FA8FCE6CDE63A28403E953645D21C9B /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = D4C4E158E4909837657BB907588C142A /* Pods-UIDevice-Utils_Example.release.xcconfig */;
buildSettings = {
CODE_SIGN_IDENTITY = "";
"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = "Target Support Files/Pods-UIDevice-Utils_Example/Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MACH_O_TYPE = staticlib;
MODULEMAP_FILE = "Target Support Files/Pods-UIDevice-Utils_Example/Pods-UIDevice-Utils_Example.modulemap";
OTHER_LDFLAGS = "";
OTHER_LIBTOOLFLAGS = "";
PODS_ROOT = "$(SRCROOT)";
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}";
PRODUCT_NAME = Pods_UIDevice_Utils_Example;
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Release;
};
B148A5B624A02DD1BD50FA5C4267D89C /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 3BCA87344E16C47439507D2ECCC44CB2 /* UIDevice-Utils.xcconfig */;
buildSettings = {
CODE_SIGN_IDENTITY = "";
"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
GCC_PREFIX_HEADER = "Target Support Files/UIDevice-Utils/UIDevice-Utils-prefix.pch";
INFOPLIST_FILE = "Target Support Files/UIDevice-Utils/Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MODULEMAP_FILE = "Target Support Files/UIDevice-Utils/UIDevice-Utils.modulemap";
PRODUCT_NAME = UIDevice_Utils;
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Release;
};
B254DAA6CF0CE39F4A3D11B90A7E059A /* Release */ = {
05DF210AC65EBB0E593AAF976B2C2177 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
@ -430,10 +323,12 @@
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
@ -441,6 +336,7 @@
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
@ -449,7 +345,6 @@
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGNING_REQUIRED = NO;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
@ -468,14 +363,80 @@
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/;
STRIP_INSTALLED_PRODUCT = NO;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
SWIFT_VERSION = 4.2;
SYMROOT = "${SRCROOT}/../build";
};
name = Release;
};
E4B68EE12B21C47CB798D9B1ECA6D7A7 /* Debug */ = {
3C873DD00CC2832D4E203B9260D8740E /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 3D062FBF0B30FA5BF432273250E55C17 /* Pods-UIDevice-Utils_Example.debug.xcconfig */;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO;
CODE_SIGN_IDENTITY = "";
"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = "Target Support Files/Pods-UIDevice-Utils_Example/Pods-UIDevice-Utils_Example-Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MACH_O_TYPE = staticlib;
MODULEMAP_FILE = "Target Support Files/Pods-UIDevice-Utils_Example/Pods-UIDevice-Utils_Example.modulemap";
OTHER_LDFLAGS = "";
OTHER_LIBTOOLFLAGS = "";
PODS_ROOT = "$(SRCROOT)";
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}";
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Debug;
};
3D9532112D351DD84D333192C2AE0D74 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 301537099884617532647F705673FC20 /* UIDevice-Utils.xcconfig */;
buildSettings = {
CODE_SIGN_IDENTITY = "";
"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
GCC_PREFIX_HEADER = "Target Support Files/UIDevice-Utils/UIDevice-Utils-prefix.pch";
INFOPLIST_FILE = "Target Support Files/UIDevice-Utils/UIDevice-Utils-Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MODULEMAP_FILE = "Target Support Files/UIDevice-Utils/UIDevice-Utils.modulemap";
PRODUCT_MODULE_NAME = UIDevice_Utils;
PRODUCT_NAME = UIDevice_Utils;
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Debug;
};
421ECB1396280A8D83853C3DDBED1700 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
@ -485,10 +446,12 @@
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
@ -496,6 +459,7 @@
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
@ -504,7 +468,6 @@
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGNING_REQUIRED = NO;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
@ -525,47 +488,114 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
MTL_ENABLE_DEBUG_INFO = YES;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/;
STRIP_INSTALLED_PRODUCT = NO;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 4.2;
SYMROOT = "${SRCROOT}/../build";
};
name = Debug;
};
A61E79BCD420A5564B3E294B02C50E4A /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 301537099884617532647F705673FC20 /* UIDevice-Utils.xcconfig */;
buildSettings = {
CODE_SIGN_IDENTITY = "";
"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
GCC_PREFIX_HEADER = "Target Support Files/UIDevice-Utils/UIDevice-Utils-prefix.pch";
INFOPLIST_FILE = "Target Support Files/UIDevice-Utils/UIDevice-Utils-Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MODULEMAP_FILE = "Target Support Files/UIDevice-Utils/UIDevice-Utils.modulemap";
PRODUCT_MODULE_NAME = UIDevice_Utils;
PRODUCT_NAME = UIDevice_Utils;
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Release;
};
CD7463E5D96A1F48FD40E4C825964292 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = C95DEB05CDA3520523A7F726790A125B /* Pods-UIDevice-Utils_Example.release.xcconfig */;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO;
CODE_SIGN_IDENTITY = "";
"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = "Target Support Files/Pods-UIDevice-Utils_Example/Pods-UIDevice-Utils_Example-Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MACH_O_TYPE = staticlib;
MODULEMAP_FILE = "Target Support Files/Pods-UIDevice-Utils_Example/Pods-UIDevice-Utils_Example.modulemap";
OTHER_LDFLAGS = "";
OTHER_LIBTOOLFLAGS = "";
PODS_ROOT = "$(SRCROOT)";
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}";
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = {
30AF4B1E34F7DD6E5CE5140386DD9D68 /* Build configuration list for PBXNativeTarget "Pods-UIDevice-Utils_Example" */ = {
isa = XCConfigurationList;
buildConfigurations = (
E4B68EE12B21C47CB798D9B1ECA6D7A7 /* Debug */,
B254DAA6CF0CE39F4A3D11B90A7E059A /* Release */,
3C873DD00CC2832D4E203B9260D8740E /* Debug */,
CD7463E5D96A1F48FD40E4C825964292 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
78BB3F62F2A0E9E0E629F1E59B9ECD3C /* Build configuration list for PBXNativeTarget "UIDevice-Utils" */ = {
4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */ = {
isa = XCConfigurationList;
buildConfigurations = (
2CD8E9C7AF2BD46684B75F5039CD2AC4 /* Debug */,
B148A5B624A02DD1BD50FA5C4267D89C /* Release */,
421ECB1396280A8D83853C3DDBED1700 /* Debug */,
05DF210AC65EBB0E593AAF976B2C2177 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
E658B32F20DD480E880379F295BAE2F9 /* Build configuration list for PBXNativeTarget "Pods-UIDevice-Utils_Example" */ = {
E857EECF76D69D66F6460BF05A75C8A8 /* Build configuration list for PBXNativeTarget "UIDevice-Utils" */ = {
isa = XCConfigurationList;
buildConfigurations = (
7A2098C61B67FB285CC9CF5B8286B6B8 /* Debug */,
9FA8FCE6CDE63A28403E953645D21C9B /* Release */,
3D9532112D351DD84D333192C2AE0D74 /* Debug */,
A61E79BCD420A5564B3E294B02C50E4A /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
rootObject = BFDFE7DC352907FC980B868725387E98 /* Project object */;
}

View File

@ -0,0 +1,26 @@
<?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>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIdentifier</key>
<string>${PRODUCT_BUNDLE_IDENTIFIER}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>${CURRENT_PROJECT_VERSION}</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>

View File

@ -1,9 +1,23 @@
#!/bin/sh
set -e
set -u
set -o pipefail
function on_error {
echo "$(realpath -mq "${0}"):$1: error: Unexpected failure"
}
trap 'on_error $LINENO' ERR
if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then
# If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy
# frameworks to, so exit 0 (signalling the script phase was successful).
exit 0
fi
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}"
SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
# Used as a return value for each invocation of `strip_invalid_archs` function.
@ -27,8 +41,8 @@ install_framework()
local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
if [ -L "${source}" ]; then
echo "Symlinked..."
source="$(readlink "${source}")"
echo "Symlinked..."
source="$(readlink "${source}")"
fi
# Use filter instead of exclude so missing patterns don't throw errors.
@ -38,8 +52,13 @@ install_framework()
local basename
basename="$(basename -s .framework "$1")"
binary="${destination}/${basename}.framework/${basename}"
if ! [ -r "$binary" ]; then
binary="${destination}/${basename}"
elif [ -L "${binary}" ]; then
echo "Destination binary is symlinked..."
dirname="$(dirname "${binary}")"
binary="${dirname}/$(readlink "${binary}")"
fi
# Strip invalid architectures so "fat" simulator / device frameworks work on device
@ -53,7 +72,7 @@ install_framework()
# Embed linked Swift runtime libraries. No longer necessary as of Xcode 7.
if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then
local swift_runtime_libs
swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]})
swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u)
for lib in $swift_runtime_libs; do
echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\""
rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}"
@ -92,10 +111,10 @@ install_dsym() {
# Signs a framework with the provided identity
code_sign_if_enabled() {
if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then
# Use the current code_sign_identitiy
if [ -n "${EXPANDED_CODE_SIGN_IDENTITY:-}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then
# Use the current code_sign_identity
echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}"
local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'"
local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'"
if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then
code_sign_cmd="$code_sign_cmd &"
@ -122,7 +141,7 @@ strip_invalid_archs() {
for arch in $binary_archs; do
if ! [[ "${ARCHS}" == *"$arch"* ]]; then
# Strip non-valid architectures in-place
lipo -remove "$arch" -output "$binary" "$binary" || exit 1
lipo -remove "$arch" -output "$binary" "$binary"
stripped="$stripped $arch"
fi
done

View File

@ -1,5 +1,13 @@
#!/bin/sh
set -e
set -u
set -o pipefail
if [ -z ${UNLOCALIZED_RESOURCES_FOLDER_PATH+x} ]; then
# If UNLOCALIZED_RESOURCES_FOLDER_PATH is not set, then there's nowhere for us to copy
# resources to, so exit 0 (signalling the script phase was successful).
exit 0
fi
mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
@ -12,7 +20,7 @@ XCASSET_FILES=()
# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html
RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????")
case "${TARGETED_DEVICE_FAMILY}" in
case "${TARGETED_DEVICE_FAMILY:-}" in
1,2)
TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone"
;;
@ -92,7 +100,7 @@ if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then
fi
rm -f "$RESOURCES_TO_COPY"
if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ]
if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "${XCASSET_FILES:-}" ]
then
# Find all other xcassets (this unfortunately includes those of path pods and other targets).
OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d)
@ -102,5 +110,9 @@ then
fi
done <<<"$OTHER_XCASSETS"
printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
if [ -z ${ASSETCATALOG_COMPILER_APPICON_NAME+x} ]; then
printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
else
printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" --app-icon "${ASSETCATALOG_COMPILER_APPICON_NAME}" --output-partial-info-plist "${TARGET_TEMP_DIR}/assetcatalog_generated_info_cocoapods.plist"
fi
fi

View File

@ -1,7 +1,7 @@
FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/UIDevice-Utils"
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/UIDevice-Utils/UIDevice_Utils.framework/Headers"
LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/UIDevice-Utils/UIDevice_Utils.framework/Headers"
OTHER_LDFLAGS = $(inherited) -framework "UIDevice_Utils"
PODS_BUILD_DIR = ${BUILD_DIR}
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)

View File

@ -1,7 +1,7 @@
FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/UIDevice-Utils"
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/UIDevice-Utils/UIDevice_Utils.framework/Headers"
LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/UIDevice-Utils/UIDevice_Utils.framework/Headers"
OTHER_LDFLAGS = $(inherited) -framework "UIDevice_Utils"
PODS_BUILD_DIR = ${BUILD_DIR}
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)

View File

@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0.6</string>
<string>1.0.9</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>

View File

@ -0,0 +1,26 @@
<?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>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIdentifier</key>
<string>${PRODUCT_BUNDLE_IDENTIFIER}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>${CURRENT_PROJECT_VERSION}</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>

View File

@ -1,6 +1,5 @@
CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/UIDevice-Utils
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public"
PODS_BUILD_DIR = ${BUILD_DIR}
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
PODS_ROOT = ${SRCROOT}

View File

@ -177,9 +177,7 @@
6003F587195388D20070C39A /* Frameworks */,
6003F588195388D20070C39A /* Resources */,
35E4213B9E1C67B7EE10F07B /* 📦 Embed Pods Frameworks */,
139DF5E5FACC074221E793BD /* 📦 Copy Pods Resources */,
61FBE1F7D10697521EBBC633 /* [CP] Embed Pods Frameworks */,
D5B2822A3A0FEEF20334CB8F /* [CP] Copy Pods Resources */,
);
buildRules = (
);
@ -237,21 +235,6 @@
/* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */
139DF5E5FACC074221E793BD /* 📦 Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "📦 Copy Pods Resources";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-UIDevice-Utils_Example/Pods-UIDevice-Utils_Example-resources.sh\"\n";
showEnvVarsInLog = 0;
};
142D424B4AF90873404D61E8 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
@ -291,7 +274,7 @@
files = (
);
inputPaths = (
"${SRCROOT}/Pods/Target Support Files/Pods-UIDevice-Utils_Example/Pods-UIDevice-Utils_Example-frameworks.sh",
"${PODS_ROOT}/Target Support Files/Pods-UIDevice-Utils_Example/Pods-UIDevice-Utils_Example-frameworks.sh",
"${BUILT_PRODUCTS_DIR}/UIDevice-Utils/UIDevice_Utils.framework",
);
name = "[CP] Embed Pods Frameworks";
@ -300,7 +283,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-UIDevice-Utils_Example/Pods-UIDevice-Utils_Example-frameworks.sh\"\n";
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-UIDevice-Utils_Example/Pods-UIDevice-Utils_Example-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
8B5AB5052D35EE1D56D87225 /* 📦 Check Pods Manifest.lock */ = {
@ -318,21 +301,6 @@
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";
showEnvVarsInLog = 0;
};
D5B2822A3A0FEEF20334CB8F /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "[CP] Copy Pods Resources";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-UIDevice-Utils_Example/Pods-UIDevice-Utils_Example-resources.sh\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */
/* Begin PBXSourcesBuildPhase section */

View File

@ -0,0 +1,8 @@
<?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>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>

View File

@ -1,5 +1,15 @@
{
"images" : [
{
"idiom" : "iphone",
"size" : "20x20",
"scale" : "2x"
},
{
"idiom" : "iphone",
"size" : "20x20",
"scale" : "3x"
},
{
"idiom" : "iphone",
"size" : "29x29",
@ -30,6 +40,16 @@
"size" : "60x60",
"scale" : "3x"
},
{
"idiom" : "ipad",
"size" : "20x20",
"scale" : "1x"
},
{
"idiom" : "ipad",
"size" : "20x20",
"scale" : "2x"
},
{
"idiom" : "ipad",
"size" : "29x29",
@ -64,6 +84,11 @@
"idiom" : "ipad",
"size" : "83.5x83.5",
"scale" : "2x"
},
{
"idiom" : "ios-marketing",
"size" : "1024x1024",
"scale" : "1x"
}
],
"info" : {

View File

@ -2,157 +2,211 @@
"images" : [
{
"extent" : "full-screen",
"filename" : "Default-Portrait-1792h@3x.png",
"orientation" : "portrait",
"idiom" : "iphone",
"subtype" : "736h",
"minimum-system-version" : "12.0",
"scale" : "2x",
"subtype" : "1792h"
},
{
"extent" : "full-screen",
"filename" : "Default-Landscape-1792h@3x.png",
"orientation" : "landscape",
"idiom" : "iphone",
"minimum-system-version" : "12.0",
"scale" : "2x",
"subtype" : "1792h"
},
{
"extent" : "full-screen",
"filename" : "Default-Portrait-2688h@3x.png",
"orientation" : "portrait",
"idiom" : "iphone",
"minimum-system-version" : "12.0",
"scale" : "3x",
"subtype" : "2688h"
},
{
"extent" : "full-screen",
"filename" : "Default-Landscape-2688h@3x.png",
"orientation" : "landscape",
"idiom" : "iphone",
"minimum-system-version" : "12.0",
"scale" : "3x",
"subtype" : "2688h"
},
{
"extent" : "full-screen",
"filename" : "Default-Portrait-2436h@3x.png",
"orientation" : "portrait",
"idiom" : "iphone",
"minimum-system-version" : "11.0",
"scale" : "3x",
"subtype" : "2436h"
},
{
"extent" : "full-screen",
"filename" : "Default-Landscape-2436h@3x.png",
"orientation" : "landscape",
"idiom" : "iphone",
"minimum-system-version" : "11.0",
"scale" : "3x",
"subtype" : "2436h"
},
{
"scale" : "1x",
"idiom" : "iphone",
"orientation" : "portrait",
"extent" : "full-screen",
"filename" : "Default.png"
},
{
"minimum-system-version" : "7.0",
"idiom" : "iphone",
"scale" : "2x",
"orientation" : "portrait",
"extent" : "full-screen",
"filename" : "Default@2x.png"
},
{
"scale" : "2x",
"idiom" : "iphone",
"orientation" : "portrait",
"extent" : "full-screen",
"subtype" : "retina4",
"filename" : "Default-568h@2x.png"
},
{
"extent" : "full-screen",
"filename" : "Default-568h@2x.png",
"orientation" : "portrait",
"idiom" : "iphone",
"minimum-system-version" : "7.0",
"scale" : "2x",
"subtype" : "retina4"
},
{
"scale" : "2x",
"idiom" : "iphone",
"orientation" : "portrait",
"extent" : "full-screen",
"filename" : "Default@2x.png"
},
{
"scale" : "1x",
"idiom" : "ipad",
"orientation" : "portrait",
"extent" : "to-status-bar",
"filename" : "Default~ipad.png"
},
{
"scale" : "2x",
"idiom" : "ipad",
"orientation" : "portrait",
"extent" : "to-status-bar",
"filename" : "Default~ipad@2x.png"
},
{
"scale" : "1x",
"idiom" : "ipad",
"orientation" : "landscape",
"extent" : "to-status-bar",
"filename" : "Default~ipad~landscape.png"
},
{
"scale" : "2x",
"idiom" : "ipad",
"orientation" : "landscape",
"extent" : "to-status-bar",
"filename" : "Default~ipad~landscape@2x.png"
},
{
"minimum-system-version" : "7.0",
"idiom" : "ipad",
"scale" : "1x",
"orientation" : "portrait",
"extent" : "full-screen",
"filename" : "Default~ipad~nostatusbar.png"
},
{
"scale" : "1x",
"idiom" : "ipad",
"orientation" : "portrait",
"extent" : "full-screen",
"filename" : "Default~ipad~nostatusbar.png"
},
{
"minimum-system-version" : "7.0",
"idiom" : "ipad",
"scale" : "2x",
"orientation" : "portrait",
"extent" : "full-screen",
"filename" : "Default~ipad~nostatusbar@2x.png"
},
{
"scale" : "2x",
"idiom" : "ipad",
"orientation" : "portrait",
"extent" : "full-screen",
"filename" : "Default~ipad~nostatusbar@2x.png"
},
{
"minimum-system-version" : "7.0",
"idiom" : "ipad",
"scale" : "1x",
"orientation" : "landscape",
"extent" : "full-screen",
"filename" : "Default~ipad~landscape~nostatusbar.png"
},
{
"scale" : "1x",
"idiom" : "ipad",
"orientation" : "landscape",
"extent" : "full-screen",
"filename" : "Default~ipad~landscape~nostatusbar.png"
},
{
"minimum-system-version" : "7.0",
"idiom" : "ipad",
"scale" : "2x",
"orientation" : "landscape",
"extent" : "full-screen",
"filename" : "Default~ipad~landscape~nostatusbar@2x.png"
},
{
"scale" : "2x",
"idiom" : "ipad",
"orientation" : "landscape",
"extent" : "full-screen",
"filename" : "Default~ipad~landscape~nostatusbar@2x.png"
},
{
"extent" : "full-screen",
"filename" : "Default-Portrait-736h@3x.png",
"minimum-system-version" : "8.0",
"orientation" : "portrait",
"scale" : "3x"
"idiom" : "iphone",
"minimum-system-version" : "8.0",
"scale" : "3x",
"subtype" : "736h"
},
{
"extent" : "full-screen",
"idiom" : "iphone",
"subtype" : "736h",
"filename" : "Default-Landscape-736h@3x.png",
"minimum-system-version" : "8.0",
"orientation" : "landscape",
"scale" : "3x"
"idiom" : "iphone",
"minimum-system-version" : "8.0",
"scale" : "3x",
"subtype" : "736h"
},
{
"extent" : "full-screen",
"idiom" : "iphone",
"subtype" : "667h",
"filename" : "Default-667h@2x.png",
"orientation" : "portrait",
"idiom" : "iphone",
"minimum-system-version" : "8.0",
"orientation" : "portrait",
"scale" : "2x"
},
{
"orientation" : "portrait",
"idiom" : "iphone",
"filename" : "Default@2x.png",
"extent" : "full-screen",
"minimum-system-version" : "7.0",
"scale" : "2x"
},
{
"extent" : "full-screen",
"idiom" : "iphone",
"subtype" : "retina4",
"filename" : "Default-568h@2x.png",
"minimum-system-version" : "7.0",
"orientation" : "portrait",
"scale" : "2x"
},
{
"orientation" : "portrait",
"idiom" : "ipad",
"filename" : "Default~ipad~nostatusbar.png",
"extent" : "full-screen",
"minimum-system-version" : "7.0",
"scale" : "1x"
},
{
"orientation" : "landscape",
"idiom" : "ipad",
"filename" : "Default~ipad~landscape~nostatusbar.png",
"extent" : "full-screen",
"minimum-system-version" : "7.0",
"scale" : "1x"
},
{
"orientation" : "portrait",
"idiom" : "ipad",
"filename" : "Default~ipad~nostatusbar@2x.png",
"extent" : "full-screen",
"minimum-system-version" : "7.0",
"scale" : "2x"
},
{
"orientation" : "landscape",
"idiom" : "ipad",
"filename" : "Default~ipad~landscape~nostatusbar@2x.png",
"extent" : "full-screen",
"minimum-system-version" : "7.0",
"scale" : "2x"
},
{
"orientation" : "portrait",
"idiom" : "iphone",
"filename" : "Default.png",
"extent" : "full-screen",
"scale" : "1x"
},
{
"orientation" : "portrait",
"idiom" : "iphone",
"filename" : "Default@2x.png",
"extent" : "full-screen",
"scale" : "2x"
},
{
"orientation" : "portrait",
"idiom" : "iphone",
"filename" : "Default-568h@2x.png",
"extent" : "full-screen",
"subtype" : "retina4",
"scale" : "2x"
},
{
"orientation" : "portrait",
"idiom" : "ipad",
"filename" : "Default~ipad.png",
"extent" : "to-status-bar",
"scale" : "1x"
},
{
"orientation" : "portrait",
"idiom" : "ipad",
"filename" : "Default~ipad~nostatusbar.png",
"extent" : "full-screen",
"scale" : "1x"
},
{
"orientation" : "landscape",
"idiom" : "ipad",
"filename" : "Default~ipad~landscape.png",
"extent" : "to-status-bar",
"scale" : "1x"
},
{
"orientation" : "landscape",
"idiom" : "ipad",
"filename" : "Default~ipad~landscape~nostatusbar.png",
"extent" : "full-screen",
"scale" : "1x"
},
{
"orientation" : "portrait",
"idiom" : "ipad",
"filename" : "Default~ipad@2x.png",
"extent" : "to-status-bar",
"scale" : "2x"
},
{
"orientation" : "portrait",
"idiom" : "ipad",
"filename" : "Default~ipad~nostatusbar@2x.png",
"extent" : "full-screen",
"scale" : "2x"
},
{
"orientation" : "landscape",
"idiom" : "ipad",
"filename" : "Default~ipad~landscape@2x.png",
"extent" : "to-status-bar",
"scale" : "2x"
},
{
"orientation" : "landscape",
"idiom" : "ipad",
"filename" : "Default~ipad~landscape~nostatusbar@2x.png",
"extent" : "full-screen",
"scale" : "2x"
"scale" : "2x",
"subtype" : "667h"
}
],
"info" : {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 44 KiB

View File

@ -36,6 +36,9 @@ typedef NS_ENUM(NSUInteger, UIDeviceGenerationModel) {
UIDeviceGenerationModeliPhone8,
UIDeviceGenerationModeliPhone8Plus,
UIDeviceGenerationModeliPhoneX,
UIDeviceGenerationModeliPhoneXR,
UIDeviceGenerationModeliPhoneXS,
UIDeviceGenerationModeliPhoneXSMax,
UIDeviceGenerationModeliPhoneSimulator,
UIDeviceGenerationModeliPad1,
UIDeviceGenerationModeliPad2,
@ -73,6 +76,7 @@ typedef NS_ENUM(NSUInteger, UIDeviceModelInches) {
UIDeviceModelInches47,
UIDeviceModelInches55,
UIDeviceModelInches58,
UIDeviceModelInches65,
UIDeviceModelInches79,
UIDeviceModelInches97,
UIDeviceModelInches105,
@ -82,6 +86,7 @@ typedef NS_ENUM(NSUInteger, UIDeviceModelInches) {
UIDeviceSimulatorModelInches47 = UIDeviceModelInches47,
UIDeviceSimulatorModelInches55 = UIDeviceModelInches55,
UIDeviceSimulatorModelInches58 = UIDeviceModelInches58,
UIDeviceSimulatorModelInches65 = UIDeviceModelInches65,
UIDeviceSimulatorModelInches79 = UIDeviceModelInches79,
UIDeviceSimulatorModelInches97 = UIDeviceModelInches97,
UIDeviceSimulatorModelInches105 = UIDeviceModelInches105,

View File

@ -72,6 +72,10 @@
if ([modelIdentifier isEqualToString:@"iPhone10,4"]) return UIDeviceGenerationModeliPhone8;
if ([modelIdentifier isEqualToString:@"iPhone10,5"]) return UIDeviceGenerationModeliPhone8Plus;
if ([modelIdentifier isEqualToString:@"iPhone10,6"]) return UIDeviceGenerationModeliPhoneX;
if ([modelIdentifier isEqualToString:@"iPhone11,2"]) return UIDeviceGenerationModeliPhoneXS;
if ([modelIdentifier isEqualToString:@"iPhone11,4"]) return UIDeviceGenerationModeliPhoneXSMax;
if ([modelIdentifier isEqualToString:@"iPhone11,6"]) return UIDeviceGenerationModeliPhoneXSMax;
if ([modelIdentifier isEqualToString:@"iPhone11,8"]) return UIDeviceGenerationModeliPhoneXR;
// iPad http://theiphonewiki.com/wiki/IPad
@ -114,10 +118,10 @@
if ([modelIdentifier isEqualToString:@"iPad6,4"]) return UIDeviceGenerationModeliPadPro97; // http://pdadb.net/index.php?m=specs&id=9981&c=apple_ipad_pro_9.7-inch_a1675_td-lte_32gb_apple_ipad_6,4
if ([modelIdentifier isEqualToString:@"iPad6,7"]) return UIDeviceGenerationModeliPadPro12; // http://pdadb.net/index.php?m=specs&id=8960&c=apple_ipad_pro_wifi_a1584_128gb
if ([modelIdentifier isEqualToString:@"iPad6,8"]) return UIDeviceGenerationModeliPadPro12; // http://pdadb.net/index.php?m=specs&id=8965&c=apple_ipad_pro_td-lte_a1652_32gb_apple_ipad_6,8
if ([modelIdentifier isEqualToString:@"iPad 7,1"]) return UIDeviceGenerationModeliPadPro12;
if ([modelIdentifier isEqualToString:@"iPad 7,2"]) return UIDeviceGenerationModeliPadPro12;
if ([modelIdentifier isEqualToString:@"iPad 7,3"]) return UIDeviceGenerationModeliPadPro105;
if ([modelIdentifier isEqualToString:@"iPad 7,4"]) return UIDeviceGenerationModeliPadPro105;
if ([modelIdentifier isEqualToString:@"iPad7,1"]) return UIDeviceGenerationModeliPadPro12;
if ([modelIdentifier isEqualToString:@"iPad7,2"]) return UIDeviceGenerationModeliPadPro12;
if ([modelIdentifier isEqualToString:@"iPad7,3"]) return UIDeviceGenerationModeliPadPro105;
if ([modelIdentifier isEqualToString:@"iPad7,4"]) return UIDeviceGenerationModeliPadPro105;
// iPod http://theiphonewiki.com/wiki/IPod
@ -138,13 +142,28 @@
if ([modelIdentifier hasSuffix:@"86"] || [modelIdentifier isEqual:@"x86_64"])
{
BOOL iPhoneScreen = ([[UIScreen mainScreen] bounds].size.width < 768.0);
BOOL iPadScreen = !iPhoneScreen;
if (iPadScreen) {
return UIDeviceGenerationModeliPadSimulator;
}
else {
return UIDeviceGenerationModeliPhoneSimulator;
CGRect screenRect = [[UIScreen mainScreen] bounds];
NSInteger screenHeight = ((NSInteger)screenRect.size.height > (NSInteger)screenRect.size.width) ? (NSInteger)screenRect.size.height : (NSInteger)screenRect.size.width;
switch (screenHeight) {
case 480:
case 568:
case 667:
case 736:
case 812:
case 896:{
return UIDeviceGenerationModeliPhoneSimulator;
break;
}
break;
case 1024:
case 1366:{
return UIDeviceGenerationModeliPadSimulator;
break;
}
default:{
break;
}
}
}
return UIDeviceGenerationModelUnknown;
@ -182,6 +201,11 @@
if ([modelIdentifier isEqualToString:@"iPhone10,4"]) return @"iPhone 8"; // AT&T, Global
if ([modelIdentifier isEqualToString:@"iPhone10,5"]) return @"iPhone 8 Plus"; // AT&T, Global
if ([modelIdentifier isEqualToString:@"iPhone10,6"]) return @"iPhone X"; // AT&T, Global
if ([modelIdentifier isEqualToString:@"iPhone11,2"]) return @"iPhone XS";
if ([modelIdentifier isEqualToString:@"iPhone11,4"]) return @"iPhone XSMax";
if ([modelIdentifier isEqualToString:@"iPhone11,6"]) return @"iPhone XSMax";
if ([modelIdentifier isEqualToString:@"iPhone10,8"]) return @"iPhone XR";
// iPad http://theiphonewiki.com/wiki/IPad
@ -224,10 +248,10 @@
if ([modelIdentifier isEqualToString:@"iPad6,4"]) return @"iPad Pro (9.7 inch) 1G (Cellular)"; // http://pdadb.net/index.php?m=specs&id=9981&c=apple_ipad_pro_9.7-inch_a1675_td-lte_32gb_apple_ipad_6,4
if ([modelIdentifier isEqualToString:@"iPad6,7"]) return @"iPad Pro (12.9 inch) 1G (Wi-Fi)"; // http://pdadb.net/index.php?m=specs&id=8960&c=apple_ipad_pro_wifi_a1584_128gb
if ([modelIdentifier isEqualToString:@"iPad6,8"]) return @"iPad Pro (12.9 inch) 1G (Cellular)"; // http://pdadb.net/index.php?m=specs&id=8965&c=apple_ipad_pro_td-lte_a1652_32gb_apple_ipad_6,8
if ([modelIdentifier isEqualToString:@"iPad 7,1"]) return @"iPad Pro (12.9 inch) 2G (Wi-Fi)";
if ([modelIdentifier isEqualToString:@"iPad 7,2"]) return @"iPad Pro (12.9 inch) 2G (Cellular)";
if ([modelIdentifier isEqualToString:@"iPad 7,3"]) return @"iPad Pro (10.5 inch) 1G (Wi-Fi)";
if ([modelIdentifier isEqualToString:@"iPad 7,4"]) return @"iPad Pro (10.5 inch) 1G (Cellular)";
if ([modelIdentifier isEqualToString:@"iPad7,1"]) return @"iPad Pro (12.9 inch) 2G (Wi-Fi)";
if ([modelIdentifier isEqualToString:@"iPad7,2"]) return @"iPad Pro (12.9 inch) 2G (Cellular)";
if ([modelIdentifier isEqualToString:@"iPad7,3"]) return @"iPad Pro (10.5 inch) 1G (Wi-Fi)";
if ([modelIdentifier isEqualToString:@"iPad7,4"]) return @"iPad Pro (10.5 inch) 1G (Cellular)";
// iPod http://theiphonewiki.com/wiki/IPod
@ -249,8 +273,31 @@
// Simulator
if ([modelIdentifier hasSuffix:@"86"] || [modelIdentifier isEqual:@"x86_64"])
{
BOOL smallerScreen = ([[UIScreen mainScreen] bounds].size.width < 768.0);
return (smallerScreen ? @"iPhone Simulator" : @"iPad Simulator");
CGRect screenRect = [[UIScreen mainScreen] bounds];
NSInteger screenHeight = ((NSInteger)screenRect.size.height > (NSInteger)screenRect.size.width) ? (NSInteger)screenRect.size.height : (NSInteger)screenRect.size.width;
switch (screenHeight) {
case 480:
case 568:
case 667:
case 736:
case 812:
case 896:{
return @"iPhone Simulator";
break;
}
break;
case 1024:
case 1366:{
return @"iPad Simulator";
break;
}
default:{
return @"";
break;
}
}
}
return modelIdentifier;
@ -286,10 +333,16 @@
return UIDeviceModelInches55;
}
break;
case UIDeviceGenerationModeliPhoneX:{
case UIDeviceGenerationModeliPhoneX:
case UIDeviceGenerationModeliPhoneXS:
case UIDeviceGenerationModeliPhoneXR:{
return UIDeviceModelInches58;
}
break;
case UIDeviceGenerationModeliPhoneXSMax:{
return UIDeviceModelInches65;
}
break;
case UIDeviceGenerationModeliPad1:
case UIDeviceGenerationModeliPad2:
case UIDeviceGenerationModeliPad3:
@ -338,6 +391,16 @@
return UIDeviceSimulatorModelInches55;
break;
}
case 812:{
return UIDeviceSimulatorModelInches58;
break;
}
break;
case 896:{
return UIDeviceSimulatorModelInches65;
break;
}
break;
case 1024:{
return UIDeviceModelInches97;
break;

View File

@ -8,7 +8,7 @@
Pod::Spec.new do |s|
s.name = "UIDevice-Utils"
s.version = "1.0.6"
s.version = "1.1.0"
s.summary = "Category on UIDevice to distinguish between platforms."
s.description = "Category to easy distinguish devices, family platform device, or device inches. Provide human-readable device names e.g. 'iPhone 6S Plus' or enums e.g. 'UIDeviceGenerationModeliPhone6SPlus'"
s.homepage = "https://github.com/giuseppenucifora/UIDevice-Utils"