{"action":"created","issue":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/5003","repository_url":"https://api.github.com/repos/CocoaPods/CocoaPods","labels_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/5003/labels{/name}","comments_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/5003/comments","events_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/5003/events","html_url":"https://github.com/CocoaPods/CocoaPods/issues/5003","id":139328992,"number":5003,"title":"Bundle identifier of pods is the same as the app (instead of org.cocoapods.PodName)","user":{"login":"lucatorella","id":1781236,"avatar_url":"https://avatars.githubusercontent.com/u/1781236?v=3","gravatar_id":"","url":"https://api.github.com/users/lucatorella","html_url":"https://github.com/lucatorella","followers_url":"https://api.github.com/users/lucatorella/followers","following_url":"https://api.github.com/users/lucatorella/following{/other_user}","gists_url":"https://api.github.com/users/lucatorella/gists{/gist_id}","starred_url":"https://api.github.com/users/lucatorella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucatorella/subscriptions","organizations_url":"https://api.github.com/users/lucatorella/orgs","repos_url":"https://api.github.com/users/lucatorella/repos","events_url":"https://api.github.com/users/lucatorella/events{/privacy}","received_events_url":"https://api.github.com/users/lucatorella/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-08T16:47:18Z","updated_at":"2016-03-08T17:01:18Z","closed_at":null,"body":"# Report\r\n\r\n## What did you do?\r\nI upgraded from the latest stable version of CocoaPods to v. 1.0 beta 5\r\nI've a script building my app which looks like this:\r\n```\r\nxcodebuild -scheme MyScheme \\\r\n  -workspace MyWorkSpace.xcworkspace \\\r\n  -configuration Release \\\r\n  PRODUCT_BUNDLE_IDENTIFIER=\"com.mycomp.myapp\" \\\r\n  ...\r\n  clean \\\r\n  archive -archivePath build/app\r\n\r\nxcodebuild -exportArchive -exportOptionsPlist Jenkins/OptionsPlist.plist \\\r\n  -archivePath build/app.xcarchive \\\r\n  -exportPath build/\r\n```\r\n\r\n## What did you expected to happen?\r\nI expected my app to build and work fine (aka install on any device since I'm using an enterprise certificate)\r\n\r\n## What happened instead?\r\nThe compile and archive is successful, but the app doesn't install on devices.\r\n\r\nFrom the device log I can see that the error is:\r\n`443: Found bundle at AlamofireImage.framework with the same identifier (com.mycomp.myapp) as bundle at Alamofire.framework`\r\n\r\nAlso, I noticed that in the app file inside the `xcarchive` folder, in the Frameworks folder, every framework `Info.plist` file has as a bundle identifier the app identifier. Before it was something like org.cocoapods.PodName.\r\n\r\nI think that passing `PRODUCT_BUNDLE_IDENTIFIER` to xcodebuild changes the bundle identifier of the frameworks as well.\r\n \r\n## Podfile\r\n```ruby\r\nplatform :ios, '8.0'\r\nuse_frameworks!\r\n\r\ntarget 'MyApp' do\r\n  pod 'Fabric'\r\n  pod 'Crashlytics'\r\n  pod 'Alamofire', '~> 3'\r\n  pod 'AlamofireImage', '~> 2.0'\r\n\r\n  target 'MyApp Tests' do\r\n    inherit! :search_paths\r\n    pod 'OHHTTPStubs'\r\n  end\r\nend\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/comments/193868333","html_url":"https://github.com/CocoaPods/CocoaPods/issues/5003#issuecomment-193868333","issue_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/5003","id":193868333,"user":{"login":"lucatorella","id":1781236,"avatar_url":"https://avatars.githubusercontent.com/u/1781236?v=3","gravatar_id":"","url":"https://api.github.com/users/lucatorella","html_url":"https://github.com/lucatorella","followers_url":"https://api.github.com/users/lucatorella/followers","following_url":"https://api.github.com/users/lucatorella/following{/other_user}","gists_url":"https://api.github.com/users/lucatorella/gists{/gist_id}","starred_url":"https://api.github.com/users/lucatorella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucatorella/subscriptions","organizations_url":"https://api.github.com/users/lucatorella/orgs","repos_url":"https://api.github.com/users/lucatorella/repos","events_url":"https://api.github.com/users/lucatorella/events{/privacy}","received_events_url":"https://api.github.com/users/lucatorella/received_events","type":"User","site_admin":false},"created_at":"2016-03-08T17:01:18Z","updated_at":"2016-03-08T17:01:18Z","body":"But it was working fine with all stable versions before 1.0. So there is no plan to fix this?"}}