-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI iOS builds fail with BranchSDK.h:4:9: fatal error: 'Branch.h' file not found #633
Comments
Forked the repo and temporarily fixed it with switching back to
Don't forget to
|
@bobrosoft what versions of cordova-ios and CocoaPods are you using? The need to use ‘use_frameworks’ indicates one of those two is out of date. I’ve got CLI builds working with this version and IIRC @echo-branch indicated they were working for him too after updating. Saying that we’re working on backporting the relevant changes to the 3.x releases as well if you don’t want to use CocoaPods. |
@codinronan So, that means I just need to update |
@bobrosoft correct, that error is specifically fixed by using CocoaPods >= 1.8.4 - the reason is that it no longer locally resolves the file, it uses the path relative to the CDN download, which means that each CocoaPod doesn't need its own configuration path (which presented issues in the past). |
@codinronan good to know, thanks for explanation! Closing... |
branch-cordova-sdk: 4.1.3
cordova: 9.0.0 ([email protected])
node: v10.16.0
Xcode: 11.2.1
@ionic/angular: 4.6.2
@ionic-native: 5.9.0
Hi there.
All worked ok when we was on branch-cordova-sdk 3.2.0 version before, but recently we've got "[Action Required] Please confirm your Play Store Referrer configuration" email and I wanted to update to latest SDK to fix that. I found issue #602 and was able to solve it by removing DerivedData with
rm -rf ~/Library/Developer/Xcode/DerivedData
but it works ONLY when I build project manually through Xcode which is unacceptable way for us because we fully rely on automated CLI builds and now it fails. All stuff was freshly installed.CLI
cordova build ios
is failing now with next error:I'm wondering if that happens because you removed
use_frameworks
in latest versions? Why that was done?A bit more complete log below:
The text was updated successfully, but these errors were encountered: