React-native-branch-deep-linking-attribution: 'Branch/Branch.h' file not found

Created on 30 Jun 2016  ·  49Comments  ·  Source: BranchMetrics/react-native-branch-deep-linking-attribution

I've followed the installation instructions, but instead of using Pod in order to install the Branch SDK, I've manually imported Branch.framework into my project.

The Framework search paths correctly points to the parent folder of the Branch.framework file, yet I'm still getting a fatal error: 'Branch/Branch.h' file not found. It looks like the source file RNBranch.m under RNBranch.xcodeproj cannot access any header file from my frameworks.

Most helpful comment

the documentation is not helpful

All 49 comments

Hm, I will take a look later today. We made need to set more liberal header search paths.

you will need to add react-native-branch to your header search paths as described in step 3 of http://facebook.github.io/react-native/docs/linking-libraries-ios.html#manual-linking

The specific search path if using the latest 0.2.2 release is $(SRCROOT)/../node_modules/react-native-branch/ios

I added that step to the manual installation instructions as well in #19 . Thanks!

Hey, thanks for the quick reply!

I've tried installing this module again on a new branch and I'm still getting this error.

Frameworks and libraries:

image

My Framework Search Paths:
image

My Header Search Paths:
image

I finally managed to build the project by setting the Framework Search Paths of RNBranch.xcodeproj to $(SRCROOT)/../../../ios (recursive) as well as doing

 #import <Branch/Branch.h>
-#import "BranchLinkProperties.h"
-#import "BranchUniversalObject.h"
+#import <Branch/BranchLinkProperties.h>
+#import <BranchBranchUniversalObject.h>

in RNBranch.m.

I've put the Branch-iOS-SDK folder which contains Branch.framework into my ios/ folder instead of using Pod to install it. It would be nice if the lib supported installing the framework in other ways than by using Pod.

the documentation is not helpful

I solved this by removing use_frameworks! from my Podfile

I'm still seeing this issue, even with the $(SRCROOT)/../node_modules/react-native-branch/ios (recursive) in my project header search path.

While I appreciate @Morhaus' solution, this has to be configured every npm install to install react-native-branch. My hope is perhaps we could just include the Branch framework within the npm package and not have to have users do a separate pod install of branch?

I get this with 2.3.3 now

Still seeing this when installing and linking the branch sdk in a new react native project. Xcode app can't build and throws this error.

Still getting it in new projects

Getting this as well.

Also getting this.

