Skip to content
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.

Pod install generates duplicate UUIDs #58

Closed
Ingibjorg opened this issue Jun 23, 2021 · 1 comment
Closed

Pod install generates duplicate UUIDs #58

Ingibjorg opened this issue Jun 23, 2021 · 1 comment

Comments

@Ingibjorg
Copy link

Expected Behaviour

No warnings should appear after installing this package and running pod install

Actual Behaviour

After installing this package and running pod install, a warning appears saying the Xcodeproj generated duplicate UUIDs.

Reproduce Scenario (including but not limited to)

Install this package and observe warning after pod install

Steps to Reproduce

Create a new project and install this package and observe warning after pod install

react-native init acptest
npm install @adobe/react-native-acpanalytics
cd ios && pod install

Platform and Version

Observed on iOS for react-native-acpanalytics version 1.3.0

Sample Code that illustrates the problem

Logs taken while reproducing problem

[!] [Xcodeproj] Generated duplicate UUIDs:

PBXBuildFile -- Pods.xcodeproj/targets/buildConfigurationList:buildConfigurations:baseConfigurationReference:|,buildSettings:|,displayName:|,isa:|,name:|,,baseConfigurationReference:|,buildSettings:|,displayName:|,isa:|,name:|,,defaultConfigurationIsVisible:0,defaultConfigurationName:Release,displayName:ConfigurationList,isa:XCConfigurationList,,buildPhases:buildActionMask:2147483647,displayName:Headers,files:|,|,|,|,|,isa:PBXHeadersBuildPhase,runOnlyForDeploymentPostprocessing:0,,buildActionMask:2147483647,displayName:[CP] Copy XCFrameworks,files:,inputFileListPaths:|,isa:PBXShellScriptBuildPhase,name:[CP] Copy XCFrameworks,outputFileListPaths:|,runOnlyForDeploymentPostprocessing:0,shellPath:/bin/sh,shellScript:"${PODS_ROOT}/Target Support Files/RCTACPAnalytics/RCTACPAnalytics-xcframeworks.sh"
,showEnvVarsInLog:0,,buildActionMask:2147483647,displayName:Sources,files:|,|,isa:PBXSourcesBuildPhase,runOnlyForDeploymentPostprocessing:0,,buildActionMask:2147483647,displayName:Frameworks,files:,isa:PBXFrameworksBuildPhase,runOnlyForDeploymentPostprocessing:0,,buildRules:,dependencies:displayName:React,isa:PBXTargetDependency,targetProxy:containerPortal:|,displayName:|,isa:|,proxyType:|,remoteGlobalIDString:|,remoteInfo:|,,,displayName:RCTACPAnalytics,isa:PBXNativeTarget,name:RCTACPAnalytics,packageProductDependencies:,productName:RCTACPAnalytics,productReference:displayName:libRCTACPAnalytics.a,explicitFileType:archive.ar,includeInIndex:0,isa:PBXFileReference,name:libRCTACPAnalytics.a,path:libRCTACPAnalytics.a,sourceTree:BUILT_PRODUCTS_DIR,,productType:com.apple.product-type.library.static,/buildPhases/buildActionMask:2147483647,displayName:Headers,files:displayName:ACPAnalytics.h,fileRef:displayName:|,includeInIndex:|,isa:|,lastKnownFileType:|,path:|,sourceTree:|,,isa:PBXBuildFile,settings:ATTRIBUTES:|,,,displayName:ACPAnalytics.h,fileRef:displayName:|,includeInIndex:|,isa:|,lastKnownFileType:|,path:|,sourceTree:|,,isa:PBXBuildFile,settings:ATTRIBUTES:|,,,displayName:ACPAnalytics.h,fileRef:displayName:|,includeInIndex:|,isa:|,lastKnownFileType:|,path:|,sourceTree:|,,isa:PBXBuildFile,settings:ATTRIBUTES:|,,,displayName:ACPAnalytics.h,fileRef:displayName:|,includeInIndex:|,isa:|,lastKnownFileType:|,path:|,sourceTree:|,,isa:PBXBuildFile,settings:ATTRIBUTES:|,,,displayName:RCTACPAnalytics.h,fileRef:displayName:|,includeInIndex:|,isa:|,lastKnownFileType:|,path:|,sourceTree:|,,isa:PBXBuildFile,settings:ATTRIBUTES:|,,,isa:PBXHeadersBuildPhase,runOnlyForDeploymentPostprocessing:0,/files/displayName:ACPAnalytics.h,fileRef:displayName:ACPAnalytics.h,includeInIndex:1,isa:PBXFileReference,lastKnownFileType:sourcecode.c.h,path:ACPAnalytics.h,sourceTree:<group>,,isa:PBXBuildFile,settings:ATTRIBUTES:Project,,
PBXBuildFile -- Pods.xcodeproj/targets/buildConfigurationList:buildConfigurations:baseConfigurationReference:|,buildSettings:|,displayName:|,isa:|,name:|,,baseConfigurationReference:|,buildSettings:|,displayName:|,isa:|,name:|,,defaultConfigurationIsVisible:0,defaultConfigurationName:Release,displayName:ConfigurationList,isa:XCConfigurationList,,buildPhases:buildActionMask:2147483647,displayName:Headers,files:|,|,|,|,|,isa:PBXHeadersBuildPhase,runOnlyForDeploymentPostprocessing:0,,buildActionMask:2147483647,displayName:[CP] Copy XCFrameworks,files:,inputFileListPaths:|,isa:PBXShellScriptBuildPhase,name:[CP] Copy XCFrameworks,outputFileListPaths:|,runOnlyForDeploymentPostprocessing:0,shellPath:/bin/sh,shellScript:"${PODS_ROOT}/Target Support Files/RCTACPAnalytics/RCTACPAnalytics-xcframeworks.sh"
,showEnvVarsInLog:0,,buildActionMask:2147483647,displayName:Sources,files:|,|,isa:PBXSourcesBuildPhase,runOnlyForDeploymentPostprocessing:0,,buildActionMask:2147483647,displayName:Frameworks,files:,isa:PBXFrameworksBuildPhase,runOnlyForDeploymentPostprocessing:0,,buildRules:,dependencies:displayName:React,isa:PBXTargetDependency,targetProxy:containerPortal:|,displayName:|,isa:|,proxyType:|,remoteGlobalIDString:|,remoteInfo:|,,,displayName:RCTACPAnalytics,isa:PBXNativeTarget,name:RCTACPAnalytics,packageProductDependencies:,productName:RCTACPAnalytics,productReference:displayName:libRCTACPAnalytics.a,explicitFileType:archive.ar,includeInIndex:0,isa:PBXFileReference,name:libRCTACPAnalytics.a,path:libRCTACPAnalytics.a,sourceTree:BUILT_PRODUCTS_DIR,,productType:com.apple.product-type.library.static,/buildPhases/buildActionMask:2147483647,displayName:Headers,files:displayName:ACPAnalytics.h,fileRef:displayName:|,includeInIndex:|,isa:|,lastKnownFileType:|,path:|,sourceTree:|,,isa:PBXBuildFile,settings:ATTRIBUTES:|,,,displayName:ACPAnalytics.h,fileRef:displayName:|,includeInIndex:|,isa:|,lastKnownFileType:|,path:|,sourceTree:|,,isa:PBXBuildFile,settings:ATTRIBUTES:|,,,displayName:ACPAnalytics.h,fileRef:displayName:|,includeInIndex:|,isa:|,lastKnownFileType:|,path:|,sourceTree:|,,isa:PBXBuildFile,settings:ATTRIBUTES:|,,,displayName:ACPAnalytics.h,fileRef:displayName:|,includeInIndex:|,isa:|,lastKnownFileType:|,path:|,sourceTree:|,,isa:PBXBuildFile,settings:ATTRIBUTES:|,,,displayName:RCTACPAnalytics.h,fileRef:displayName:|,includeInIndex:|,isa:|,lastKnownFileType:|,path:|,sourceTree:|,,isa:PBXBuildFile,settings:ATTRIBUTES:|,,,isa:PBXHeadersBuildPhase,runOnlyForDeploymentPostprocessing:0,/files/displayName:ACPAnalytics.h,fileRef:displayName:ACPAnalytics.h,includeInIndex:1,isa:PBXFileReference,lastKnownFileType:sourcecode.c.h,path:ACPAnalytics.h,sourceTree:<group>,,isa:PBXBuildFile,settings:ATTRIBUTES:Project,,
PBXBuildFile -- Pods.xcodeproj/targets/buildConfigurationList:buildConfigurations:baseConfigurationReference:|,buildSettings:|,displayName:|,isa:|,name:|,,baseConfigurationReference:|,buildSettings:|,displayName:|,isa:|,name:|,,defaultConfigurationIsVisible:0,defaultConfigurationName:Release,displayName:ConfigurationList,isa:XCConfigurationList,,buildPhases:buildActionMask:2147483647,displayName:Headers,files:|,|,|,|,|,isa:PBXHeadersBuildPhase,runOnlyForDeploymentPostprocessing:0,,buildActionMask:2147483647,displayName:[CP] Copy XCFrameworks,files:,inputFileListPaths:|,isa:PBXShellScriptBuildPhase,name:[CP] Copy XCFrameworks,outputFileListPaths:|,runOnlyForDeploymentPostprocessing:0,shellPath:/bin/sh,shellScript:"${PODS_ROOT}/Target Support Files/RCTACPAnalytics/RCTACPAnalytics-xcframeworks.sh"
,showEnvVarsInLog:0,,buildActionMask:2147483647,displayName:Sources,files:|,|,isa:PBXSourcesBuildPhase,runOnlyForDeploymentPostprocessing:0,,buildActionMask:2147483647,displayName:Frameworks,files:,isa:PBXFrameworksBuildPhase,runOnlyForDeploymentPostprocessing:0,,buildRules:,dependencies:displayName:React,isa:PBXTargetDependency,targetProxy:containerPortal:|,displayName:|,isa:|,proxyType:|,remoteGlobalIDString:|,remoteInfo:|,,,displayName:RCTACPAnalytics,isa:PBXNativeTarget,name:RCTACPAnalytics,packageProductDependencies:,productName:RCTACPAnalytics,productReference:displayName:libRCTACPAnalytics.a,explicitFileType:archive.ar,includeInIndex:0,isa:PBXFileReference,name:libRCTACPAnalytics.a,path:libRCTACPAnalytics.a,sourceTree:BUILT_PRODUCTS_DIR,,productType:com.apple.product-type.library.static,/buildPhases/buildActionMask:2147483647,displayName:Headers,files:displayName:ACPAnalytics.h,fileRef:displayName:|,includeInIndex:|,isa:|,lastKnownFileType:|,path:|,sourceTree:|,,isa:PBXBuildFile,settings:ATTRIBUTES:|,,,displayName:ACPAnalytics.h,fileRef:displayName:|,includeInIndex:|,isa:|,lastKnownFileType:|,path:|,sourceTree:|,,isa:PBXBuildFile,settings:ATTRIBUTES:|,,,displayName:ACPAnalytics.h,fileRef:displayName:|,includeInIndex:|,isa:|,lastKnownFileType:|,path:|,sourceTree:|,,isa:PBXBuildFile,settings:ATTRIBUTES:|,,,displayName:ACPAnalytics.h,fileRef:displayName:|,includeInIndex:|,isa:|,lastKnownFileType:|,path:|,sourceTree:|,,isa:PBXBuildFile,settings:ATTRIBUTES:|,,,displayName:RCTACPAnalytics.h,fileRef:displayName:|,includeInIndex:|,isa:|,lastKnownFileType:|,path:|,sourceTree:|,,isa:PBXBuildFile,settings:ATTRIBUTES:|,,,isa:PBXHeadersBuildPhase,runOnlyForDeploymentPostprocessing:0,/files/displayName:ACPAnalytics.h,fileRef:displayName:ACPAnalytics.h,includeInIndex:1,isa:PBXFileReference,lastKnownFileType:sourcecode.c.h,path:ACPAnalytics.h,sourceTree:<group>,,isa:PBXBuildFile,settings:ATTRIBUTES:Project,,
@cacheung
Copy link
Contributor

cacheung commented Aug 9, 2021

Hi,
This issue should no longer exist in the latest version react-native-acpanalytics 2.0.0.

Thanks,
Calise

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

No branches or pull requests

2 participants