Question

Error building ios react native

  • 18 April 2024
  • 1 reply
  • 192 views

 

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",


1 reply

Userlevel 2

Hi there,

Thanks for reaching out and sorry to hear that you’re having difficulties here!

Please start by viewing the steps in our troubleshooting guide.

If the issue persists after checking our troubleshooting guides and working through any of the outlined steps, we will need a few more details, if they haven't already been provided.

  • Which SDK and version are you using when the error occurs?
  • What is the specific error you are seeing?
  • So that we can work to reproduce, what steps led to the error you are seeing?
  • Which devices and operating system versions are you testing with?
  • Finally, please share text copies of the relevant logs from the troubleshooting steps above.

You can send this information through to us at win@customer.io

 

Reply