Btw -- a fix (or something I didn't realize) is that the Branch SDK is not actually included if you use a non-cocoapods install. They should specify this in the docs, but head over here and download the framework. Add it to your project, and then you have to do something a little tricky...

Because this library is so heavily dependent on cocoapods, they left the header_search_paths as: $(SRCROOT)/../../../ios/Pods/Headers/Public

So.... what I did is made that directory, and added the headers in there... a bit hacky but it worked. Skype me if you have q's. I'll be on and off this week (@franzwarning)

Same here, I am trying to bump to RN 0.59+ with branch 3.0.0, but I have this error:

❌  node_modules/react-native-branch/ios/BranchLinkProperties+RNBranch.h:9:9: 'Branch/Branch.h' file not found

#import <Branch/Branch.h>

And if I open the file filesystem
image

Branch.h looks renamed by RNBranch.h

$ react-native info
info
  React Native Environment Info:
    System:
      OS: macOS 10.14.4
      CPU: (4) x64 Intel(R) Core(TM) i7-7660U CPU @ 2.50GHz
      Memory: 406.38 MB / 16.00 GB
      Shell: 5.3 - /bin/zsh
    Binaries:
      Node: 11.13.0 - /usr/local/bin/node
      Yarn: 1.15.2 - /usr/local/bin/yarn
      npm: 6.9.0 - node_modules/.bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.2, macOS 10.14, tvOS 12.2, watchOS 5.2
      Android SDK:
        API Levels: 19, 21, 22, 23, 26, 27, 28
        Build Tools: 23.0.1, 26.0.1, 27.0.3, 28.0.3
        System Images: android-28 | Google APIs Intel x86 Atom, android-28 | Google APIs Intel x86 Atom_64, android-28 | Google Play Intel x86 Atom, android-28 | Google Play Intel x86 Atom_64
    IDEs:
      Android Studio: 3.3 AI-182.5107.16.33.5199772
      Xcode: 10.2.1/10E1001 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.8.3 => 16.8.3
      react-native: 0.59.8 => 0.59.8

Thanks everyone for continuing to report this issue. We are actively looking into ways to improve dependency management and documentation for the Branch React Native SDK.

If there are any particular questions, concerns, or feedback please let me know!

I would suspect in most cases where this is reported (clearly in the last case from @flexbox) it is due to the fact that the Branch SDK is no longer included in the react-native-branch module. Starting with 3.0.0, you must use the React pod from node_modules. We have instructions here for converting your project if necessary: https://github.com/BranchMetrics/Segment-Branch-Android/blob/master/segment-branch-bundle/build.gradle#L32. Once you are using a Podfile, react-native link react-native-branch will add the react-native-branch pod to your Podfile. That will pull in the appropriate release of the Branch SDK from CocoaPods. I neglected to mention that in the 3.0.0 update instructions: https://github.com/BranchMetrics/react-native-branch-deep-linking#updating-from-an-earlier-version-or-starting-with-v300.

I would also urge anyone experiencing any problem to have a look at the working example apps, especially webview_example and webview_tutorial. The first is a simple content app that uses Branch for sharing and deep linking. The second begins with the same RN app without Branch and goes step-by-step through the process of adding Branch. It's likely these will help you see what the difference is in your app.

I've started working on a utility to do the conversion automatically. It works on a fresh project created with react-native init. https://github.com/jdee/react_native_util

This is very much work in progress. Please provide any feedback on that utility in that repo.

I don't use Pods so it would be very useful to have some documentation for setting up Branch manually. Otherwise we'll be forced to find another service.

hey @csalmi-branch - Per your feedback callout it may be worth looking at carthage as a package-management-friendly alternative to Pods for companies in the RN community that aren't leveraging Pods. You get package management and it's relatively non-invasive. Pods are nice if you're starting fresh or already have a Pod-enabled app.

If you'd like to see how some others have done it, I'd recommend checking out Urban Airship's RN SDK for push notifications (docs could be better but it works) and (perhaps as a more elaborate example) amazon's Amplify RN SDK:

https://github.com/urbanairship/react-native-module
https://aws-amplify.github.io/docs/ios/manualsetup

Try this with any app not using CocoaPods. It requires macOS, Xcode and the react-native-cli.

brew install jdee/tap/react_native_util
cd /path/to/app
rn react_pod

There should be no other manual step required.

See https://github.com/jdee/react_native_util for more info.

We can investigate Carthage. It was supported in 1.x. Basically this module needs to be able to control which version of the native Branch SDK it uses, and dependency management is the only reasonable solution. The important thing is that in order to support Carthage for installing the Branch SDK, we would have to also distribute the native components of react-native-branch via Carthage in a way that allowed them automatically to specify/pull in the native Branch SDK. I'm not sure if that's possible with Carthage, but I haven't used it in a while.

This is what podspecs do and how Gradle, NPM and most package-management systems work. When you add react-native-branch using a podspec it specifies which version of the Branch SDK it requires, and this is retrieved from CocoaPods automatically on pod install or pod update, to whatever version react-native-branch requires.

This was a product decision. It's something we may have to revisit. But it may be hard to support any solution that doesn't let react-native-branch automatically install a specific version of the Branch SDK.

Apologies for the delay. We can now offer support for installing the Branch SDK using Carthage. This requires react-native-branch 3.0.1, which looks for the framework under Carthage/Build/iOS.

Please see:

I've been working on this:

I'd like to be able to do this in the Cartfile, _instead_ of letting react-native link add RNBranch.xcodeproj to the Libraries group:

github "BranchMetrics/react-native-branch-deep-linking-attribution"
# PS: Please note the repo name change

And then by adding a carthage-files to this repo with a Cartfile that specifies the required version of the Branch framework, it will just happen:

[jdee@Jimmy-Dees-MacBookPro carthage-test]$ carthage update --verbose
*** Cloning react-native-branch-deep-linking-attribution
*** Cloning ios-branch-deep-linking-attribution
*** Checking out ios-branch-deep-linking-attribution at "0.27.0"
*** Checking out react-native-branch-deep-linking-attribution at "v3.0.2"
*** Downloading ios-branch-deep-linking-attribution.framework binary at "Release 0.27.0"
*** Building scheme "RNBranch" in RNBranch.xcodeproj

But currently my build is failing. Otherwise this is quite easy. I need to test and see if it's safe to do this before react-native link, to avoid having it add RNBranch.xcodeproj to Libraries. Then you never have to worry about specifying the Branch SDK version, and we just handle it all correctly. Whatever your preferred iOS toolchain, react-native link is pretty valuable on the Android side. But I think some people will run it and then just ditch the changes made to the iOS side.

All feedback on this idea is welcome.

I had to add two search paths:

  • $(SRCROOT)/../node_modules/react-native-branch/ios
  • $(SRCROOT)/../node_modules/react-native-branch/

@cdstamper You should never have to add a search path. That means something is wrong, and might require a fix. Where did you add them? How are you building? Are you building a static library or a framework?

@jdee FYI we just started running into this error. Our builds just started failing on AppCenter without ever updating the react native lib. Came back to this issue to try and track down what's going on.

@jdee added via yarn, podfile pulls from node modules (Note that I'm not on the latest version, as the accompanying Branch-SDK required a higher minimum deployment target (iOS) than we are willing to support.

package.json

 "react-native-branch": "2.3.3",

Podfile

  pod "react-native-branch", :path => "../node_modules/react-native-branch"
  pod "Branch-SDK", :path => "../node_modules/react-native-branch/ios"

RN 0.56

@jdee using the latest examples, can you confirm you are able to archive - not just build in xcode?

@dwilt I just now archived the iOS app successfully for webview_example, webview_example_carthage, webview_example_native_ios, testbed_simple and testbed_native_ios. These represent just about every way you can integrate this module with RN 0.59. I had to change the bundle ID and signing team for each one. All you have to do is run yarn in any of those example directories and then open the workspace (or project for webview_example_carthage) and try it yourself if you like.

What else has changed that might have broken your build?

@jdee This is odd for sure. We are using AppCenter and all of a sudden started getting this error during builds:

CompileC /Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/Objects-normal/arm64/AppDelegate.o airapp/AppDelegate.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/vsts/agent/2.150.3/work/1/s/ios
    export LANG=en_US.US-ASCII
    export PATH="/Applications/Xcode_10.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode_10.2.app/Contents/Developer/usr/bin:/Library/Frameworks/Mono.framework/Versions/4/bin:/Users/vsts/.nvm/versions/node/v8.16.0/bin:/usr/local/lib/ruby/gems/2.6.0/bin:/usr/local/opt/ruby/bin:/usr/local/opt/curl/bin:/usr/local/bin:/usr/local/sbin:/Users/vsts/bin:/Users/vsts/.yarn/bin:/usr/local/go/bin:/Users/vsts/Library/Android/sdk/tools:/Users/vsts/Library/Android/sdk/platform-tools:/Users/vsts/Library/Android/sdk/ndk-bundle:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/usr/bin:/bin:/usr/sbin:/sbin:/Users/vsts/.azcopy"
    /Applications/Xcode_10.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch arm64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -gmodules -fmodules-cache-path=/Users/vsts/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/vsts/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -Os -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Wno-objc-interface-ivars -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DCOCOAPODS=1 -DSD_WEBP=1 -DNS_BLOCK_ASSERTIONS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode_10.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -miphoneos-version-min=12.1 -g -fvisibility=hidden -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -fembed-bitcode -iquote /Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/airapp-generated-files.hmap -I/Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/airapp-own-target-headers.hmap -I/Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/airapp-all-target-headers.hmap -iquote /Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/airapp-project-headers.hmap -iquote/Users/vsts/agent/2.150.3/work/1/s/ios/libwebp/src -I/Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/BuildProductsPath/Release-iphoneos/include -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/BVLinearGradient -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/Branch -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/BugsnagReactNative -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/DoubleConversion -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/FLAnimatedImage -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/Mixpanel -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/RCTSystemSetting -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/RNDeviceInfo -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/RNGestureHandler -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/RNSVG -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/React -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/ReactNativePermissions -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/SDWebImage -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/glog -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/libwebp -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/react_native_branch -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/react_native_fast_image -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/react_native_haptic_feedback -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/react_native_mixpanel -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/react_native_netinfo -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/react_native_orientation -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/react_native_splash_screen -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/react_native_video -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/rn_fetch_blob -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/yoga -I../node_modules/amazon-cognito-identity-js/ios -I../node_modules/amazon-cognito-identity-js/ios/JKBigInteger -I../node_modules/amazon-cognito-identity-js/ios/JKBigInteger/LibTomMath -I/Users/vsts/agent/2.150.3/work/1/s/ios/../node_modules/appcenter/ios/AppCenterReactNative -I/Users/vsts/agent/2.150.3/work/1/s/ios/../node_modules/appcenter-analytics/ios/AppCenterReactNativeAnalytics -I/Users/vsts/agent/2.150.3/work/1/s/ios/../node_modules/appcenter-crashes/ios/AppCenterReactNativeCrashes -I/Users/vsts/agent/2.150.3/work/1/s/ios/../node_modules/react-native-restart/ios/RCTRestart -I/Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/DerivedSources-normal/arm64 -I/Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/DerivedSources/arm64 -I/Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/DerivedSources -F/Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/BuildProductsPath/Release-iphoneos -F/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/AppCenter/AppCenter-SDK-Apple/iOS -F/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/AppCenterReactNativeShared/AppCenterReactNativeShared -MMD -MT dependencies -MF /Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/Objects-normal/arm64/AppDelegate.d --serialize-diagnostics /Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/Objects-normal/arm64/AppDelegate.dia -c /Users/vsts/agent/2.150.3/work/1/s/ios/airapp/AppDelegate.m -o /Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/Objects-normal/arm64/AppDelegate.o
/Users/vsts/agent/2.150.3/work/1/s/ios/airapp/AppDelegate.m:12:9: fatal error: 'react-native-branch/RNBranch.h' file not found
#import <react-native-branch/RNBranch.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

CompileC /Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/Objects-normal/arm64/RNTimerBridge.o AirBridge/RNTimerBridge.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/vsts/agent/2.150.3/work/1/s/ios
    export LANG=en_US.US-ASCII
    export PATH="/Applications/Xcode_10.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode_10.2.app/Contents/Developer/usr/bin:/Library/Frameworks/Mono.framework/Versions/4/bin:/Users/vsts/.nvm/versions/node/v8.16.0/bin:/usr/local/lib/ruby/gems/2.6.0/bin:/usr/local/opt/ruby/bin:/usr/local/opt/curl/bin:/usr/local/bin:/usr/local/sbin:/Users/vsts/bin:/Users/vsts/.yarn/bin:/usr/local/go/bin:/Users/vsts/Library/Android/sdk/tools:/Users/vsts/Library/Android/sdk/platform-tools:/Users/vsts/Library/Android/sdk/ndk-bundle:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/usr/bin:/bin:/usr/sbin:/sbin:/Users/vsts/.azcopy"
    /Applications/Xcode_10.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch arm64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -gmodules -fmodules-cache-path=/Users/vsts/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/vsts/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -Os -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Wno-objc-interface-ivars -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DCOCOAPODS=1 -DSD_WEBP=1 -DNS_BLOCK_ASSERTIONS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode_10.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -miphoneos-version-min=12.1 -g -fvisibility=hidden -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -fembed-bitcode -iquote /Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/airapp-generated-files.hmap -I/Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/airapp-own-target-headers.hmap -I/Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/airapp-all-target-headers.hmap -iquote /Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/airapp-project-headers.hmap -iquote/Users/vsts/agent/2.150.3/work/1/s/ios/libwebp/src -I/Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/BuildProductsPath/Release-iphoneos/include -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/BVLinearGradient -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/Branch -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/BugsnagReactNative -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/DoubleConversion -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/FLAnimatedImage -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/Mixpanel -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/RCTSystemSetting -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/RNDeviceInfo -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/RNGestureHandler -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/RNSVG -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/React -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/ReactNativePermissions -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/SDWebImage -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/glog -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/libwebp -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/react_native_branch -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/react_native_fast_image -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/react_native_haptic_feedback -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/react_native_mixpanel -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/react_native_netinfo -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/react_native_orientation -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/react_native_splash_screen -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/react_native_video -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/rn_fetch_blob -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/yoga -I../node_modules/amazon-cognito-identity-js/ios -I../node_modules/amazon-cognito-identity-js/ios/JKBigInteger -I../node_modules/amazon-cognito-identity-js/ios/JKBigInteger/LibTomMath -I/Users/vsts/agent/2.150.3/work/1/s/ios/../node_modules/appcenter/ios/AppCenterReactNative -I/Users/vsts/agent/2.150.3/work/1/s/ios/../node_modules/appcenter-analytics/ios/AppCenterReactNativeAnalytics -I/Users/vsts/agent/2.150.3/work/1/s/ios/../node_modules/appcenter-crashes/ios/AppCenterReactNativeCrashes -I/Users/vsts/agent/2.150.3/work/1/s/ios/../node_modules/react-native-restart/ios/RCTRestart -I/Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/DerivedSources-normal/arm64 -I/Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/DerivedSources/arm64 -I/Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/DerivedSources -F/Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/BuildProductsPath/Release-iphoneos -F/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/AppCenter/AppCenter-SDK-Apple/iOS -F/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/AppCenterReactNativeShared/AppCenterReactNativeShared -MMD -MT dependencies -MF /Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/Objects-normal/arm64/RNTimerBridge.d --serialize-diagnostics /Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/Objects-normal/arm64/RNTimerBridge.dia -c /Users/vsts/agent/2.150.3/work/1/s/ios/AirBridge/RNTimerBridge.m -o /Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/Objects-normal/arm64/RNTimerBridge.o

CompileC /Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/Objects-normal/arm64/RNAirImageBridge.o AirBridge/RNAirImageBridge.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/vsts/agent/2.150.3/work/1/s/ios
    export LANG=en_US.US-ASCII
    export PATH="/Applications/Xcode_10.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode_10.2.app/Contents/Developer/usr/bin:/Library/Frameworks/Mono.framework/Versions/4/bin:/Users/vsts/.nvm/versions/node/v8.16.0/bin:/usr/local/lib/ruby/gems/2.6.0/bin:/usr/local/opt/ruby/bin:/usr/local/opt/curl/bin:/usr/local/bin:/usr/local/sbin:/Users/vsts/bin:/Users/vsts/.yarn/bin:/usr/local/go/bin:/Users/vsts/Library/Android/sdk/tools:/Users/vsts/Library/Android/sdk/platform-tools:/Users/vsts/Library/Android/sdk/ndk-bundle:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/usr/bin:/bin:/usr/sbin:/sbin:/Users/vsts/.azcopy"
    /Applications/Xcode_10.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch arm64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -gmodules -fmodules-cache-path=/Users/vsts/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/vsts/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -Os -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Wno-objc-interface-ivars -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DCOCOAPODS=1 -DSD_WEBP=1 -DNS_BLOCK_ASSERTIONS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode_10.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -miphoneos-version-min=12.1 -g -fvisibility=hidden -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -fembed-bitcode -iquote /Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/airapp-generated-files.hmap -I/Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/airapp-own-target-headers.hmap -I/Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/airapp-all-target-headers.hmap -iquote /Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/airapp-project-headers.hmap -iquote/Users/vsts/agent/2.150.3/work/1/s/ios/libwebp/src -I/Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/BuildProductsPath/Release-iphoneos/include -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/BVLinearGradient -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/Branch -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/BugsnagReactNative -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/DoubleConversion -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/FLAnimatedImage -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/Mixpanel -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/RCTSystemSetting -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/RNDeviceInfo -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/RNGestureHandler -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/RNSVG -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/React -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/ReactNativePermissions -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/SDWebImage -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/glog -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/libwebp -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/react_native_branch -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/react_native_fast_image -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/react_native_haptic_feedback -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/react_native_mixpanel -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/react_native_netinfo -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/react_native_orientation -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/react_native_splash_screen -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/react_native_video -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/rn_fetch_blob -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/yoga -I../node_modules/amazon-cognito-identity-js/ios -I../node_modules/amazon-cognito-identity-js/ios/JKBigInteger -I../node_modules/amazon-cognito-identity-js/ios/JKBigInteger/LibTomMath -I/Users/vsts/agent/2.150.3/work/1/s/ios/../node_modules/appcenter/ios/AppCenterReactNative -I/Users/vsts/agent/2.150.3/work/1/s/ios/../node_modules/appcenter-analytics/ios/AppCenterReactNativeAnalytics -I/Users/vsts/agent/2.150.3/work/1/s/ios/../node_modules/appcenter-crashes/ios/AppCenterReactNativeCrashes -I/Users/vsts/agent/2.150.3/work/1/s/ios/../node_modules/react-native-restart/ios/RCTRestart -I/Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/DerivedSources-normal/arm64 -I/Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/DerivedSources/arm64 -I/Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/DerivedSources -F/Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/BuildProductsPath/Release-iphoneos -F/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/AppCenter/AppCenter-SDK-Apple/iOS -F/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/AppCenterReactNativeShared/AppCenterReactNativeShared -MMD -MT dependencies -MF /Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/Objects-normal/arm64/RNAirImageBridge.d --serialize-diagnostics /Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/Objects-normal/arm64/RNAirImageBridge.dia -c /Users/vsts/agent/2.150.3/work/1/s/ios/AirBridge/RNAirImageBridge.m -o /Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/Objects-normal/arm64/RNAirImageBridge.o

CompileC /Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/Objects-normal/arm64/RNAirUtilsBridge.o AirBridge/RNAirUtilsBridge.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/vsts/agent/2.150.3/work/1/s/ios
    export LANG=en_US.US-ASCII
    export PATH="/Applications/Xcode_10.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode_10.2.app/Contents/Developer/usr/bin:/Library/Frameworks/Mono.framework/Versions/4/bin:/Users/vsts/.nvm/versions/node/v8.16.0/bin:/usr/local/lib/ruby/gems/2.6.0/bin:/usr/local/opt/ruby/bin:/usr/local/opt/curl/bin:/usr/local/bin:/usr/local/sbin:/Users/vsts/bin:/Users/vsts/.yarn/bin:/usr/local/go/bin:/Users/vsts/Library/Android/sdk/tools:/Users/vsts/Library/Android/sdk/platform-tools:/Users/vsts/Library/Android/sdk/ndk-bundle:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/usr/bin:/bin:/usr/sbin:/sbin:/Users/vsts/.azcopy"
    /Applications/Xcode_10.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch arm64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -gmodules -fmodules-cache-path=/Users/vsts/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/vsts/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -Os -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Wno-objc-interface-ivars -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DCOCOAPODS=1 -DSD_WEBP=1 -DNS_BLOCK_ASSERTIONS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode_10.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -miphoneos-version-min=12.1 -g -fvisibility=hidden -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -fembed-bitcode -iquote /Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/airapp-generated-files.hmap -I/Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/airapp-own-target-headers.hmap -I/Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/airapp-all-target-headers.hmap -iquote /Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/airapp-project-headers.hmap -iquote/Users/vsts/agent/2.150.3/work/1/s/ios/libwebp/src -I/Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/BuildProductsPath/Release-iphoneos/include -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/BVLinearGradient -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/Branch -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/BugsnagReactNative -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/DoubleConversion -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/FLAnimatedImage -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/Mixpanel -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/RCTSystemSetting -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/RNDeviceInfo -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/RNGestureHandler -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/RNSVG -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/React -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/ReactNativePermissions -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/SDWebImage -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/glog -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/libwebp -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/react_native_branch -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/react_native_fast_image -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/react_native_haptic_feedback -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/react_native_mixpanel -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/react_native_netinfo -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/react_native_orientation -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/react_native_splash_screen -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/react_native_video -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/rn_fetch_blob -I/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/Headers/Public/yoga -I../node_modules/amazon-cognito-identity-js/ios -I../node_modules/amazon-cognito-identity-js/ios/JKBigInteger -I../node_modules/amazon-cognito-identity-js/ios/JKBigInteger/LibTomMath -I/Users/vsts/agent/2.150.3/work/1/s/ios/../node_modules/appcenter/ios/AppCenterReactNative -I/Users/vsts/agent/2.150.3/work/1/s/ios/../node_modules/appcenter-analytics/ios/AppCenterReactNativeAnalytics -I/Users/vsts/agent/2.150.3/work/1/s/ios/../node_modules/appcenter-crashes/ios/AppCenterReactNativeCrashes -I/Users/vsts/agent/2.150.3/work/1/s/ios/../node_modules/react-native-restart/ios/RCTRestart -I/Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/DerivedSources-normal/arm64 -I/Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/DerivedSources/arm64 -I/Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/DerivedSources -F/Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/BuildProductsPath/Release-iphoneos -F/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/AppCenter/AppCenter-SDK-Apple/iOS -F/Users/vsts/agent/2.150.3/work/1/s/ios/Pods/AppCenterReactNativeShared/AppCenterReactNativeShared -MMD -MT dependencies -MF /Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/Objects-normal/arm64/RNAirUtilsBridge.d --serialize-diagnostics /Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/Objects-normal/arm64/RNAirUtilsBridge.dia -c /Users/vsts/agent/2.150.3/work/1/s/ios/AirBridge/RNAirUtilsBridge.m -o /Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/Objects-normal/arm64/RNAirUtilsBridge.o

** ARCHIVE FAILED **


The following build commands failed:
    CompileC /Users/vsts/Library/Developer/Xcode/DerivedData/airapp-dutavwpueasqvcacslursiowgqwb/Build/Intermediates.noindex/ArchiveIntermediates/airapp/IntermediateBuildFilesPath/airapp.build/Release-iphoneos/airapp.build/Objects-normal/arm64/AppDelegate.o airapp/AppDelegate.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
##[error]Error: /usr/bin/xcodebuild failed with return code: 65
##[section]Finishing: Xcode build (signed)
##[section]Starting: Post Build Script

Here's our package.json

{
    "react": "16.8.3",
    "react-native": "0.59.3",
    "react-native-branch": "3.0.0-beta.3",
},

I remembered that I changed our Podfile from:

  pod 'react-native-branch-segment', :path => '../node_modules/react-native-branch'

to:

  pod 'react-native-branch', :path => '../node_modules/react-native-branch'

last week because we were upgrading packages and I saw that in the example you were using pod 'react-native-branch instead. The build was working like this all week.

Then, all of a sudden we started hitting these errors and I wasn't able to get a successful build. I just reverted the Podfile _back_ to using pod 'react-native-branch-segment', and now the builds are succeeding again.

Xcode: 10.2.1 (both locally and on AppCenter)

@cdstamper I'm not sure how 2.x and 3.x differ in terms of deploy target. The native Branch SDK will require iOS 8 in either case. The react-native-branch.podspec requires iOS 7. I don't think RN has supported before iOS 8 in a long time. At any rate, if you are building with 2.3.x, the deploy target should be no different with 3.x. Update instructions. For iOS, all you really do is remove pod 'Branch-SDK' from your Podfile, run pod install and possibly change your import. See https://github.com/BranchMetrics/react-native-branch-deep-linking-attribution#ios-setup.

The search paths you've added will only work if you use #import <RNBranch.h> or #import "RNBranch.h", which are basically wrong. Ordinarily Xcode builds all libraries and installs them in a standard location under DerivedData. This makes imports work without any special setup. If I had to guess, I'd say either you updated to CocoaPods 1.7 (see https://github.com/BranchMetrics/react-native-branch-deep-linking-attribution/issues/450#issuecomment-495014208 & #461), you have use_frameworks! in your Podfile and need to use @import react_native_branch; instead of a #import, or that something is broken with regard to build order.

@dwilt 3.x has been released to prod. Can you try updating to 3.0.1 and double-checking your import against https://github.com/BranchMetrics/react-native-branch-deep-linking-attribution#ios-setup? There is no more react-native-branch-segment.podspec.

I've elevated the CP 1.7 problem to its own issue: #461. This needs to be more conspicuous, since it's likely to hit lots of apps.

All feedback is welcome of #459 as well. Honestly, this is what I should have done in 3.x, but it's a breaking change now and semantic versioning would require it to be 4.0.

@jdee I'm not sure what version of Cocoapods AppCenter is running by default. I see you linked in that issue that I could fix the version inside of the Gemfile but instead of heading down that path, I'm just going to stick with the using pod 'react-native-branch-segment', and reverting to what we had before since the builds work and the app runs fine.

For the record, I did try and update. I was missing the changes that needed to be added to the AppDelegate because of the CP1.7 issue - I had no idea about that. I'm just going to stick with what we have for now since it's working and we're trying to get a release out.

FWIW, I confirmed in the output of AppCenter that they are indeed using CP1.7:

==============================================================================
Task         : CocoaPods
Description  : CocoaPods is a dependency manager for Swift and Objective-C Cocoa projects. This task runs 'pod install'.
Version      : 0.151.0
Author       : Microsoft Corporation
Help         : [More Information](https://go.microsoft.com/fwlink/?LinkID=613745)
==============================================================================
[command]/usr/local/lib/ruby/gems/2.6.0/bin/pod --version
1.7.0 <--------- HERE
[command]/usr/local/lib/ruby/gems/2.6.0/bin/pod install --repo-update
Updating local specs repositories
  $ /usr/local/bin/git -C /Users/vsts/.cocoapods/repos/master fetch origin --progress
  $ /usr/local/bin/git -C /Users/vsts/.cocoapods/repos/master rev-parse --abbrev-ref HEAD
  master
  $ /usr/local/bin/git -C /Users/vsts/.cocoapods/repos/master reset --hard origin/master
  HEAD is now at ad690fe81dc [Add] Skafos 4.0.2
Analyzing dependencies

@dwilt Please also see this note: https://github.com/BranchMetrics/react-native-branch-deep-linking-attribution/issues/461#issuecomment-496681683

This should help you going forward.

@dwilt One more Ruby option for you:

pod _1.6.1_ --version
pod _1.6.1_ install --repo-update

You can usually specify which version to run if multiple versions are installed.

@dwilt This is expected to be fixed in CocoaPods 1.7.1. Please see https://github.com/BranchMetrics/react-native-branch-deep-linking-attribution/issues/461#issuecomment-496703048.

CocoaPods 1.7.1 is out. #461 has been closed. Docs, tests and examples have been updated in #462 (merged).

Hi, is there any way to install and use branch.io without using CocoaPods? We made it work only with CocoaPods but that is not accepted on the project we are working on.

@mzabala the newer versions of React Native have CocoaPods by default now so you might want to look at trying to make it possible?

Thanks @dwilt maybe with this argument it will be acceptable to use branch with Cocoapods.

I am having same problem with cordova build
/Plugins/branch-cordova-sdk/AppDelegate+BranchSdk.m:6:9: fatal error: 'Branch.h'
file not found

import "Branch.h"

ever solved?

Nop never. I am doing the build on xcode.

Thanks,

Ahmad

From: Juan Fernandez Sosa notifications@github.com
Reply-To: BranchMetrics/react-native-branch-deep-linking-attribution reply@reply.github.com
Date: Tuesday, January 21, 2020 at 14:50
To: BranchMetrics/react-native-branch-deep-linking-attribution react-native-branch-deep-linking-attribution@noreply.github.com
Cc: akhudairyOP ahmad.khudairy@optimumpartners.co, Comment comment@noreply.github.com
Subject: Re: [BranchMetrics/react-native-branch-deep-linking-attribution] 'Branch/Branch.h' file not found (#18)

ever solved?


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

I used Carthage

Yo! any updates guys on that? having the same issue
'Branch/Branch.h' file not found

react native version: 0.59.9
branch version: 3.0.0

shouldn't be here any Branch folder?
Screen Shot 2020-06-13 at 3 59 05 PM

Yo! any updates guys on that? having the same issue
'Branch/Branch.h' file not found

react native version: 0.59.9
branch version: 3.0.0

shouldn't be here any Branch folder?
Screen Shot 2020-06-13 at 3 59 05 PM

I tried different ways and nothing worked. I ended up always doing the build using XCode, which is not bad by the way.

Was this page helpful?
0 / 5 - 0 ratings