BranchMetrics / cordova-ionic-phonegap-branch-deep-linking-attribution

The Branch Cordova Ionic Phonegap SDK for deep linking and attribution. Branch helps mobile apps grow with deep links / deeplinks that power paid acquisition and re-engagement campaigns, referral programs, content sharing, deep linked emails, smart banners, custom user onboarding, and more.
https://docs.branch.io/apps/cordova-phonegap-ionic/
MIT License
234 stars 144 forks source link

iOS build doesn't work #637

Closed TianleZhang closed 4 years ago

TianleZhang commented 4 years ago

After we upgrade the plugin to 4.1.*, the iOS build no more working for us anymore. everything is already with latest version.

And everything is with latest version already.

below here is the error we got:

CompileC /Users/tianle.zhang/Library/Developer/Xcode/DerivedData/Veilingen-ecmvmirymdtzdadwrhqfkyfnvjzn/Build/Intermediates.noindex/Veilingen.build/Debug-iphonesimulator/Veilingen.build/Objects-normal/x86_64/BranchSDK.o /Users/tianle.zhang/Documents/git/vv-cordova-app/build/vakantieveilingenNL/production/platforms/ios/Veilingen/Plugins/branch-cordova-sdk/BranchSDK.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Veilingen' from project 'Veilingen')
    cd /Users/tianle.zhang/Documents/git/vv-cordova-app/build/vakantieveilingenNL/production/platforms/ios
    export LANG=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target x86_64-apple-ios11.0-simulator -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c99 -fobjc-arc -fmodules -gmodules -fmodules-cache-path=/Users/tianle.zhang/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/tianle.zhang/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Wunreachable-code -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -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 -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 -DWK_WEB_VIEW_ONLY=0 -DWK_WEB_VIEW_ONLY=0 -DDEBUG=1 -DCOCOAPODS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -fobjc-abi-version=2 -fobjc-legacy-dispatch -index-store-path /Users/tianle.zhang/Library/Developer/Xcode/DerivedData/Veilingen-ecmvmirymdtzdadwrhqfkyfnvjzn/Index/DataStore -iquote /Users/tianle.zhang/Library/Developer/Xcode/DerivedData/Veilingen-ecmvmirymdtzdadwrhqfkyfnvjzn/Build/Intermediates.noindex/Veilingen.build/Debug-iphonesimulator/Veilingen.build/Veilingen-generated-files.hmap -I/Users/tianle.zhang/Library/Developer/Xcode/DerivedData/Veilingen-ecmvmirymdtzdadwrhqfkyfnvjzn/Build/Intermediates.noindex/Veilingen.build/Debug-iphonesimulator/Veilingen.build/Veilingen-own-target-headers.hmap -I/Users/tianle.zhang/Library/Developer/Xcode/DerivedData/Veilingen-ecmvmirymdtzdadwrhqfkyfnvjzn/Build/Intermediates.noindex/Veilingen.build/Debug-iphonesimulator/Veilingen.build/Veilingen-all-non-framework-target-headers.hmap -ivfsoverlay /Users/tianle.zhang/Library/Developer/Xcode/DerivedData/Veilingen-ecmvmirymdtzdadwrhqfkyfnvjzn/Build/Intermediates.noindex/Veilingen.build/Debug-iphonesimulator/Veilingen.build/all-product-headers.yaml -iquote /Users/tianle.zhang/Library/Developer/Xcode/DerivedData/Veilingen-ecmvmirymdtzdadwrhqfkyfnvjzn/Build/Intermediates.noindex/Veilingen.build/Debug-iphonesimulator/Veilingen.build/Veilingen-project-headers.hmap -I/Users/tianle.zhang/Documents/git/vv-cordova-app/build/vakantieveilingenNL/production/platforms/ios/build/emulator/include -I/Users/tianle.zhang/Documents/git/vv-cordova-app/build/vakantieveilingenNL/production/platforms/ios/build/emulator/usr/local/lib/include -I/Users/tianle.zhang/Library/Developer/Xcode/DerivedData/Veilingen-ecmvmirymdtzdadwrhqfkyfnvjzn/Build/Intermediates.noindex/UninstalledProducts/include -I/Users/tianle.zhang/Library/Developer/Xcode/DerivedData/Veilingen-ecmvmirymdtzdadwrhqfkyfnvjzn/Build/Intermediates.noindex/UninstalledProducts/iphonesimulator/include -I/Users/tianle.zhang/Documents/git/vv-cordova-app/build/vakantieveilingenNL/production/platforms/ios/build/emulator -I/Users/tianle.zhang/Library/Developer/Xcode/DerivedData/Veilingen-ecmvmirymdtzdadwrhqfkyfnvjzn/Build/Products/Debug-iphonesimulator/Branch/Branch.framework/Headers -I/Users/tianle.zhang/Library/Developer/Xcode/DerivedData/Veilingen-ecmvmirymdtzdadwrhqfkyfnvjzn/Build/Products/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers -I/Users/tianle.zhang/Library/Developer/Xcode/DerivedData/Veilingen-ecmvmirymdtzdadwrhqfkyfnvjzn/Build/Products/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers -I/Users/tianle.zhang/Library/Developer/Xcode/DerivedData/Veilingen-ecmvmirymdtzdadwrhqfkyfnvjzn/Build/Products/Debug-iphonesimulator/FBSDKShareKit/FBSDKShareKit.framework/Headers -I/Users/tianle.zhang/Library/Developer/Xcode/DerivedData/Veilingen-ecmvmirymdtzdadwrhqfkyfnvjzn/Build/Products/Debug-iphonesimulator/UrbanAirship-iOS-SDK/AirshipKit.framework/Headers -I/Users/tianle.zhang/Documents/git/vv-cordova-app/build/vakantieveilingenNL/production/platforms/ios/Pods/Headers/Public/TealiumIOS/TealiumIOS -I/Users/tianle.zhang/Documents/git/vv-cordova-app/build/vakantieveilingenNL/production/platforms/ios/Pods/Headers/Public/TealiumIOS_Lifecycle -I/Users/tianle.zhang/Library/Developer/Xcode/DerivedData/Veilingen-ecmvmirymdtzdadwrhqfkyfnvjzn/Build/Intermediates.noindex/Veilingen.build/Debug-iphonesimulator/Veilingen.build/DerivedSources-normal/x86_64 -I/Users/tianle.zhang/Library/Developer/Xcode/DerivedData/Veilingen-ecmvmirymdtzdadwrhqfkyfnvjzn/Build/Intermediates.noindex/Veilingen.build/Debug-iphonesimulator/Veilingen.build/DerivedSources/x86_64 -I/Users/tianle.zhang/Library/Developer/Xcode/DerivedData/Veilingen-ecmvmirymdtzdadwrhqfkyfnvjzn/Build/Intermediates.noindex/Veilingen.build/Debug-iphonesimulator/Veilingen.build/DerivedSources -F/Users/tianle.zhang/Documents/git/vv-cordova-app/build/vakantieveilingenNL/production/platforms/ios/build/emulator -F/Users/tianle.zhang/Library/Developer/Xcode/DerivedData/Veilingen-ecmvmirymdtzdadwrhqfkyfnvjzn/Build/Products/Debug-iphonesimulator/Branch -F/Users/tianle.zhang/Library/Developer/Xcode/DerivedData/Veilingen-ecmvmirymdtzdadwrhqfkyfnvjzn/Build/Products/Debug-iphonesimulator/FBSDKCoreKit -F/Users/tianle.zhang/Library/Developer/Xcode/DerivedData/Veilingen-ecmvmirymdtzdadwrhqfkyfnvjzn/Build/Products/Debug-iphonesimulator/FBSDKLoginKit -F/Users/tianle.zhang/Library/Developer/Xcode/DerivedData/Veilingen-ecmvmirymdtzdadwrhqfkyfnvjzn/Build/Products/Debug-iphonesimulator/FBSDKShareKit -F/Users/tianle.zhang/Library/Developer/Xcode/DerivedData/Veilingen-ecmvmirymdtzdadwrhqfkyfnvjzn/Build/Products/Debug-iphonesimulator/UrbanAirship-iOS-SDK -F/Users/tianle.zhang/Documents/git/vv-cordova-app/build/vakantieveilingenNL/production/platforms/ios/Pods/TealiumIOS -F/Users/tianle.zhang/Documents/git/vv-cordova-app/build/vakantieveilingenNL/production/platforms/ios/Pods/TealiumIOSLifecycle -FVeilingen/Plugins/sentry-cordova -include /Users/tianle.zhang/Documents/git/vv-cordova-app/build/vakantieveilingenNL/production/platforms/ios/build/sharedpch/SharedPrecompiledHeaders/16370357902392934723/Veilingen-Prefix.pch -MMD -MT dependencies -MF /Users/tianle.zhang/Library/Developer/Xcode/DerivedData/Veilingen-ecmvmirymdtzdadwrhqfkyfnvjzn/Build/Intermediates.noindex/Veilingen.build/Debug-iphonesimulator/Veilingen.build/Objects-normal/x86_64/BranchSDK.d --serialize-diagnostics /Users/tianle.zhang/Library/Developer/Xcode/DerivedData/Veilingen-ecmvmirymdtzdadwrhqfkyfnvjzn/Build/Intermediates.noindex/Veilingen.build/Debug-iphonesimulator/Veilingen.build/Objects-normal/x86_64/BranchSDK.dia -c /Users/tianle.zhang/Documents/git/vv-cordova-app/build/vakantieveilingenNL/production/platforms/ios/Veilingen/Plugins/branch-cordova-sdk/BranchSDK.m -o /Users/tianle.zhang/Library/Developer/Xcode/DerivedData/Veilingen-ecmvmirymdtzdadwrhqfkyfnvjzn/Build/Intermediates.noindex/Veilingen.build/Debug-iphonesimulator/Veilingen.build/Objects-normal/x86_64/BranchSDK.o
In file included from /Users/tianle.zhang/Documents/git/vv-cordova-app/build/vakantieveilingenNL/production/platforms/ios/Veilingen/Plugins/branch-cordova-sdk/BranchSDK.m:1:
/Users/tianle.zhang/Documents/git/vv-cordova-app/build/vakantieveilingenNL/production/platforms/ios/Veilingen/Plugins/branch-cordova-sdk/BranchSDK.h:4:9: fatal error: 'Branch.h' file not found
#import "Branch.h"
        ^~~~~~~~~~
1 error generated.
adrianyg7 commented 4 years ago

@TianleZhang could you please provide a bit more information about your installed software? Cocoapods, cordova-ios, node, npm, Branch version you're upgrading from.

derrick-branch commented 4 years ago

@TianleZhang let us know if you are still able to reproduce. If you are, please provide @adrianyg7 with the info he's requested, and hopefully you two can go from there.

Closing for now.