Build support:

I’m trying to get a signed build on Bitrise. I can Archive on my local Xcode without any problems, and could even export signed builds. On the other hand running the build on bitrise fails.

It’s a react-native app, and I try to run just the ios build now.

β–Έ Compiling RNMixpanel.m

❌  /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ctype.h:39:15: cyclic dependency in module 'Darwin': Darwin -> std -> Darwin

#include_next <ctype.h>
                                                                                     ^



❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/usr/include/tgmath.h:31:10: could not build module 'std'

#include <complex.h>
              ^



❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:10: could not build module 'Darwin'

#include <sys/types.h>
 ~~~~~~~~^



❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/usr/include/dispatch/dispatch.h:25:10: could not build module 'Darwin'

#include <Availability.h>
 ~~~~~~~~^



❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/usr/include/os/object.h:25:10: could not build module 'Darwin'

#include <Availability.h>
 ~~~~~~~~^



❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:10: could not build module 'CoreFoundation'

#include <CoreFoundation/CoreFoundation.h>
 ~~~~~~~~^



❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/usr/include/objc/objc.h:31:10: could not build module 'Darwin'

#include <sys/types.h>      // for __DARWIN_NULL
 ~~~~~~~~^



❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h:27:10: could not build module 'Darwin'

#include <TargetConditionals.h>
 ~~~~~~~~^



❌  /Users/vagrant/Library/Developer/Xcode/DerivedData/potzak-aoephrxdrguqgvgimtqsseqqkchu/Build/Intermediates.noindex/ArchiveIntermediates/potzak/BuildProductsPath/Release-iphoneos/include/React/RCTBridgeModule.h:10:9: could not build module 'Foundation'

#import <Foundation/Foundation.h>
 ~~~~~~~~^



❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h:8:9: could not build module 'Darwin'

#import <Availability.h>
 ~~~~~~~^



❌  /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/stdbool.h:29:15: could not build module 'Darwin'

#include_next <stdbool.h>
 ~~~~~~~^



❌  /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/stdbool.h:29:15: could not build module 'Darwin'

#include_next <stdbool.h>
 ~~~~~~~~~~~~~^



❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGL.h:8:10: could not build module 'Foundation'

#include <Foundation/Foundation.h>
 ~~~~~~~~~~~~~^



❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDefines.h:8:9: could not build module 'Darwin'

#import <Availability.h>
 ~~~~~~~~^



❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h:12:10: could not build module 'Darwin'

#include <sys/cdefs.h>
 ~~~~~~~^



❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImageDefines.h:10:10: could not build module 'Darwin'

#include <TargetConditionals.h>
 ~~~~~~~~^



❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h:16:10: could not build module 'Darwin'

#include <TargetConditionals.h>
 ~~~~~~~~^



❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIOBase.h:11:10: could not build module 'CoreFoundation'

#include <CoreFoundation/CoreFoundation.h>
 ~~~~~~~~^



❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTDefines.h:12:10: could not build module 'Darwin'

#include <Availability.h>
 ~~~~~~~~^



❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDomain.h:8:9: could not build module 'Foundation'

#import <Foundation/Foundation.h>
 ~~~~~~~~^


β–Έ Compiling RNMixpanel.m

❌  /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ctype.h:39:15: cyclic dependency in module 'Darwin': Darwin -> std -> Darwin

#include_next <ctype.h>
 ~~~~~~~^



❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/usr/include/tgmath.h:31:10: could not build module 'std'

#include <complex.h>
              ^



❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:10: could not build module 'Darwin'

#include <sys/types.h>
 ~~~~~~~~^



❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/usr/include/dispatch/dispatch.h:25:10: could not build module 'Darwin'

#include <Availability.h>
 ~~~~~~~~^



❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/usr/include/os/object.h:25:10: could not build module 'Darwin'

#include <Availability.h>
 ~~~~~~~~^



❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:10: could not build module 'CoreFoundation'

#include <CoreFoundation/CoreFoundation.h>
 ~~~~~~~~^



❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/usr/include/objc/objc.h:31:10: could not build module 'Darwin'

#include <sys/types.h>      // for __DARWIN_NULL
 ~~~~~~~~^



❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h:27:10: could not build module 'Darwin'

#include <TargetConditionals.h>
 ~~~~~~~~^



❌  /Users/vagrant/Library/Developer/Xcode/DerivedData/potzak-aoephrxdrguqgvgimtqsseqqkchu/Build/Intermediates.noindex/ArchiveIntermediates/potzak/BuildProductsPath/Release-iphoneos/include/React/RCTBridgeModule.h:10:9: could not build module 'Foundation'

#import <Foundation/Foundation.h>
 ~~~~~~~~^



❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h:8:9: could not build module 'Darwin'

#import <Availability.h>
 ~~~~~~~^



❌  /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/stdbool.h:29:15: could not build module 'Darwin'

#include_next <stdbool.h>
 ~~~~~~~^



❌  /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/stdbool.h:29:15: could not build module 'Darwin'

#include_next <stdbool.h>
 ~~~~~~~~~~~~~^



❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGL.h:8:10: could not build module 'Foundation'

#include <Foundation/Foundation.h>
 ~~~~~~~~~~~~~^



❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDefines.h:8:9: could not build module 'Darwin'

#import <Availability.h>
 ~~~~~~~~^



❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h:12:10: could not build module 'Darwin'

#include <sys/cdefs.h>
 ~~~~~~~^



❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImageDefines.h:10:10: could not build module 'Darwin'

#include <TargetConditionals.h>
 ~~~~~~~~^



❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h:16:10: could not build module 'Darwin'

#include <TargetConditionals.h>
 ~~~~~~~~^



❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIOBase.h:11:10: could not build module 'CoreFoundation'

#include <CoreFoundation/CoreFoundation.h>
 ~~~~~~~~^



❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTDefines.h:12:10: could not build module 'Darwin'

#include <Availability.h>
 ~~~~~~~~^



❌  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDomain.h:8:9: could not build module 'Foundation'

#import <Foundation/Foundation.h>
 ~~~~~~~~^

Hi @nagyv! :slight_smile:

Can you please include the whole build log or an URL to the build?

I’ll close this here as this isn’t a Q&A topic, but feel free to fill out a report in the #issues:build-issues section where you’ll be prompted to provide the log / build URL, or contact us via email or the onsite chat and provide the log / build URL.

Happy Building! :slight_smile: