├── _Pods.xcodeproj ├── lsj-PrivateProtocolAlert ├── Assets │ └── .gitkeep └── Classes │ ├── .gitkeep │ ├── LSJPrivateProtocolAlert.h │ └── LSJPrivateProtocolAlert.m ├── Example ├── Tests │ ├── en.lproj │ │ └── InfoPlist.strings │ ├── Tests-Prefix.pch │ ├── Tests-Info.plist │ └── Tests.m ├── lsj-PrivateProtocolAlert │ ├── en.lproj │ │ └── InfoPlist.strings │ ├── LSJViewController.h │ ├── LSJAppDelegate.h │ ├── main.m │ ├── lsj-PrivateProtocolAlert-Prefix.pch │ ├── LSJViewController.m │ ├── lsj-PrivateProtocolAlert-Info.plist │ ├── Base.lproj │ │ ├── LaunchScreen.storyboard │ │ └── Main.storyboard │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ └── LSJAppDelegate.m ├── lsj-PrivateProtocolAlert.xcodeproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ ├── xcshareddata │ │ └── xcschemes │ │ │ └── lsj-PrivateProtocolAlert-Example.xcscheme │ └── project.pbxproj ├── Podfile └── lsj-PrivateProtocolAlert.xcworkspace │ ├── xcshareddata │ └── IDEWorkspaceChecks.plist │ └── contents.xcworkspacedata ├── assets ├── image.gif └── image.png ├── .travis.yml ├── .gitignore ├── LICENSE ├── lsj-PrivateProtocolAlert.podspec └── README.md /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj -------------------------------------------------------------------------------- /lsj-PrivateProtocolAlert/Assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lsj-PrivateProtocolAlert/Classes/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Example/Tests/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Example/lsj-PrivateProtocolAlert/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /assets/image.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lishangjing-spec/lsj-PrivateProtocolAlert/HEAD/assets/image.gif -------------------------------------------------------------------------------- /assets/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lishangjing-spec/lsj-PrivateProtocolAlert/HEAD/assets/image.png -------------------------------------------------------------------------------- /Example/Tests/Tests-Prefix.pch: -------------------------------------------------------------------------------- 1 | // The contents of this file are implicitly included at the beginning of every test case source file. 2 | 3 | #ifdef __OBJC__ 4 | 5 | 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /Example/lsj-PrivateProtocolAlert.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | platform :ios, '9.0' 4 | 5 | target 'lsj-PrivateProtocolAlert_Example' do 6 | pod 'lsj-PrivateProtocolAlert', :path => '../' 7 | 8 | target 'lsj-PrivateProtocolAlert_Tests' do 9 | inherit! :search_paths 10 | 11 | 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /Example/lsj-PrivateProtocolAlert/LSJViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // LSJViewController.h 3 | // lsj-PrivateProtocolAlert 4 | // 5 | // Created by lsj on 10/15/2021. 6 | // Copyright (c) 2021 lsj. All rights reserved. 7 | // 8 | 9 | @import UIKit; 10 | 11 | @interface LSJViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Example/lsj-PrivateProtocolAlert.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/lsj-PrivateProtocolAlert.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/lsj-PrivateProtocolAlert/LSJAppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // LSJAppDelegate.h 3 | // lsj-PrivateProtocolAlert 4 | // 5 | // Created by lsj on 10/15/2021. 6 | // Copyright (c) 2021 lsj. All rights reserved. 7 | // 8 | 9 | @import UIKit; 10 | 11 | @interface LSJAppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /Example/lsj-PrivateProtocolAlert/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // lsj-PrivateProtocolAlert 4 | // 5 | // Created by lsj on 10/15/2021. 6 | // Copyright (c) 2021 lsj. All rights reserved. 7 | // 8 | 9 | @import UIKit; 10 | #import "LSJAppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) 13 | { 14 | @autoreleasepool { 15 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([LSJAppDelegate class])); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Example/lsj-PrivateProtocolAlert/lsj-PrivateProtocolAlert-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header 3 | // 4 | // The contents of this file are implicitly included at the beginning of every source file. 5 | // 6 | 7 | #import 8 | 9 | #ifndef __IPHONE_5_0 10 | #warning "This project uses features only available in iOS SDK 5.0 and later." 11 | #endif 12 | 13 | #ifdef __OBJC__ 14 | @import UIKit; 15 | @import Foundation; 16 | #endif 17 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # references: 2 | # * https://www.objc.io/issues/6-build-tools/travis-ci/ 3 | # * https://github.com/supermarin/xcpretty#usage 4 | 5 | osx_image: xcode7.3 6 | language: objective-c 7 | # cache: cocoapods 8 | # podfile: Example/Podfile 9 | # before_install: 10 | # - gem install cocoapods # Since Travis is not always on latest version 11 | # - pod install --project-directory=Example 12 | script: 13 | - set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/lsj-PrivateProtocolAlert.xcworkspace -scheme lsj-PrivateProtocolAlert-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty 14 | - pod lib lint 15 | -------------------------------------------------------------------------------- /Example/lsj-PrivateProtocolAlert/LSJViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // LSJViewController.m 3 | // lsj-PrivateProtocolAlert 4 | // 5 | // Created by lsj on 10/15/2021. 6 | // Copyright (c) 2021 lsj. All rights reserved. 7 | // 8 | 9 | #import "LSJViewController.h" 10 | 11 | @interface LSJViewController () 12 | 13 | @end 14 | 15 | @implementation LSJViewController 16 | 17 | - (void)viewDidLoad 18 | { 19 | [super viewDidLoad]; 20 | // Do any additional setup after loading the view, typically from a nib. 21 | self.view.backgroundColor = [UIColor redColor]; 22 | } 23 | 24 | - (void)didReceiveMemoryWarning 25 | { 26 | [super didReceiveMemoryWarning]; 27 | // Dispose of any resources that can be recreated. 28 | } 29 | 30 | @end 31 | -------------------------------------------------------------------------------- /Example/Tests/Tests-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 1.0 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /Example/Tests/Tests.m: -------------------------------------------------------------------------------- 1 | // 2 | // lsj-PrivateProtocolAlertTests.m 3 | // lsj-PrivateProtocolAlertTests 4 | // 5 | // Created by lsj on 10/15/2021. 6 | // Copyright (c) 2021 lsj. All rights reserved. 7 | // 8 | 9 | @import XCTest; 10 | 11 | @interface Tests : XCTestCase 12 | 13 | @end 14 | 15 | @implementation Tests 16 | 17 | - (void)setUp 18 | { 19 | [super setUp]; 20 | // Put setup code here. This method is called before the invocation of each test method in the class. 21 | } 22 | 23 | - (void)tearDown 24 | { 25 | // Put teardown code here. This method is called after the invocation of each test method in the class. 26 | [super tearDown]; 27 | } 28 | 29 | - (void)testExample 30 | { 31 | XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__); 32 | } 33 | 34 | @end 35 | 36 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # macOS 2 | .DS_Store 3 | 4 | # Xcode 5 | build/ 6 | *.pbxuser 7 | !default.pbxuser 8 | *.mode1v3 9 | !default.mode1v3 10 | *.mode2v3 11 | !default.mode2v3 12 | *.perspectivev3 13 | !default.perspectivev3 14 | xcuserdata/ 15 | *.xccheckout 16 | profile 17 | *.moved-aside 18 | DerivedData 19 | *.hmap 20 | *.ipa 21 | 22 | # Bundler 23 | .bundle 24 | 25 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 26 | # Carthage/Checkouts 27 | 28 | Carthage/Build 29 | 30 | # We recommend against adding the Pods directory to your .gitignore. However 31 | # you should judge for yourself, the pros and cons are mentioned at: 32 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 33 | # 34 | # Note: if you ignore the Pods directory, make sure to uncomment 35 | # `pod install` in .travis.yml 36 | # 37 | Pods 38 | Podfile.lock 39 | #*.xcworkspace 40 | #*.xcuserstate 41 | #*.xcbkptlist 42 | #*.xcuserstate 43 | #*.xcbkptlist 44 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2021 lsj <534016847@qq.com> 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /lsj-PrivateProtocolAlert/Classes/LSJPrivateProtocolAlert.h: -------------------------------------------------------------------------------- 1 | // 2 | // PrivateProtocolAlert.h 3 | // lsj-PrivateProtocolAlert 4 | // 5 | // Created by Lishangjing on 2021/3/29. 6 | // Copyright © 2021 liuny. All rights reserved. 7 | // 8 | 9 | @import UIKit; 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | 14 | @protocol LSJPrivateProtocolAlertDelegate 15 | 16 | @required 17 | 18 | /// 完成 19 | - (void)lsjPrivateProtocolAlert_completion; 20 | 21 | @optional 22 | 23 | /// 自定义用户协议、隐私政策点击事件 24 | - (void)lsjPrivateProtocolAlert_userAgreementClick; 25 | - (void)lsjPrivateProtocolAlert_privacyPolicyClick; 26 | 27 | @end 28 | 29 | @interface LSJPrivateProtocolAlert : UIViewController 30 | 31 | @property (nonatomic, weak) id delegate; 32 | 33 | // 自定义确定按钮的样式 34 | @property (nonatomic,strong) UIButton *sureButton;/**< 确认按钮 */ 35 | 36 | @property (nonatomic,strong) NSString *appName;/**< 设置应用名称 Default: [[NSBundle mainBundle] infoDictionary]*/ 37 | @property (nonatomic,strong) UIColor *nomalTextColor;/**< 设置文字颜色 Default: 333333 */ 38 | @property (nonatomic,strong) UIColor *highlightColor;/**< 设置《用户协议》《隐私政策》颜色 Default: 4A90E2 */ 39 | 40 | // MARK: 隐私政策 41 | 42 | // 设置 URL 43 | @property (nonatomic,strong) NSURL *userAgreementURL;/**< 用户协议地址 */ 44 | @property (nonatomic,strong) NSURL *privacyPolicyURL;/**< 隐私政策地址 */ 45 | 46 | /** 47 | 是否成功显示 48 | True: 成功展示:首次启动或未同意用户协议 49 | False: 未成功展示:非首次启动,并已经同意过用户协议 50 | */ 51 | - (bool)show; 52 | 53 | @end 54 | 55 | NS_ASSUME_NONNULL_END 56 | -------------------------------------------------------------------------------- /Example/lsj-PrivateProtocolAlert/lsj-PrivateProtocolAlert-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | 隐私政策弹窗 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | LSRequiresIPhoneOS 26 | 27 | UILaunchStoryboardName 28 | LaunchScreen 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | UIInterfaceOrientationLandscapeRight 38 | 39 | UISupportedInterfaceOrientations~ipad 40 | 41 | UIInterfaceOrientationPortrait 42 | UIInterfaceOrientationPortraitUpsideDown 43 | UIInterfaceOrientationLandscapeLeft 44 | UIInterfaceOrientationLandscapeRight 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /lsj-PrivateProtocolAlert.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint lsj-PrivateProtocolAlert.podspec' to ensure this is a 3 | # valid spec before submitting. 4 | # 5 | # Any lines starting with a # are optional, but their use is encouraged 6 | # To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html 7 | # 8 | 9 | Pod::Spec.new do |s| 10 | s.name = 'lsj-PrivateProtocolAlert' 11 | s.version = '0.5.0' 12 | s.summary = '隐私政策、弹窗' 13 | 14 | # This description is used to generate tags and improve search results. 15 | # * Think: What does it do? Why did you write it? What is the focus? 16 | # * Try to keep it short, snappy and to the point. 17 | # * Write the description between the DESC delimiters below. 18 | # * Finally, don't worry about the indent, CocoaPods strips it! 19 | 20 | s.description = '这个仓库提供了,快速解决审核政策,在启动时必须获得用户同意隐私政策,才可进入。' 21 | 22 | s.homepage = 'https://github.com/lishangjing-spec/lsj-PrivateProtocolAlert' 23 | # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' 24 | s.license = { :type => 'MIT', :file => 'LICENSE' } 25 | s.author = { 'lsj' => '534016847@qq.com' } 26 | s.source = { :git => 'https://github.com/lishangjing-spec/lsj-PrivateProtocolAlert.git', :tag => s.version.to_s } 27 | # s.social_media_url = 'https://twitter.com/' 28 | 29 | s.ios.deployment_target = '9.0' 30 | 31 | s.source_files = 'lsj-PrivateProtocolAlert/Classes/**/*' 32 | 33 | # s.resource_bundles = { 34 | # 'lsj-PrivateProtocolAlert' => ['lsj-PrivateProtocolAlert/Assets/*.png'] 35 | # } 36 | 37 | # s.public_header_files = 'Pod/Classes/**/*.h' 38 | # s.frameworks = 'UIKit', 'MapKit' 39 | # s.dependency 'AFNetworking', '~> 2.3' 40 | # s.dependency 'Masonry', '~> 1.1.0' 41 | # s.dependency 'YYText' 42 | end 43 | -------------------------------------------------------------------------------- /Example/lsj-PrivateProtocolAlert/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /Example/lsj-PrivateProtocolAlert/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /Example/lsj-PrivateProtocolAlert/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "size" : "20x20", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "size" : "20x20", 51 | "scale" : "2x" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "size" : "29x29", 56 | "scale" : "1x" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "size" : "29x29", 61 | "scale" : "2x" 62 | }, 63 | { 64 | "idiom" : "ipad", 65 | "size" : "40x40", 66 | "scale" : "1x" 67 | }, 68 | { 69 | "idiom" : "ipad", 70 | "size" : "40x40", 71 | "scale" : "2x" 72 | }, 73 | { 74 | "idiom" : "ipad", 75 | "size" : "76x76", 76 | "scale" : "1x" 77 | }, 78 | { 79 | "idiom" : "ipad", 80 | "size" : "76x76", 81 | "scale" : "2x" 82 | }, 83 | { 84 | "idiom" : "ipad", 85 | "size" : "83.5x83.5", 86 | "scale" : "2x" 87 | }, 88 | { 89 | "idiom" : "ios-marketing", 90 | "size" : "1024x1024", 91 | "scale" : "1x" 92 | } 93 | ], 94 | "info" : { 95 | "version" : 1, 96 | "author" : "xcode" 97 | } 98 | } 99 | -------------------------------------------------------------------------------- /Example/lsj-PrivateProtocolAlert/LSJAppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // LSJAppDelegate.m 3 | // lsj-PrivateProtocolAlert 4 | // 5 | // Created by lsj on 10/15/2021. 6 | // Copyright (c) 2021 lsj. All rights reserved. 7 | // 8 | 9 | #import "LSJAppDelegate.h" 10 | #import "LSJPrivateProtocolAlert.h" 11 | #import "LSJViewController.h" 12 | 13 | #define kWeakSelf(type) __weak typeof(type) weak##type = type; 14 | #define kStrongSelf(type) __strong typeof(type) type = weak##type; 15 | 16 | @interface LSJAppDelegate() 17 | 18 | @property (nonatomic, strong) LSJPrivateProtocolAlert *alert; 19 | 20 | @end 21 | 22 | 23 | @implementation LSJAppDelegate 24 | 25 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 26 | { 27 | // Override point for customization after application launch. 28 | 29 | // 用户点击过同意,会直接执行 completionBlock 30 | _alert = [LSJPrivateProtocolAlert new]; 31 | _alert.appName = @"测试项目"; 32 | _alert.userAgreementURL = [NSURL URLWithString:@"https://www.jianshu.com"]; 33 | _alert.privacyPolicyURL = [NSURL URLWithString:@"https://www.juejin.cn"]; 34 | _alert.delegate = self; 35 | [_alert show]; 36 | 37 | return YES; 38 | } 39 | 40 | -(void)lsjPrivateProtocolAlert_completion{ 41 | _alert = nil; 42 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 43 | [self.window makeKeyAndVisible]; 44 | self.window.backgroundColor = [UIColor whiteColor]; 45 | self.window.rootViewController = [LSJViewController new]; 46 | } 47 | 48 | - (void)applicationWillResignActive:(UIApplication *)application 49 | { 50 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 51 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 52 | } 53 | 54 | - (void)applicationDidEnterBackground:(UIApplication *)application 55 | { 56 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 57 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 58 | } 59 | 60 | - (void)applicationWillEnterForeground:(UIApplication *)application 61 | { 62 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 63 | } 64 | 65 | - (void)applicationDidBecomeActive:(UIApplication *)application 66 | { 67 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 68 | } 69 | 70 | - (void)applicationWillTerminate:(UIApplication *)application 71 | { 72 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 73 | } 74 | 75 | @end 76 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # lsj-PrivateProtocolAlert 2 | --- 3 | 4 | 目前苹果审核没有硬性要求需要隐私弹窗,Android 会有要求 5 | 6 | --- 7 | [![CI Status](https://img.shields.io/travis/lsj/lsj-PrivateProtocolAlert.svg?style=flat)](https://travis-ci.org/lsj/lsj-PrivateProtocolAlert) 8 | [![Version](https://img.shields.io/cocoapods/v/lsj-PrivateProtocolAlert.svg?style=flat)](https://cocoapods.org/pods/lsj-PrivateProtocolAlert) 9 | [![License](https://img.shields.io/cocoapods/l/lsj-PrivateProtocolAlert.svg?style=flat)](https://cocoapods.org/pods/lsj-PrivateProtocolAlert) 10 | [![Platform](https://img.shields.io/cocoapods/p/lsj-PrivateProtocolAlert.svg?style=flat)](https://cocoapods.org/pods/lsj-PrivateProtocolAlert) 11 | 12 | ## 修订历史 13 | 14 | | 文档版本 | 修订日期 | 修订说明 | 15 | |----------|------------|------------------------| 16 | | v0.5.0 | 2022.11.13 | 将 block 改为 delegate | 17 | | v0.4.0 | 2022.10.11 | 移除所有三方库,使用更简洁的方式代替 | 18 | 19 | 20 | 21 | 22 | ## Overview 23 | 24 | 为了快速解决审核问题,需要在第一次启动时弹出协议弹窗,用户同意后,才能进入App,否则退出App 25 | 26 | 27 | 28 | | ![image](assets/image.gif) | ![image](assets/image.png) | 29 | |---|--:| 30 | 31 | ## Usage 32 | ``` 33 | 34 | #import "LSJPrivateProtocolAlert.h" 35 | 36 | @interface LSJAppDelegate() 37 | 38 | @property (nonatomic, strong) LSJPrivateProtocolAlert *alert; 39 | 40 | @end 41 | 42 | 43 | @implementation LSJAppDelegate 44 | 45 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 46 | { 47 | // Override point for customization after application launch. 48 | 49 | // 用户点击过同意,会直接执行 completionBlock 50 | _alert = [LSJPrivateProtocolAlert new]; 51 | _alert.appName = @"测试项目"; 52 | _alert.userAgreementURL = [NSURL URLWithString:@"https://www.jianshu.com"]; 53 | _alert.privacyPolicyURL = [NSURL URLWithString:@"https://www.juejin.cn"]; 54 | _alert.delegate = self; 55 | [_alert show]; 56 | 57 | return YES; 58 | } 59 | 60 | -(void)lsjPrivateProtocolAlert_completion{ 61 | _alert = nil; 62 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 63 | [self.window makeKeyAndVisible]; 64 | self.window.backgroundColor = [UIColor whiteColor]; 65 | self.window.rootViewController = [LSJViewController new]; 66 | } 67 | 68 | ``` 69 | 70 | 71 | 72 | ### 给按钮设置渐变色 73 | ``` 74 | CGSize size = alert.sureButton.frame.size; 75 | CAGradientLayer *gl = [CAGradientLayer layer]; 76 | gl.frame = CGRectMake(0,0,size.width,size.height); 77 | gl.startPoint = CGPointMake(0, 0.5); 78 | gl.endPoint = CGPointMake(1, 0.5); 79 | gl.colors = @[(__bridge id)[UIColor colorWithRed:235/255.0 green:134/255.0 blue:114/255.0 alpha:1.0].CGColor, (__bridge id)[UIColor colorWithRed:235/255.0 green:91/255.0 blue:143/255.0 alpha:1.0].CGColor]; 80 | gl.locations = @[@(0), @(1.0f)]; 81 | gl.cornerRadius = size.height/2.0; 82 | gl.masksToBounds = true; 83 | 84 | alert.sureButton.layer.shadowColor = [UIColor colorWithRed:235/255.0 green:93/255.0 blue:143/255.0 alpha:0.3].CGColor; 85 | alert.sureButton.layer.shadowOffset = CGSizeMake(0,6); 86 | alert.sureButton.layer.shadowRadius = size.height/2.0; 87 | alert.sureButton.layer.shadowOpacity = 0; 88 | [alert.sureButton.layer insertSublayer:gl below:alert.sureButton.titleLabel.layer]; 89 | 90 | ``` 91 | 92 | ## Example 93 | 94 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 95 | 96 | ## Requirements 97 | 98 | ## Installation 99 | 100 | lsj-PrivateProtocolAlert is available through [CocoaPods](https://cocoapods.org). To install 101 | it, simply add the following line to your Podfile: 102 | 103 | ```ruby 104 | pod 'lsj-PrivateProtocolAlert', '~> 0.5.0' 105 | ``` 106 | 107 | ## Author 108 | 109 | lsj, 534016847@qq.com 110 | 111 | ## License 112 | 113 | lsj-PrivateProtocolAlert is available under the MIT license. See the LICENSE file for more info. 114 | -------------------------------------------------------------------------------- /Example/lsj-PrivateProtocolAlert.xcodeproj/xcshareddata/xcschemes/lsj-PrivateProtocolAlert-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 33 | 39 | 40 | 41 | 42 | 43 | 49 | 50 | 51 | 52 | 53 | 54 | 64 | 66 | 72 | 73 | 74 | 75 | 76 | 77 | 83 | 85 | 91 | 92 | 93 | 94 | 96 | 97 | 100 | 101 | 102 | -------------------------------------------------------------------------------- /lsj-PrivateProtocolAlert/Classes/LSJPrivateProtocolAlert.m: -------------------------------------------------------------------------------- 1 | // 2 | // PrivateProtocolAlert.m 3 | // lsj-PrivateProtocolAlert 4 | // 5 | // Created by Lishangjing on 2021/3/29. 6 | // Copyright © 2021 liuny. All rights reserved. 7 | // 8 | 9 | #import "LSJPrivateProtocolAlert.h" 10 | #import 11 | 12 | #define LSJPrivateProtocolAlertUserDefaultsKey @"lsj-PrivateProtocolStandard" 13 | 14 | @interface LSJPrivateProtocolAlert() 15 | 16 | @property (nonatomic,strong) UIView *maskView;/**< 蒙板 */ 17 | @property (nonatomic,strong) UIView *containerView;/**< 弹窗容器 */ 18 | @property (nonatomic,strong) UITextView *descLabel;/**< 详细描述文本 */ 19 | @property (nonatomic,strong) UIButton *cancelButton;/**< 取消按钮 */ 20 | 21 | @end 22 | 23 | @implementation LSJPrivateProtocolAlert 24 | 25 | - (instancetype)init{ 26 | self = [super init]; 27 | if(self){ 28 | self.nomalTextColor = [UIColor colorWithRed:51.0/255.0 green:51.0/255.0 blue:51.0/255.0 alpha:1]; 29 | self.highlightColor = [UIColor colorWithRed:74.0/255.0 green:144.0/255.0 blue:226.0/255.0 alpha:1]; 30 | NSDictionary *infoDictionary = [[NSBundle mainBundle] infoDictionary]; 31 | self.appName = [infoDictionary objectForKey:@"CFBundleDisplayName"]; 32 | self.sureButton.layer.masksToBounds = true; 33 | self.sureButton.layer.cornerRadius = self.sureButton.frame.size.height/2.0; 34 | self.sureButton.backgroundColor = [UIColor colorWithRed:83.0/255.0 green:162/255.0 blue:255.0/255.0 alpha:1]; 35 | } 36 | return self; 37 | } 38 | 39 | -(void)dealloc{ 40 | #if DEBUG 41 | NSLog(@"%s",__func__); 42 | #endif 43 | } 44 | 45 | - (void)viewDidLoad{ 46 | [super viewDidLoad]; 47 | 48 | [self setupLayout]; 49 | } 50 | 51 | 52 | // MARK: - Layout 53 | 54 | 55 | -(void)setupLayout{ 56 | 57 | self.view.backgroundColor = [UIColor whiteColor]; 58 | 59 | // Mask View 60 | [self.view addSubview:self.maskView]; 61 | self.maskView.frame = self.view.frame; 62 | 63 | // Container View 64 | [self.view addSubview:self.containerView]; 65 | CGFloat containerViewW = 310; 66 | CGFloat containerViewH = 320; 67 | self.containerView.frame = CGRectMake((self.view.frame.size.width-containerViewW) / 2.0, (self.view.frame.size.height-containerViewH) / 2.0, containerViewW, containerViewH); 68 | 69 | // Desc Label 70 | [self.containerView addSubview:self.descLabel]; 71 | CGFloat descLabelW = 270; 72 | self.descLabel.frame = CGRectMake(20, 24, descLabelW, 180); 73 | 74 | // Sure Button 75 | [self.containerView addSubview:self.sureButton]; 76 | self.sureButton.frame = CGRectMake(20, CGRectGetMaxY(self.descLabel.frame) + 15, 270, 40); 77 | 78 | // Cancel Button 79 | [self.containerView addSubview:self.cancelButton]; 80 | self.cancelButton.frame = CGRectMake(20, CGRectGetMaxY(self.sureButton.frame) + 5, 270, 40); 81 | 82 | } 83 | 84 | 85 | // MARK: - Method 86 | 87 | -(bool)show{ 88 | NSString *guide = [[NSUserDefaults standardUserDefaults] objectForKey:LSJPrivateProtocolAlertUserDefaultsKey]; 89 | if(guide){ 90 | if(_delegate && [_delegate respondsToSelector:@selector(lsjPrivateProtocolAlert_completion)]){ 91 | [_delegate lsjPrivateProtocolAlert_completion]; 92 | } 93 | }else{ 94 | [UIApplication sharedApplication].delegate.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 95 | [[UIApplication sharedApplication].delegate.window makeKeyAndVisible]; 96 | [UIApplication sharedApplication].delegate.window.backgroundColor = [UIColor whiteColor]; 97 | [UIApplication sharedApplication].delegate.window.rootViewController = self; 98 | } 99 | return !guide; 100 | } 101 | 102 | 103 | -(void)cancelButtonClick{ 104 | abort(); 105 | } 106 | 107 | -(void)sureButtonClick{ 108 | [[NSUserDefaults standardUserDefaults] setObject:@"1" forKey:LSJPrivateProtocolAlertUserDefaultsKey]; 109 | [[NSUserDefaults standardUserDefaults] synchronize]; 110 | if(_delegate && [_delegate respondsToSelector:@selector(lsjPrivateProtocolAlert_completion)]){ 111 | [_delegate lsjPrivateProtocolAlert_completion]; 112 | } 113 | } 114 | 115 | 116 | // MARK: - Lazy 117 | -(UIView *)maskView{ 118 | if (!_maskView) { 119 | _maskView = [UIView new]; 120 | _maskView.userInteractionEnabled = true; 121 | _maskView.backgroundColor = [UIColor blackColor]; 122 | _maskView.alpha = 0.4; 123 | } 124 | return _maskView; 125 | } 126 | 127 | -(UIView *)containerView{ 128 | if (!_containerView) { 129 | _containerView = [UIView new]; 130 | _containerView.backgroundColor = [UIColor whiteColor]; 131 | _containerView.layer.cornerRadius = 10; 132 | _containerView.layer.masksToBounds = true; 133 | } 134 | return _containerView; 135 | } 136 | 137 | -(UITextView *)descLabel{ 138 | if (!_descLabel) { 139 | _descLabel = [UITextView new]; 140 | _descLabel.editable = NO;// 可编辑的 141 | _descLabel.selectable = YES;// 可选的 142 | _descLabel.scrollEnabled = NO; 143 | _descLabel.textContainerInset = UIEdgeInsetsZero; 144 | _descLabel.textContainer.lineFragmentPadding = 0; 145 | _descLabel.linkTextAttributes = @{NSForegroundColorAttributeName:self.highlightColor}; 146 | _descLabel.delegate = self; 147 | _descLabel.userInteractionEnabled = true; 148 | _descLabel.backgroundColor = [UIColor whiteColor]; 149 | 150 | NSString *contentString = [NSString stringWithFormat:@"%@深知个人信息对您的重要性,因此我们将竭尽全力保障用户的隐私信息安全。\n\n您可以阅读完整版《用户协议》《隐私政策》详细了解我们如何保护您的权益。\n\n我们将严格按照政策要求使用和保护您的个人信息,如您同意以上内容,请点击同意,开始使用我们的产品与服务!",self.appName]; 151 | NSMutableAttributedString *attrString = [[NSMutableAttributedString alloc] initWithString:contentString]; 152 | 153 | @try { 154 | [attrString addAttribute:NSForegroundColorAttributeName value:self.nomalTextColor range:[contentString rangeOfString:contentString]]; 155 | [attrString addAttribute:NSStrokeColorAttributeName value:self.nomalTextColor range:[contentString rangeOfString:contentString]]; 156 | [attrString addAttribute:NSStrokeWidthAttributeName value:@0 range:[contentString rangeOfString:contentString]]; 157 | 158 | NSMutableParagraphStyle *paragraphStyle = [[NSMutableParagraphStyle alloc] init]; 159 | paragraphStyle.lineSpacing = 4;// 字体的行间距 160 | [attrString addAttribute:NSParagraphStyleAttributeName value:paragraphStyle range:[contentString rangeOfString:contentString]]; 161 | NSRange range1 = [contentString rangeOfString:@"《用户协议》"]; 162 | NSRange range2 = [contentString rangeOfString:@"《隐私政策》"]; 163 | 164 | [attrString addAttribute:NSLinkAttributeName value:@"userAgreement://" range:range1]; 165 | [attrString addAttribute:NSLinkAttributeName value:@"privacy://" range:range2]; 166 | 167 | 168 | } @catch (NSException *exception) { 169 | // 兜底,若因为 iOS 系统api崩溃,则不处理,直接返回文字 170 | } @finally { 171 | 172 | } 173 | 174 | _descLabel.attributedText = attrString; 175 | _descLabel.font = [UIFont systemFontOfSize:13]; 176 | } 177 | return _descLabel; 178 | } 179 | 180 | 181 | -(BOOL)textView:(UITextView *)textView shouldInteractWithURL:(NSURL *)URL inRange:(NSRange)characterRange{ 182 | if ([URL.scheme isEqualToString:@"userAgreement"]) { 183 | if(_delegate && [_delegate respondsToSelector:@selector(lsjPrivateProtocolAlert_userAgreementClick)]){ 184 | [_delegate lsjPrivateProtocolAlert_userAgreementClick]; 185 | }else{ 186 | SFSafariViewController * safariVC = [[SFSafariViewController alloc]initWithURL:self.userAgreementURL]; 187 | [self presentViewController:safariVC animated:NO completion:nil]; 188 | } 189 | return false; 190 | }else if([URL.scheme isEqualToString:@"privacy"]){ 191 | if(_delegate && [_delegate respondsToSelector:@selector(lsjPrivateProtocolAlert_privacyPolicyClick)]){ 192 | [_delegate lsjPrivateProtocolAlert_privacyPolicyClick]; 193 | }else{ 194 | SFSafariViewController * safariVC = [[SFSafariViewController alloc]initWithURL:self.privacyPolicyURL]; 195 | [self presentViewController:safariVC animated:NO completion:nil]; 196 | } 197 | return false; 198 | } 199 | return true; 200 | } 201 | 202 | -(BOOL)textViewShouldBeginEditing:(UITextView *)textView { 203 | return NO; 204 | } 205 | 206 | -(UIButton *)sureButton{ 207 | if(!_sureButton){ 208 | _sureButton = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, 270, 40)]; 209 | [_sureButton addTarget:self action:@selector(sureButtonClick) forControlEvents:UIControlEventTouchUpInside]; 210 | [_sureButton setTitleColor:UIColor.whiteColor forState:UIControlStateNormal]; 211 | _sureButton.titleLabel.font = [UIFont systemFontOfSize:14]; 212 | [_sureButton setTitle:@"同意,继续使用" forState:UIControlStateNormal]; 213 | } 214 | return _sureButton; 215 | } 216 | 217 | 218 | 219 | -(UIButton *)cancelButton{ 220 | if (!_cancelButton) { 221 | _cancelButton = [UIButton new]; 222 | [_cancelButton addTarget:self action:@selector(cancelButtonClick) forControlEvents:UIControlEventTouchUpInside]; 223 | [_cancelButton setTitle:@"不同意,退出" forState:UIControlStateNormal]; 224 | _cancelButton.titleLabel.font = [UIFont systemFontOfSize:13]; 225 | [_cancelButton setTitleColor:[UIColor colorWithRed:51.0/255.0 green:51.0/255.0 blue:51.0/255.0 alpha:.7] forState:UIControlStateNormal]; 226 | } 227 | return _cancelButton; 228 | } 229 | 230 | @end 231 | -------------------------------------------------------------------------------- /Example/lsj-PrivateProtocolAlert.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; 11 | 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58F195388D20070C39A /* CoreGraphics.framework */; }; 12 | 6003F592195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; 13 | 6003F598195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F596195388D20070C39A /* InfoPlist.strings */; }; 14 | 6003F59A195388D20070C39A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F599195388D20070C39A /* main.m */; }; 15 | 6003F59E195388D20070C39A /* LSJAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F59D195388D20070C39A /* LSJAppDelegate.m */; }; 16 | 6003F5A7195388D20070C39A /* LSJViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5A6195388D20070C39A /* LSJViewController.m */; }; 17 | 6003F5A9195388D20070C39A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5A8195388D20070C39A /* Images.xcassets */; }; 18 | 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F5AF195388D20070C39A /* XCTest.framework */; }; 19 | 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; 20 | 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; 21 | 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5B8195388D20070C39A /* InfoPlist.strings */; }; 22 | 6003F5BC195388D20070C39A /* Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5BB195388D20070C39A /* Tests.m */; }; 23 | 71719F9F1E33DC2100824A3D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */; }; 24 | 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */; }; 25 | 89084D791EC1E7BC6AAFD0DF /* Pods_lsj_PrivateProtocolAlert_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C2E5704005480B4249035ADE /* Pods_lsj_PrivateProtocolAlert_Tests.framework */; }; 26 | E41796E6B17A7B94636362B9 /* Pods_lsj_PrivateProtocolAlert_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BFC8AEFCB3B6A81AEC6B8F70 /* Pods_lsj_PrivateProtocolAlert_Example.framework */; }; 27 | /* End PBXBuildFile section */ 28 | 29 | /* Begin PBXContainerItemProxy section */ 30 | 6003F5B3195388D20070C39A /* PBXContainerItemProxy */ = { 31 | isa = PBXContainerItemProxy; 32 | containerPortal = 6003F582195388D10070C39A /* Project object */; 33 | proxyType = 1; 34 | remoteGlobalIDString = 6003F589195388D20070C39A; 35 | remoteInfo = "lsj-PrivateProtocolAlert"; 36 | }; 37 | /* End PBXContainerItemProxy section */ 38 | 39 | /* Begin PBXFileReference section */ 40 | 16ADD4CAECD20F0FC245597F /* Pods-lsj-PrivateProtocolAlert_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-lsj-PrivateProtocolAlert_Tests.release.xcconfig"; path = "Target Support Files/Pods-lsj-PrivateProtocolAlert_Tests/Pods-lsj-PrivateProtocolAlert_Tests.release.xcconfig"; sourceTree = ""; }; 41 | 271A399B320DF2215E79268E /* Pods-lsj-PrivateProtocolAlert_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-lsj-PrivateProtocolAlert_Tests.debug.xcconfig"; path = "Target Support Files/Pods-lsj-PrivateProtocolAlert_Tests/Pods-lsj-PrivateProtocolAlert_Tests.debug.xcconfig"; sourceTree = ""; }; 42 | 28AA39B930643A800DBC00B0 /* Pods-lsj-PrivateProtocolAlert_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-lsj-PrivateProtocolAlert_Example.debug.xcconfig"; path = "Target Support Files/Pods-lsj-PrivateProtocolAlert_Example/Pods-lsj-PrivateProtocolAlert_Example.debug.xcconfig"; sourceTree = ""; }; 43 | 2D52BD5353F6458FF8C47D1C /* Pods-lsj-PrivateProtocolAlert_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-lsj-PrivateProtocolAlert_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-lsj-PrivateProtocolAlert_Example/Pods-lsj-PrivateProtocolAlert_Example.release.xcconfig"; sourceTree = ""; }; 44 | 44C9A0A0464D895465855455 /* Pods-lsj-PrivateProtocolAlert_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-lsj-PrivateProtocolAlert_Example.release.xcconfig"; path = "Target Support Files/Pods-lsj-PrivateProtocolAlert_Example/Pods-lsj-PrivateProtocolAlert_Example.release.xcconfig"; sourceTree = ""; }; 45 | 6003F58A195388D20070C39A /* lsj-PrivateProtocolAlert_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "lsj-PrivateProtocolAlert_Example.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 46 | 6003F58D195388D20070C39A /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 47 | 6003F58F195388D20070C39A /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 48 | 6003F591195388D20070C39A /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; 49 | 6003F595195388D20070C39A /* lsj-PrivateProtocolAlert-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "lsj-PrivateProtocolAlert-Info.plist"; sourceTree = ""; }; 50 | 6003F597195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 51 | 6003F599195388D20070C39A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 52 | 6003F59B195388D20070C39A /* lsj-PrivateProtocolAlert-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "lsj-PrivateProtocolAlert-Prefix.pch"; sourceTree = ""; }; 53 | 6003F59C195388D20070C39A /* LSJAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = LSJAppDelegate.h; sourceTree = ""; }; 54 | 6003F59D195388D20070C39A /* LSJAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = LSJAppDelegate.m; sourceTree = ""; }; 55 | 6003F5A5195388D20070C39A /* LSJViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = LSJViewController.h; sourceTree = ""; }; 56 | 6003F5A6195388D20070C39A /* LSJViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = LSJViewController.m; sourceTree = ""; }; 57 | 6003F5A8195388D20070C39A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 58 | 6003F5AE195388D20070C39A /* lsj-PrivateProtocolAlert_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "lsj-PrivateProtocolAlert_Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 59 | 6003F5AF195388D20070C39A /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; 60 | 6003F5B7195388D20070C39A /* Tests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Tests-Info.plist"; sourceTree = ""; }; 61 | 6003F5B9195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 62 | 6003F5BB195388D20070C39A /* Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Tests.m; sourceTree = ""; }; 63 | 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Tests-Prefix.pch"; sourceTree = ""; }; 64 | 643413B89FF4280D83634060 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 65 | 71719F9E1E33DC2100824A3D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 66 | 7DEE3EFB465695235F696AC2 /* Pods-lsj-PrivateProtocolAlert_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-lsj-PrivateProtocolAlert_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-lsj-PrivateProtocolAlert_Example/Pods-lsj-PrivateProtocolAlert_Example.debug.xcconfig"; sourceTree = ""; }; 67 | 81F59CF9403863751677EF0B /* Pods-lsj-PrivateProtocolAlert_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-lsj-PrivateProtocolAlert_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-lsj-PrivateProtocolAlert_Tests/Pods-lsj-PrivateProtocolAlert_Tests.debug.xcconfig"; sourceTree = ""; }; 68 | 84B6A6103661AB5945A05106 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 69 | 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = Main.storyboard; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 70 | BFC8AEFCB3B6A81AEC6B8F70 /* Pods_lsj_PrivateProtocolAlert_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_lsj_PrivateProtocolAlert_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 71 | C2E5704005480B4249035ADE /* Pods_lsj_PrivateProtocolAlert_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_lsj_PrivateProtocolAlert_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 72 | E0E794E036C263EC7A29AA56 /* lsj-PrivateProtocolAlert.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = "lsj-PrivateProtocolAlert.podspec"; path = "../lsj-PrivateProtocolAlert.podspec"; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 73 | E22610D87D633651AA4460B9 /* Pods-lsj-PrivateProtocolAlert_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-lsj-PrivateProtocolAlert_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-lsj-PrivateProtocolAlert_Tests/Pods-lsj-PrivateProtocolAlert_Tests.release.xcconfig"; sourceTree = ""; }; 74 | /* End PBXFileReference section */ 75 | 76 | /* Begin PBXFrameworksBuildPhase section */ 77 | 6003F587195388D20070C39A /* Frameworks */ = { 78 | isa = PBXFrameworksBuildPhase; 79 | buildActionMask = 2147483647; 80 | files = ( 81 | 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */, 82 | 6003F592195388D20070C39A /* UIKit.framework in Frameworks */, 83 | 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */, 84 | E41796E6B17A7B94636362B9 /* Pods_lsj_PrivateProtocolAlert_Example.framework in Frameworks */, 85 | ); 86 | runOnlyForDeploymentPostprocessing = 0; 87 | }; 88 | 6003F5AB195388D20070C39A /* Frameworks */ = { 89 | isa = PBXFrameworksBuildPhase; 90 | buildActionMask = 2147483647; 91 | files = ( 92 | 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */, 93 | 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */, 94 | 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */, 95 | 89084D791EC1E7BC6AAFD0DF /* Pods_lsj_PrivateProtocolAlert_Tests.framework in Frameworks */, 96 | ); 97 | runOnlyForDeploymentPostprocessing = 0; 98 | }; 99 | /* End PBXFrameworksBuildPhase section */ 100 | 101 | /* Begin PBXGroup section */ 102 | 6003F581195388D10070C39A = { 103 | isa = PBXGroup; 104 | children = ( 105 | 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */, 106 | 6003F593195388D20070C39A /* Example for lsj-PrivateProtocolAlert */, 107 | 6003F5B5195388D20070C39A /* Tests */, 108 | 6003F58C195388D20070C39A /* Frameworks */, 109 | 6003F58B195388D20070C39A /* Products */, 110 | E500BA450F500959B97648E3 /* Pods */, 111 | ); 112 | sourceTree = ""; 113 | }; 114 | 6003F58B195388D20070C39A /* Products */ = { 115 | isa = PBXGroup; 116 | children = ( 117 | 6003F58A195388D20070C39A /* lsj-PrivateProtocolAlert_Example.app */, 118 | 6003F5AE195388D20070C39A /* lsj-PrivateProtocolAlert_Tests.xctest */, 119 | ); 120 | name = Products; 121 | sourceTree = ""; 122 | }; 123 | 6003F58C195388D20070C39A /* Frameworks */ = { 124 | isa = PBXGroup; 125 | children = ( 126 | 6003F58D195388D20070C39A /* Foundation.framework */, 127 | 6003F58F195388D20070C39A /* CoreGraphics.framework */, 128 | 6003F591195388D20070C39A /* UIKit.framework */, 129 | 6003F5AF195388D20070C39A /* XCTest.framework */, 130 | BFC8AEFCB3B6A81AEC6B8F70 /* Pods_lsj_PrivateProtocolAlert_Example.framework */, 131 | C2E5704005480B4249035ADE /* Pods_lsj_PrivateProtocolAlert_Tests.framework */, 132 | ); 133 | name = Frameworks; 134 | sourceTree = ""; 135 | }; 136 | 6003F593195388D20070C39A /* Example for lsj-PrivateProtocolAlert */ = { 137 | isa = PBXGroup; 138 | children = ( 139 | 6003F59C195388D20070C39A /* LSJAppDelegate.h */, 140 | 6003F59D195388D20070C39A /* LSJAppDelegate.m */, 141 | 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */, 142 | 6003F5A5195388D20070C39A /* LSJViewController.h */, 143 | 6003F5A6195388D20070C39A /* LSJViewController.m */, 144 | 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */, 145 | 6003F5A8195388D20070C39A /* Images.xcassets */, 146 | 6003F594195388D20070C39A /* Supporting Files */, 147 | ); 148 | name = "Example for lsj-PrivateProtocolAlert"; 149 | path = "lsj-PrivateProtocolAlert"; 150 | sourceTree = ""; 151 | }; 152 | 6003F594195388D20070C39A /* Supporting Files */ = { 153 | isa = PBXGroup; 154 | children = ( 155 | 6003F595195388D20070C39A /* lsj-PrivateProtocolAlert-Info.plist */, 156 | 6003F596195388D20070C39A /* InfoPlist.strings */, 157 | 6003F599195388D20070C39A /* main.m */, 158 | 6003F59B195388D20070C39A /* lsj-PrivateProtocolAlert-Prefix.pch */, 159 | ); 160 | name = "Supporting Files"; 161 | sourceTree = ""; 162 | }; 163 | 6003F5B5195388D20070C39A /* Tests */ = { 164 | isa = PBXGroup; 165 | children = ( 166 | 6003F5BB195388D20070C39A /* Tests.m */, 167 | 6003F5B6195388D20070C39A /* Supporting Files */, 168 | ); 169 | path = Tests; 170 | sourceTree = ""; 171 | }; 172 | 6003F5B6195388D20070C39A /* Supporting Files */ = { 173 | isa = PBXGroup; 174 | children = ( 175 | 6003F5B7195388D20070C39A /* Tests-Info.plist */, 176 | 6003F5B8195388D20070C39A /* InfoPlist.strings */, 177 | 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */, 178 | ); 179 | name = "Supporting Files"; 180 | sourceTree = ""; 181 | }; 182 | 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */ = { 183 | isa = PBXGroup; 184 | children = ( 185 | E0E794E036C263EC7A29AA56 /* lsj-PrivateProtocolAlert.podspec */, 186 | 643413B89FF4280D83634060 /* README.md */, 187 | 84B6A6103661AB5945A05106 /* LICENSE */, 188 | ); 189 | name = "Podspec Metadata"; 190 | sourceTree = ""; 191 | }; 192 | E500BA450F500959B97648E3 /* Pods */ = { 193 | isa = PBXGroup; 194 | children = ( 195 | 28AA39B930643A800DBC00B0 /* Pods-lsj-PrivateProtocolAlert_Example.debug.xcconfig */, 196 | 44C9A0A0464D895465855455 /* Pods-lsj-PrivateProtocolAlert_Example.release.xcconfig */, 197 | 271A399B320DF2215E79268E /* Pods-lsj-PrivateProtocolAlert_Tests.debug.xcconfig */, 198 | 16ADD4CAECD20F0FC245597F /* Pods-lsj-PrivateProtocolAlert_Tests.release.xcconfig */, 199 | 7DEE3EFB465695235F696AC2 /* Pods-lsj-PrivateProtocolAlert_Example.debug.xcconfig */, 200 | 2D52BD5353F6458FF8C47D1C /* Pods-lsj-PrivateProtocolAlert_Example.release.xcconfig */, 201 | 81F59CF9403863751677EF0B /* Pods-lsj-PrivateProtocolAlert_Tests.debug.xcconfig */, 202 | E22610D87D633651AA4460B9 /* Pods-lsj-PrivateProtocolAlert_Tests.release.xcconfig */, 203 | ); 204 | path = Pods; 205 | sourceTree = ""; 206 | }; 207 | /* End PBXGroup section */ 208 | 209 | /* Begin PBXNativeTarget section */ 210 | 6003F589195388D20070C39A /* lsj-PrivateProtocolAlert_Example */ = { 211 | isa = PBXNativeTarget; 212 | buildConfigurationList = 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "lsj-PrivateProtocolAlert_Example" */; 213 | buildPhases = ( 214 | 055252F6D9E49DEF981603BD /* [CP] Check Pods Manifest.lock */, 215 | 6003F586195388D20070C39A /* Sources */, 216 | 6003F587195388D20070C39A /* Frameworks */, 217 | 6003F588195388D20070C39A /* Resources */, 218 | 57B7C5749F5FA39AAF90B138 /* [CP] Embed Pods Frameworks */, 219 | ); 220 | buildRules = ( 221 | ); 222 | dependencies = ( 223 | ); 224 | name = "lsj-PrivateProtocolAlert_Example"; 225 | productName = "lsj-PrivateProtocolAlert"; 226 | productReference = 6003F58A195388D20070C39A /* lsj-PrivateProtocolAlert_Example.app */; 227 | productType = "com.apple.product-type.application"; 228 | }; 229 | 6003F5AD195388D20070C39A /* lsj-PrivateProtocolAlert_Tests */ = { 230 | isa = PBXNativeTarget; 231 | buildConfigurationList = 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "lsj-PrivateProtocolAlert_Tests" */; 232 | buildPhases = ( 233 | 149920768108A5CC13DF7C66 /* [CP] Check Pods Manifest.lock */, 234 | 6003F5AA195388D20070C39A /* Sources */, 235 | 6003F5AB195388D20070C39A /* Frameworks */, 236 | 6003F5AC195388D20070C39A /* Resources */, 237 | ); 238 | buildRules = ( 239 | ); 240 | dependencies = ( 241 | 6003F5B4195388D20070C39A /* PBXTargetDependency */, 242 | ); 243 | name = "lsj-PrivateProtocolAlert_Tests"; 244 | productName = "lsj-PrivateProtocolAlertTests"; 245 | productReference = 6003F5AE195388D20070C39A /* lsj-PrivateProtocolAlert_Tests.xctest */; 246 | productType = "com.apple.product-type.bundle.unit-test"; 247 | }; 248 | /* End PBXNativeTarget section */ 249 | 250 | /* Begin PBXProject section */ 251 | 6003F582195388D10070C39A /* Project object */ = { 252 | isa = PBXProject; 253 | attributes = { 254 | CLASSPREFIX = LSJ; 255 | LastUpgradeCheck = 0720; 256 | ORGANIZATIONNAME = lsj; 257 | TargetAttributes = { 258 | 6003F5AD195388D20070C39A = { 259 | TestTargetID = 6003F589195388D20070C39A; 260 | }; 261 | }; 262 | }; 263 | buildConfigurationList = 6003F585195388D10070C39A /* Build configuration list for PBXProject "lsj-PrivateProtocolAlert" */; 264 | compatibilityVersion = "Xcode 3.2"; 265 | developmentRegion = English; 266 | hasScannedForEncodings = 0; 267 | knownRegions = ( 268 | English, 269 | en, 270 | Base, 271 | ); 272 | mainGroup = 6003F581195388D10070C39A; 273 | productRefGroup = 6003F58B195388D20070C39A /* Products */; 274 | projectDirPath = ""; 275 | projectRoot = ""; 276 | targets = ( 277 | 6003F589195388D20070C39A /* lsj-PrivateProtocolAlert_Example */, 278 | 6003F5AD195388D20070C39A /* lsj-PrivateProtocolAlert_Tests */, 279 | ); 280 | }; 281 | /* End PBXProject section */ 282 | 283 | /* Begin PBXResourcesBuildPhase section */ 284 | 6003F588195388D20070C39A /* Resources */ = { 285 | isa = PBXResourcesBuildPhase; 286 | buildActionMask = 2147483647; 287 | files = ( 288 | 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */, 289 | 71719F9F1E33DC2100824A3D /* LaunchScreen.storyboard in Resources */, 290 | 6003F5A9195388D20070C39A /* Images.xcassets in Resources */, 291 | 6003F598195388D20070C39A /* InfoPlist.strings in Resources */, 292 | ); 293 | runOnlyForDeploymentPostprocessing = 0; 294 | }; 295 | 6003F5AC195388D20070C39A /* Resources */ = { 296 | isa = PBXResourcesBuildPhase; 297 | buildActionMask = 2147483647; 298 | files = ( 299 | 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */, 300 | ); 301 | runOnlyForDeploymentPostprocessing = 0; 302 | }; 303 | /* End PBXResourcesBuildPhase section */ 304 | 305 | /* Begin PBXShellScriptBuildPhase section */ 306 | 055252F6D9E49DEF981603BD /* [CP] Check Pods Manifest.lock */ = { 307 | isa = PBXShellScriptBuildPhase; 308 | buildActionMask = 2147483647; 309 | files = ( 310 | ); 311 | inputPaths = ( 312 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 313 | "${PODS_ROOT}/Manifest.lock", 314 | ); 315 | name = "[CP] Check Pods Manifest.lock"; 316 | outputPaths = ( 317 | "$(DERIVED_FILE_DIR)/Pods-lsj-PrivateProtocolAlert_Example-checkManifestLockResult.txt", 318 | ); 319 | runOnlyForDeploymentPostprocessing = 0; 320 | shellPath = /bin/sh; 321 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/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# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 322 | showEnvVarsInLog = 0; 323 | }; 324 | 149920768108A5CC13DF7C66 /* [CP] Check Pods Manifest.lock */ = { 325 | isa = PBXShellScriptBuildPhase; 326 | buildActionMask = 2147483647; 327 | files = ( 328 | ); 329 | inputPaths = ( 330 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 331 | "${PODS_ROOT}/Manifest.lock", 332 | ); 333 | name = "[CP] Check Pods Manifest.lock"; 334 | outputPaths = ( 335 | "$(DERIVED_FILE_DIR)/Pods-lsj-PrivateProtocolAlert_Tests-checkManifestLockResult.txt", 336 | ); 337 | runOnlyForDeploymentPostprocessing = 0; 338 | shellPath = /bin/sh; 339 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/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# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 340 | showEnvVarsInLog = 0; 341 | }; 342 | 57B7C5749F5FA39AAF90B138 /* [CP] Embed Pods Frameworks */ = { 343 | isa = PBXShellScriptBuildPhase; 344 | buildActionMask = 2147483647; 345 | files = ( 346 | ); 347 | inputPaths = ( 348 | "${PODS_ROOT}/Target Support Files/Pods-lsj-PrivateProtocolAlert_Example/Pods-lsj-PrivateProtocolAlert_Example-frameworks.sh", 349 | "${BUILT_PRODUCTS_DIR}/lsj-PrivateProtocolAlert/lsj_PrivateProtocolAlert.framework", 350 | ); 351 | name = "[CP] Embed Pods Frameworks"; 352 | outputPaths = ( 353 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/lsj_PrivateProtocolAlert.framework", 354 | ); 355 | runOnlyForDeploymentPostprocessing = 0; 356 | shellPath = /bin/sh; 357 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-lsj-PrivateProtocolAlert_Example/Pods-lsj-PrivateProtocolAlert_Example-frameworks.sh\"\n"; 358 | showEnvVarsInLog = 0; 359 | }; 360 | /* End PBXShellScriptBuildPhase section */ 361 | 362 | /* Begin PBXSourcesBuildPhase section */ 363 | 6003F586195388D20070C39A /* Sources */ = { 364 | isa = PBXSourcesBuildPhase; 365 | buildActionMask = 2147483647; 366 | files = ( 367 | 6003F59E195388D20070C39A /* LSJAppDelegate.m in Sources */, 368 | 6003F5A7195388D20070C39A /* LSJViewController.m in Sources */, 369 | 6003F59A195388D20070C39A /* main.m in Sources */, 370 | ); 371 | runOnlyForDeploymentPostprocessing = 0; 372 | }; 373 | 6003F5AA195388D20070C39A /* Sources */ = { 374 | isa = PBXSourcesBuildPhase; 375 | buildActionMask = 2147483647; 376 | files = ( 377 | 6003F5BC195388D20070C39A /* Tests.m in Sources */, 378 | ); 379 | runOnlyForDeploymentPostprocessing = 0; 380 | }; 381 | /* End PBXSourcesBuildPhase section */ 382 | 383 | /* Begin PBXTargetDependency section */ 384 | 6003F5B4195388D20070C39A /* PBXTargetDependency */ = { 385 | isa = PBXTargetDependency; 386 | target = 6003F589195388D20070C39A /* lsj-PrivateProtocolAlert_Example */; 387 | targetProxy = 6003F5B3195388D20070C39A /* PBXContainerItemProxy */; 388 | }; 389 | /* End PBXTargetDependency section */ 390 | 391 | /* Begin PBXVariantGroup section */ 392 | 6003F596195388D20070C39A /* InfoPlist.strings */ = { 393 | isa = PBXVariantGroup; 394 | children = ( 395 | 6003F597195388D20070C39A /* en */, 396 | ); 397 | name = InfoPlist.strings; 398 | sourceTree = ""; 399 | }; 400 | 6003F5B8195388D20070C39A /* InfoPlist.strings */ = { 401 | isa = PBXVariantGroup; 402 | children = ( 403 | 6003F5B9195388D20070C39A /* en */, 404 | ); 405 | name = InfoPlist.strings; 406 | sourceTree = ""; 407 | }; 408 | 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */ = { 409 | isa = PBXVariantGroup; 410 | children = ( 411 | 71719F9E1E33DC2100824A3D /* Base */, 412 | ); 413 | name = LaunchScreen.storyboard; 414 | sourceTree = ""; 415 | }; 416 | /* End PBXVariantGroup section */ 417 | 418 | /* Begin XCBuildConfiguration section */ 419 | 6003F5BD195388D20070C39A /* Debug */ = { 420 | isa = XCBuildConfiguration; 421 | buildSettings = { 422 | ALWAYS_SEARCH_USER_PATHS = NO; 423 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 424 | CLANG_CXX_LIBRARY = "libc++"; 425 | CLANG_ENABLE_MODULES = YES; 426 | CLANG_ENABLE_OBJC_ARC = YES; 427 | CLANG_WARN_BOOL_CONVERSION = YES; 428 | CLANG_WARN_CONSTANT_CONVERSION = YES; 429 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 430 | CLANG_WARN_EMPTY_BODY = YES; 431 | CLANG_WARN_ENUM_CONVERSION = YES; 432 | CLANG_WARN_INT_CONVERSION = YES; 433 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 434 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 435 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 436 | COPY_PHASE_STRIP = NO; 437 | ENABLE_TESTABILITY = YES; 438 | GCC_C_LANGUAGE_STANDARD = gnu99; 439 | GCC_DYNAMIC_NO_PIC = NO; 440 | GCC_OPTIMIZATION_LEVEL = 0; 441 | GCC_PREPROCESSOR_DEFINITIONS = ( 442 | "DEBUG=1", 443 | "$(inherited)", 444 | ); 445 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 446 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 447 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 448 | GCC_WARN_UNDECLARED_SELECTOR = YES; 449 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 450 | GCC_WARN_UNUSED_FUNCTION = YES; 451 | GCC_WARN_UNUSED_VARIABLE = YES; 452 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 453 | ONLY_ACTIVE_ARCH = YES; 454 | SDKROOT = iphoneos; 455 | TARGETED_DEVICE_FAMILY = "1,2"; 456 | }; 457 | name = Debug; 458 | }; 459 | 6003F5BE195388D20070C39A /* Release */ = { 460 | isa = XCBuildConfiguration; 461 | buildSettings = { 462 | ALWAYS_SEARCH_USER_PATHS = NO; 463 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 464 | CLANG_CXX_LIBRARY = "libc++"; 465 | CLANG_ENABLE_MODULES = YES; 466 | CLANG_ENABLE_OBJC_ARC = YES; 467 | CLANG_WARN_BOOL_CONVERSION = YES; 468 | CLANG_WARN_CONSTANT_CONVERSION = YES; 469 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 470 | CLANG_WARN_EMPTY_BODY = YES; 471 | CLANG_WARN_ENUM_CONVERSION = YES; 472 | CLANG_WARN_INT_CONVERSION = YES; 473 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 474 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 475 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 476 | COPY_PHASE_STRIP = YES; 477 | ENABLE_NS_ASSERTIONS = NO; 478 | GCC_C_LANGUAGE_STANDARD = gnu99; 479 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 480 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 481 | GCC_WARN_UNDECLARED_SELECTOR = YES; 482 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 483 | GCC_WARN_UNUSED_FUNCTION = YES; 484 | GCC_WARN_UNUSED_VARIABLE = YES; 485 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 486 | SDKROOT = iphoneos; 487 | TARGETED_DEVICE_FAMILY = "1,2"; 488 | VALIDATE_PRODUCT = YES; 489 | }; 490 | name = Release; 491 | }; 492 | 6003F5C0195388D20070C39A /* Debug */ = { 493 | isa = XCBuildConfiguration; 494 | baseConfigurationReference = 28AA39B930643A800DBC00B0 /* Pods-lsj-PrivateProtocolAlert_Example.debug.xcconfig */; 495 | buildSettings = { 496 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 497 | DEVELOPMENT_TEAM = ""; 498 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 499 | GCC_PREFIX_HEADER = "lsj-PrivateProtocolAlert/lsj-PrivateProtocolAlert-Prefix.pch"; 500 | INFOPLIST_FILE = "lsj-PrivateProtocolAlert/lsj-PrivateProtocolAlert-Info.plist"; 501 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 502 | MODULE_NAME = ExampleApp; 503 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.demo; 504 | PRODUCT_NAME = "$(TARGET_NAME)"; 505 | SWIFT_VERSION = 4.0; 506 | WRAPPER_EXTENSION = app; 507 | }; 508 | name = Debug; 509 | }; 510 | 6003F5C1195388D20070C39A /* Release */ = { 511 | isa = XCBuildConfiguration; 512 | baseConfigurationReference = 44C9A0A0464D895465855455 /* Pods-lsj-PrivateProtocolAlert_Example.release.xcconfig */; 513 | buildSettings = { 514 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 515 | DEVELOPMENT_TEAM = ""; 516 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 517 | GCC_PREFIX_HEADER = "lsj-PrivateProtocolAlert/lsj-PrivateProtocolAlert-Prefix.pch"; 518 | INFOPLIST_FILE = "lsj-PrivateProtocolAlert/lsj-PrivateProtocolAlert-Info.plist"; 519 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 520 | MODULE_NAME = ExampleApp; 521 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.demo; 522 | PRODUCT_NAME = "$(TARGET_NAME)"; 523 | SWIFT_VERSION = 4.0; 524 | WRAPPER_EXTENSION = app; 525 | }; 526 | name = Release; 527 | }; 528 | 6003F5C3195388D20070C39A /* Debug */ = { 529 | isa = XCBuildConfiguration; 530 | baseConfigurationReference = 271A399B320DF2215E79268E /* Pods-lsj-PrivateProtocolAlert_Tests.debug.xcconfig */; 531 | buildSettings = { 532 | BUNDLE_LOADER = "$(TEST_HOST)"; 533 | FRAMEWORK_SEARCH_PATHS = ( 534 | "$(PLATFORM_DIR)/Developer/Library/Frameworks", 535 | "$(inherited)", 536 | "$(DEVELOPER_FRAMEWORKS_DIR)", 537 | ); 538 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 539 | GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; 540 | GCC_PREPROCESSOR_DEFINITIONS = ( 541 | "DEBUG=1", 542 | "$(inherited)", 543 | ); 544 | INFOPLIST_FILE = "Tests/Tests-Info.plist"; 545 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 546 | PRODUCT_NAME = "$(TARGET_NAME)"; 547 | SWIFT_VERSION = 4.0; 548 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/lsj-PrivateProtocolAlert_Example.app/lsj-PrivateProtocolAlert_Example"; 549 | WRAPPER_EXTENSION = xctest; 550 | }; 551 | name = Debug; 552 | }; 553 | 6003F5C4195388D20070C39A /* Release */ = { 554 | isa = XCBuildConfiguration; 555 | baseConfigurationReference = 16ADD4CAECD20F0FC245597F /* Pods-lsj-PrivateProtocolAlert_Tests.release.xcconfig */; 556 | buildSettings = { 557 | BUNDLE_LOADER = "$(TEST_HOST)"; 558 | FRAMEWORK_SEARCH_PATHS = ( 559 | "$(PLATFORM_DIR)/Developer/Library/Frameworks", 560 | "$(inherited)", 561 | "$(DEVELOPER_FRAMEWORKS_DIR)", 562 | ); 563 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 564 | GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; 565 | INFOPLIST_FILE = "Tests/Tests-Info.plist"; 566 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 567 | PRODUCT_NAME = "$(TARGET_NAME)"; 568 | SWIFT_VERSION = 4.0; 569 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/lsj-PrivateProtocolAlert_Example.app/lsj-PrivateProtocolAlert_Example"; 570 | WRAPPER_EXTENSION = xctest; 571 | }; 572 | name = Release; 573 | }; 574 | /* End XCBuildConfiguration section */ 575 | 576 | /* Begin XCConfigurationList section */ 577 | 6003F585195388D10070C39A /* Build configuration list for PBXProject "lsj-PrivateProtocolAlert" */ = { 578 | isa = XCConfigurationList; 579 | buildConfigurations = ( 580 | 6003F5BD195388D20070C39A /* Debug */, 581 | 6003F5BE195388D20070C39A /* Release */, 582 | ); 583 | defaultConfigurationIsVisible = 0; 584 | defaultConfigurationName = Release; 585 | }; 586 | 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "lsj-PrivateProtocolAlert_Example" */ = { 587 | isa = XCConfigurationList; 588 | buildConfigurations = ( 589 | 6003F5C0195388D20070C39A /* Debug */, 590 | 6003F5C1195388D20070C39A /* Release */, 591 | ); 592 | defaultConfigurationIsVisible = 0; 593 | defaultConfigurationName = Release; 594 | }; 595 | 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "lsj-PrivateProtocolAlert_Tests" */ = { 596 | isa = XCConfigurationList; 597 | buildConfigurations = ( 598 | 6003F5C3195388D20070C39A /* Debug */, 599 | 6003F5C4195388D20070C39A /* Release */, 600 | ); 601 | defaultConfigurationIsVisible = 0; 602 | defaultConfigurationName = Release; 603 | }; 604 | /* End XCConfigurationList section */ 605 | }; 606 | rootObject = 6003F582195388D10070C39A /* Project object */; 607 | } 608 | --------------------------------------------------------------------------------