{"action":"created","issue":{"url":"https://api.github.com/repos/Yummypets/YPImagePicker/issues/171","repository_url":"https://api.github.com/repos/Yummypets/YPImagePicker","labels_url":"https://api.github.com/repos/Yummypets/YPImagePicker/issues/171/labels{/name}","comments_url":"https://api.github.com/repos/Yummypets/YPImagePicker/issues/171/comments","events_url":"https://api.github.com/repos/Yummypets/YPImagePicker/issues/171/events","html_url":"https://github.com/Yummypets/YPImagePicker/issues/171","id":334986284,"node_id":"MDU6SXNzdWUzMzQ5ODYyODQ=","number":171,"title":"Application is getting crashed when initialise the config file","user":{"login":"MandeepSingh1","id":11526089,"node_id":"MDQ6VXNlcjExNTI2MDg5","avatar_url":"https://avatars2.githubusercontent.com/u/11526089?v=4","gravatar_id":"","url":"https://api.github.com/users/MandeepSingh1","html_url":"https://github.com/MandeepSingh1","followers_url":"https://api.github.com/users/MandeepSingh1/followers","following_url":"https://api.github.com/users/MandeepSingh1/following{/other_user}","gists_url":"https://api.github.com/users/MandeepSingh1/gists{/gist_id}","starred_url":"https://api.github.com/users/MandeepSingh1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MandeepSingh1/subscriptions","organizations_url":"https://api.github.com/users/MandeepSingh1/orgs","repos_url":"https://api.github.com/users/MandeepSingh1/repos","events_url":"https://api.github.com/users/MandeepSingh1/events{/privacy}","received_events_url":"https://api.github.com/users/MandeepSingh1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-06-22T19:03:10Z","updated_at":"2018-06-25T12:36:25Z","closed_at":null,"author_association":"NONE","body":"Hi Team, am using your library in lots of projects, but today I update the library to latest code from Cocoapods but now whenever I initialise the library with new swift 4.0 code. My application is getting crashed at this line. I don't know why it happens\r\n\r\n   config.library.mediaType = .photoAndVideo\r\n        config.library.onlySquare  = false\r\n        config.onlySquareImagesFromCamera = true\r\n        config.targetImageSize = .original\r\n        config.usesFrontCamera = true\r\n        config.showsFilters = true\r\n        config.filters = [YPFilterDescriptor(name: \"Normal\", filterName: \"\"),\r\n                          YPFilterDescriptor(name: \"Mono\", filterName: \"CIPhotoEffectMono\")]\r\n        config.shouldSaveNewPicturesToAlbum = true\r\n        config.video.compression = AVAssetExportPresetHighestQuality\r\n        config.albumName = \"MyGreatAppName\"\r\n        config.screens = [.library, .photo, .video]\r\n        config.startOnScreen = .library\r\n        config.video.recordingTimeLimit = 10\r\n        config.video.libraryTimeLimit = 20\r\n        config.showsCrop = .rectangle(ratio: (16/9))\r\n        config.wordings.libraryTitle = \"Gallery\"\r\n        config.hidesStatusBar = false\r\n//        config.overlayView = myOverlayView\r\n        config.library.maxNumberOfItems = 5\r\n//        config.isScrollToChangeModesEnabled = false\r\n        \r\n        // Build a picker with your configuration\r\n       let picker = YPImagePicker(configuration: config)\r\n\r\nCan you please help me out and Xcode don't show me why the application is getting crashed. "},"comment":{"url":"https://api.github.com/repos/Yummypets/YPImagePicker/issues/comments/399936620","html_url":"https://github.com/Yummypets/YPImagePicker/issues/171#issuecomment-399936620","issue_url":"https://api.github.com/repos/Yummypets/YPImagePicker/issues/171","id":399936620,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTkzNjYyMA==","user":{"login":"s4cha","id":1812953,"node_id":"MDQ6VXNlcjE4MTI5NTM=","avatar_url":"https://avatars1.githubusercontent.com/u/1812953?v=4","gravatar_id":"","url":"https://api.github.com/users/s4cha","html_url":"https://github.com/s4cha","followers_url":"https://api.github.com/users/s4cha/followers","following_url":"https://api.github.com/users/s4cha/following{/other_user}","gists_url":"https://api.github.com/users/s4cha/gists{/gist_id}","starred_url":"https://api.github.com/users/s4cha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s4cha/subscriptions","organizations_url":"https://api.github.com/users/s4cha/orgs","repos_url":"https://api.github.com/users/s4cha/repos","events_url":"https://api.github.com/users/s4cha/events{/privacy}","received_events_url":"https://api.github.com/users/s4cha/received_events","type":"User","site_admin":false},"created_at":"2018-06-25T12:36:25Z","updated_at":"2018-06-25T12:36:25Z","author_association":"MEMBER","body":"@MandeepSingh1, it's quite hard for me to help without more information. One thing you can try is integrate the library via Carthage and see if that solves your issue. \r\nAlso we just updated a new version (3.3.0) so you could try this one as well.\r\nIt really looks like something on your side so it's quite hard to help you debug without having access the the code :)\r\n\r\nHope this helps,"}}
{"actor":{"display_login":"s4cha"}}