I am accepting the following error when building my iOS app. They are related to CustomerIOCommon:
Cycle inside CustomerIOCommon; building could produce unreliable results.
Cycle details:
→ Target 'CustomerIOCommon': Libtool /Users/imac/Library/Developer/Xcode/DerivedData/auctions-guezxmxazfdctbekrycricirnybp/Build/Products/Debug-iphonesimulator/CustomerIOCommon/libCustomerIOCommon.a normal
○ Target 'CustomerIOCommon' has compile command with input '/Users/imac/Documents/instacarro/ic-auctions-app/ios/Pods/Target Support Files/CustomerIOCommon/CustomerIOCommon-dummy.m'
○ Target 'CustomerIOCommon' has Swift tasks blocking downstream compilation
○ That command depends on command in Target 'CustomerIOCommon': script phase “Copy generated compatibility header”
○ Target 'CustomerIOCommon': SwiftMergeGeneratedHeaders /Users/imac/Library/Developer/Xcode/DerivedData/auctions-guezxmxazfdctbekrycricirnybp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/CustomerIOCommon.build/DerivedSources/CioInternalCommon-Swift.h /Users/imac/Library/Developer/Xcode/DerivedData/auctions-guezxmxazfdctbekrycricirnybp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/CustomerIOCommon.build/Objects-normal/x86_64/CioInternalCommon-Swift.h
○ Target 'CustomerIOCommon' has Swift tasks blocking downstream compilation
Raw dependency cycle trace:
target: ->
node: <all> ->
command: <all> ->
node: /Users/imac/Library/Developer/Xcode/DerivedData/auctions-guezxmxazfdctbekrycricirnybp/Build/Products/Debug-iphonesimulator/CustomerIOCommon/libCustomerIOCommon.a ->
command: P1:target-CustomerIOCommon-8699adb1dd336b26511df848a716bd42983c8747dc3728f2b617af20a39d8a01-:Debug:Libtool /Users/imac/Library/Developer/Xcode/DerivedData/auctions-guezxmxazfdctbekrycricirnybp/Build/Products/Debug-iphonesimulator/CustomerIOCommon/libCustomerIOCommon.a normal ->
node: /Users/imac/Library/Developer/Xcode/DerivedData/auctions-guezxmxazfdctbekrycricirnybp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/CustomerIOCommon.build/Objects-normal/x86_64/CustomerIOCommon-dummy.o ->
command: P0:target-CustomerIOCommon-8699adb1dd336b26511df848a716bd42983c8747dc3728f2b617af20a39d8a01-:Debug:CompileC /Users/imac/Library/Developer/Xcode/DerivedData/auctions-guezxmxazfdctbekrycricirnybp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/CustomerIOCommon.build/Objects-normal/x86_64/CustomerIOCommon-dummy.o /Users/imac/Documents/instacarro/ic-auctions-app/ios/Pods/Target Support Files/CustomerIOCommon/CustomerIOCommon-dummy.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler ->
node: <target-CustomerIOCommon-8699adb1dd336b26511df848a716bd42983c8747dc3728f2b617af20a39d8a01--swift-generated-headers> ->
command: P2:::Gate target-CustomerIOCommon-8699adb1dd336b26511df848a716bd42983c8747dc3728f2b617af20a39d8a01--swift-generated-headers ->
node: /Users/imac/Library/Developer/Xcode/DerivedData/auctions-guezxmxazfdctbekrycricirnybp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/CustomerIOCommon.build/Objects-normal/x86_64/CustomerIOCommon Swift Compilation Requirements Finished ->
CYCLE POINT ->
command: P1:target-CustomerIOCommon-8699adb1dd336b26511df848a716bd42983c8747dc3728f2b617af20a39d8a01-:Debug:SwiftDriver Compilation Requirements CustomerIOCommon normal x86_64 com.apple.xcode.tools.swift.compiler ->
node: /Users/imac/Library/Developer/Xcode/DerivedData/auctions-guezxmxazfdctbekrycricirnybp/Build/Products/Debug-iphonesimulator/CustomerIOCommon/CioInternalCommon.modulemap ->
command: P1:target-CustomerIOCommon-8699adb1dd336b26511df848a716bd42983c8747dc3728f2b617af20a39d8a01-:Debug:PhaseScriptExecution Copy generated compatibility header /Users/imac/Library/Developer/Xcode/DerivedData/auctions-guezxmxazfdctbekrycricirnybp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/CustomerIOCommon.build/Script-46EB2E00014EC0.sh ->
node: /Users/imac/Library/Developer/Xcode/DerivedData/auctions-guezxmxazfdctbekrycricirnybp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/CustomerIOCommon.build/DerivedSources/CioInternalCommon-Swift.h/ ->
directoryTreeSignature: � ->
directoryContents: /Users/imac/Library/Developer/Xcode/DerivedData/auctions-guezxmxazfdctbekrycricirnybp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/CustomerIOCommon.build/DerivedSources/CioInternalCommon-Swift.h ->
node: /Users/imac/Library/Developer/Xcode/DerivedData/auctions-guezxmxazfdctbekrycricirnybp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/CustomerIOCommon.build/DerivedSources/CioInternalCommon-Swift.h ->
command: P1:target-CustomerIOCommon-8699adb1dd336b26511df848a716bd42983c8747dc3728f2b617af20a39d8a01-:Debug:SwiftMergeGeneratedHeaders /Users/imac/Library/Developer/Xcode/DerivedData/auctions-guezxmxazfdctbekrycricirnybp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/CustomerIOCommon.build/DerivedSources/CioInternalCommon-Swift.h /Users/imac/Library/Developer/Xcode/DerivedData/auctions-guezxmxazfdctbekrycricirnybp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/CustomerIOCommon.build/Objects-normal/x86_64/CioInternalCommon-Swift.h ->
node: /Users/imac/Library/Developer/Xcode/DerivedData/auctions-guezxmxazfdctbekrycricirnybp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/CustomerIOCommon.build/Objects-normal/x86_64/CioInternalCommon-Swift.h ->
command: P1:target-CustomerIOCommon-8699adb1dd336b26511df848a716bd42983c8747dc3728f2b617af20a39d8a01-:Debug:SwiftDriver Compilation Requirements CustomerIOCommon normal x86_64 com.apple.xcode.tools.swift.compiler
When removing the lib, the app is built
Obs:
"react-native": "0.70.6",
"customerio-reactnative": "^3.6.0",