{"action":"created","issue":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/6092","repository_url":"https://api.github.com/repos/CocoaPods/CocoaPods","labels_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/6092/labels{/name}","comments_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/6092/comments","events_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/6092/events","html_url":"https://github.com/CocoaPods/CocoaPods/issues/6092","id":185673190,"number":6092,"title":"dyld: Library not loaded: /System/Library/Frameworks/UserNotifications.framework/UserNotifications   Referenced from: /private/var/mobile/Containers/Bundle/Application/CCA44320-A37C-494F-8ACC-74C1E1D8425B/MyProjectCocoaPods.app/Frameworks/MyExtension.framework/MyExtension   Reason: image not found","user":{"login":"yacir","id":2587473,"avatar_url":"https://avatars.githubusercontent.com/u/2587473?v=3","gravatar_id":"","url":"https://api.github.com/users/yacir","html_url":"https://github.com/yacir","followers_url":"https://api.github.com/users/yacir/followers","following_url":"https://api.github.com/users/yacir/following{/other_user}","gists_url":"https://api.github.com/users/yacir/gists{/gist_id}","starred_url":"https://api.github.com/users/yacir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yacir/subscriptions","organizations_url":"https://api.github.com/users/yacir/orgs","repos_url":"https://api.github.com/users/yacir/repos","events_url":"https://api.github.com/users/yacir/events{/privacy}","received_events_url":"https://api.github.com/users/yacir/received_events","type":"User","site_admin":false},"labels":[{"id":60951604,"url":"https://api.github.com/repos/CocoaPods/CocoaPods/labels/s1:awaiting%20input","name":"s1:awaiting input","color":"EDCE24","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-27T13:47:25Z","updated_at":"2016-10-28T16:19:24Z","closed_at":null,"body":"* [x] I've read and understood the [*CONTRIBUTING guidelines and have done my best effort to follow](https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md).\r\n\r\n# Report\r\n\r\n## What did you do?\r\n\r\nRun `pod install`\r\nBuild and run the app  on device with iOS 9\r\n\r\n## What did you expect to happen?\r\nRun the app correctly.\r\n\r\n## What happened instead?\r\n\r\n> dyld: Library not loaded: /System/Library/Frameworks/UserNotifications.framework/UserNotifications\r\n>   Referenced from: /private/var/mobile/Containers/Bundle/Application/CCA44320-A37C-494F-8ACC-74C1E1D8425B/MyProjectCocoaPods.app/Frameworks/MyExtension.framework/MyExtension\r\n>   Reason: image not found\r\n> \r\n\r\n## CocoaPods Environment\r\n\r\n### Stack\r\n\r\n```\r\n   CocoaPods : 1.1.1\r\n        Ruby : ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin16]\r\n    RubyGems : 2.0.14.1\r\n        Host : Mac OS X 10.12 (16A323)\r\n       Xcode : 8.0 (8A218a)\r\n         Git : git version 2.8.4 (Apple Git-73)\r\nRuby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib\r\nRepositories : bitbucket-cocoapodsspecs - https://XXXXXXXXXXXXX/cocoapodsspecs.git @ 0de74547534c803655da9496f043ccf3a3bf5f2a\r\n               master - https://github.com/CocoaPods/Specs.git @ c900ec88572a406e1257d60b53ec6d0e5a3b8b1b\r\n```\r\n\r\n### Installation Source\r\n\r\n```\r\nExecutable Path: /usr/local/bin/pod\r\n```\r\n\r\n### Plugins\r\n\r\n```\r\ncocoapods-deintegrate : 1.0.1\r\ncocoapods-plugins     : 1.0.0\r\ncocoapods-search      : 1.0.0\r\ncocoapods-stats       : 1.0.0\r\ncocoapods-trunk       : 1.1.1\r\ncocoapods-try         : 1.1.0\r\n```\r\n\r\n### Podfile\r\n\r\n```ruby\r\n# My specs source repo\r\nsource 'https://XXXXXXXXXXXXX/cocoapodsspecs.git'\r\n\r\n# CocoaPods master specs repo\r\n# source 'https://github.com/CocoaPods/Specs.git'\r\n\r\nuse_frameworks!\r\n\r\ntarget 'MyProjectCocoaPods' do\r\n    platform :ios, '8.0'\r\n    pod 'My-iOS-SDK', '~> 6.0'\r\nend\r\n\r\ntarget 'MyProjectCocoaPodsExtension' do\r\n    platform :ios, '8.0'\r\n    pod 'My-iOS-SDK-Extension', '~> 1.0'\r\nend\r\n```\r\n\r\n## Project that demonstrates the issue\r\n\r\nProject is commercial :/.\r\n\r\n## My Framework Podspec\r\n\r\n```ruby\r\nPod::Spec.new do |s|\r\n  s.name         = \"My-iOS-SDK-Extension\"\r\n  s.module_name  = \"MyExtension\"\r\n  s.version      = \"1.0.0\"\r\n  s.summary      = \"...\"\r\n\r\n  s.homepage     = \"https://github.com/\"\r\n  s.license =    { :type => 'proprietary', :text => <<-LICENSE\r\n                      Copyright 2016, Me ;)\r\n                   LICENSE\r\n                 }  \r\n  s.author       = { \"Yass\" => \"yacir@github.com\" }\r\n  s.source = { :http => \"http://XXXXXXXXXXXXX/MyExtension.zip\" }\r\n\r\n  s.ios.deployment_target = \"8.0\"\r\n\r\n  s.vendored_frameworks  = 'MyExtension.framework'\r\nend\r\n```\r\n\r\n## My Framework: `otool -arch arm64 -l`\r\n\r\nLoad command 12\r\n          cmd LC_LOAD_DYLIB\r\n      cmdsize 104\r\n         name /System/Library/Frameworks/UserNotifications.framework/UserNotifications (offset 24)\r\n   time stamp 2 Thu Jan  1 01:00:02 1970\r\n      current version 1.0.0\r\ncompatibility version 1.0.0\r\nLoad command 13\r\n          cmd LC_LOAD_DYLIB\r\n      cmdsize 80\r\n         name /System/Library/Frameworks/UIKit.framework/UIKit (offset 24)\r\n   time stamp 2 Thu Jan  1 01:00:02 1970\r\n      current version 3599.6.0\r\ncompatibility version 1.0.0\r\nLoad command 14\r\n          cmd LC_LOAD_DYLIB\r\n      cmdsize 88\r\n         name /System/Library/Frameworks/CoreGraphics.framework/CoreGraphics (offset 24)\r\n   time stamp 2 Thu Jan  1 01:00:02 1970\r\n      current version 1070.0.0\r\ncompatibility version 64.0.0\r\nLoad command 15\r\n          cmd LC_LOAD_WEAK_DYLIB\r\n      cmdsize 88\r\n         name /System/Library/Frameworks/Foundation.framework/Foundation (offset 24)\r\n   time stamp 2 Thu Jan  1 01:00:02 1970\r\n      current version 1349.0.0\r\ncompatibility version 300.0.0\r\nLoad command 16\r\n          cmd LC_LOAD_DYLIB\r\n      cmdsize 56\r\n         name /usr/lib/libobjc.A.dylib (offset 24)\r\n   time stamp 2 Thu Jan  1 01:00:02 1970\r\n      current version 228.0.0\r\ncompatibility version 1.0.0\r\nLoad command 17\r\n          cmd LC_LOAD_DYLIB\r\n      cmdsize 56\r\n         name /usr/lib/libSystem.B.dylib (offset 24)\r\n   time stamp 2 Thu Jan  1 01:00:02 1970\r\n      current version 1238.0.0\r\ncompatibility version 1.0.0\r\nLoad command 18\r\n          cmd LC_LOAD_DYLIB\r\n      cmdsize 96\r\n         name /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation (offset 24)\r\n   time stamp 2 Thu Jan  1 01:00:02 1970\r\n      current version 1348.0.0\r\ncompatibility version 150.0.0\r\n\r\n## Note\r\nWhen i remove the `use_frameworks!` the app run correctly. But i must add the stip-framework.sh manually. "},"comment":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/comments/256963888","html_url":"https://github.com/CocoaPods/CocoaPods/issues/6092#issuecomment-256963888","issue_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/6092","id":256963888,"user":{"login":"yacir","id":2587473,"avatar_url":"https://avatars.githubusercontent.com/u/2587473?v=3","gravatar_id":"","url":"https://api.github.com/users/yacir","html_url":"https://github.com/yacir","followers_url":"https://api.github.com/users/yacir/followers","following_url":"https://api.github.com/users/yacir/following{/other_user}","gists_url":"https://api.github.com/users/yacir/gists{/gist_id}","starred_url":"https://api.github.com/users/yacir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yacir/subscriptions","organizations_url":"https://api.github.com/users/yacir/orgs","repos_url":"https://api.github.com/users/yacir/repos","events_url":"https://api.github.com/users/yacir/events{/privacy}","received_events_url":"https://api.github.com/users/yacir/received_events","type":"User","site_admin":false},"created_at":"2016-10-28T16:19:23Z","updated_at":"2016-10-28T16:19:23Z","body":"`UserNotifications.framework` is not really missing. When i add the `My-iOS-SDK-Extension` dependency manually or with CocoaPods but by disabling `use_frameworks!` everything works well. \r\n\r\nBut when i enable the `use_frameworks!` option,  the error occurs with devices with iOS 8/9.\r\n\r\n"}}
{"actor":{"display_login":"yacir"}}