react-native-branch-deep-linking-attribution
react-native-branch-deep-linking-attribution copied to clipboard
'Branch/Branch.h' file not found
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.
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:
My Framework Search Paths:
My Header Search Paths:
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
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:
- https://github.com/BranchMetrics/react-native-branch-deep-linking-attribution/blob/master/docs/carthage.md
- https://github.com/BranchMetrics/react-native-branch-deep-linking-attribution/tree/master/examples/webview_example_carthage
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)