Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WatchOS 2: CocoaPods #854

Closed
talkaboutdesign opened this issue Mar 14, 2016 · 6 comments
Closed

WatchOS 2: CocoaPods #854

talkaboutdesign opened this issue Mar 14, 2016 · 6 comments

Comments

@talkaboutdesign
Copy link

When updating my project to include Parse Framework for WatchOS 2. I get the following message:

warning: The file reference for "Bolts.framework" is a member of multiple groups ("Products" and "Products"); this indicates a malformed project. Only the membership in one of the groups will be preserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same path.

My Podfile looks like this:

use_frameworks!

target 'Design Hunt' do
    platform :ios, '9.0'
    pod 'HanekeSwift'
    pod 'Fabric'
    pod 'Crashlytics'
    pod 'Parse'
    pod 'ParseTwitterUtils'
    pod 'OneSignal'
end

target 'Design Hunt: News Extension' do
    platform :watchos
    pod 'Parse'
end

Additionally here is the warning:

[!] [Xcodeproj] Generated duplicate UUIDs:

PBXFileReference -- /mainGroup/children/children:displayName:Bolts.framework,explicitFileType:wrapper.framework,includeInIndex:0,isa:PBXFileReference,name:Bolts.framework,path:Bolts.framework,sourceTree:BUILT_PRODUCTS_DIR,,displayName:Bolts.framework,explicitFileType:wrapper.framework,includeInIndex:0,isa:PBXFileReference,name:Bolts.framework,path:Bolts.framework,sourceTree:BUILT_PRODUCTS_DIR,,displayName:Haneke.framework,explicitFileType:wrapper.framework,includeInIndex:0,isa:PBXFileReference,name:Haneke.framework,path:Haneke.framework,sourceTree:BUILT_PRODUCTS_DIR,,displayName:Parse.framework,explicitFileType:wrapper.framework,includeInIndex:0,isa:PBXFileReference,name:Parse.framework,path:Parse.framework,sourceTree:BUILT_PRODUCTS_DIR,,displayName:Parse.framework,explicitFileType:wrapper.framework,includeInIndex:0,isa:PBXFileReference,name:Parse.framework,path:Parse.framework,sourceTree:BUILT_PRODUCTS_DIR,,displayName:ParseTwitterUtils.framework,explicitFileType:wrapper.framework,includeInIndex:0,isa:PBXFileReference,name:ParseTwitterUtils.framework,path:ParseTwitterUtils.framework,sourceTree:BUILT_PRODUCTS_DIR,,displayName:Pods_Design_Hunt.framework,explicitFileType:wrapper.framework,includeInIndex:0,isa:PBXFileReference,name:Pods_Design_Hunt.framework,path:Pods_Design_Hunt.framework,sourceTree:BUILT_PRODUCTS_DIR,,displayName:Pods_Design_Hunt__News_Extension.framework,explicitFileType:wrapper.framework,includeInIndex:0,isa:PBXFileReference,name:Pods_Design_Hunt__News_Extension.framework,path:Pods_Design_Hunt__News_Extension.framework,sourceTree:BUILT_PRODUCTS_DIR,,displayName:Products,isa:PBXGroup,name:Products,sourceTree:<group>,/Products/children/displayName:Bolts.framework,explicitFileType:wrapper.framework,includeInIndex:0,isa:PBXFileReference,name:Bolts.framework,path:Bolts.framework,sourceTree:BUILT_PRODUCTS_DIR,/Products/Bolts.framework
PBXFileReference -- /mainGroup/children/children:displayName:Bolts.framework,explicitFileType:wrapper.framework,includeInIndex:0,isa:PBXFileReference,name:Bolts.framework,path:Bolts.framework,sourceTree:BUILT_PRODUCTS_DIR,,displayName:Bolts.framework,explicitFileType:wrapper.framework,includeInIndex:0,isa:PBXFileReference,name:Bolts.framework,path:Bolts.framework,sourceTree:BUILT_PRODUCTS_DIR,,displayName:Haneke.framework,explicitFileType:wrapper.framework,includeInIndex:0,isa:PBXFileReference,name:Haneke.framework,path:Haneke.framework,sourceTree:BUILT_PRODUCTS_DIR,,displayName:Parse.framework,explicitFileType:wrapper.framework,includeInIndex:0,isa:PBXFileReference,name:Parse.framework,path:Parse.framework,sourceTree:BUILT_PRODUCTS_DIR,,displayName:Parse.framework,explicitFileType:wrapper.framework,includeInIndex:0,isa:PBXFileReference,name:Parse.framework,path:Parse.framework,sourceTree:BUILT_PRODUCTS_DIR,,displayName:ParseTwitterUtils.framework,explicitFileType:wrapper.framework,includeInIndex:0,isa:PBXFileReference,name:ParseTwitterUtils.framework,path:ParseTwitterUtils.framework,sourceTree:BUILT_PRODUCTS_DIR,,displayName:Pods_Design_Hunt.framework,explicitFileType:wrapper.framework,includeInIndex:0,isa:PBXFileReference,name:Pods_Design_Hunt.framework,path:Pods_Design_Hunt.framework,sourceTree:BUILT_PRODUCTS_DIR,,displayName:Pods_Design_Hunt__News_Extension.framework,explicitFileType:wrapper.framework,includeInIndex:0,isa:PBXFileReference,name:Pods_Design_Hunt__News_Extension.framework,path:Pods_Design_Hunt__News_Extension.framework,sourceTree:BUILT_PRODUCTS_DIR,,displayName:Products,isa:PBXGroup,name:Products,sourceTree:<group>,/Products/children/displayName:Parse.framework,explicitFileType:wrapper.framework,includeInIndex:0,isa:PBXFileReference,name:Parse.framework,path:Parse.framework,sourceTree:BUILT_PRODUCTS_DIR,/Products/Parse.framework

@talkaboutdesign
Copy link
Author

After this building project doesn't work anymore.

screen shot 2016-03-14 at 3 11 53 pm

@nlutsenko
Copy link
Contributor

Looks like the issue is not only with our framework, but exists on CocoaPods in general:
CocoaPods/CocoaPods#4326

I would suggest trying few things:

  • Add Bolts as a pod dependency explciitly to both targets
  • Copy use_frameworks! into both groups and remove the unifying one

@nlutsenko nlutsenko self-assigned this Mar 14, 2016
@nlutsenko
Copy link
Contributor

Let me know how it goes... Also using latest latest CocoaPods (1.0 beta) might help with the issue.

@parse-github-bot
Copy link

Thank you for your feedback. We prioritize issues that have clear and concise repro steps. Please see our Bug Reporting Guidelines about what information should be added to this issue.

Please try the latest SDK. Our release notes have details about what issues were fixed in each release.

In addition, you might find the following resources helpful:

@parse-github-bot
Copy link

This issue has not been updated for 7 days. If you have additional information to help pinpoint this issue as an SDK bug, please comment on this issue. We will close this issue in 7 days if no additional information is provided. Thank you for your feedback.

@parse-github-bot
Copy link

We are closing this issue due to another 7 days of inactivity. If you have additional information to help pinpoint this issue as an SDK bug, please reopen it with the additional information.Thank you for your feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants