Skip to content
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

4.0.0 build fails on ios #601

Closed
deliverymanager opened this issue Oct 16, 2019 · 9 comments
Closed

4.0.0 build fails on ios #601

deliverymanager opened this issue Oct 16, 2019 · 9 comments

Comments

@deliverymanager
Copy link

Did you test on ios@5.0.1?
The build fails.

The following build commands failed:
	CompileC /Users/adomvris/Library/Developer/Xcode/DerivedData/axnikanela-aecsgtpgwdmanqhalsfovkloyltn/Build/Intermediates.noindex/axnikanela.build/Release-iphonesimulator/axnikanela.build/Objects-normal/x86_64/BranchSDK.o /Users/adomvris/projects/buildmobileorderonmac/mobileorder2/axnikanela/mobileorder2/platforms/ios/axnikanela/Plugins/branch-cordova-sdk/BranchSDK.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
xcodebuild: Command failed with exit code 65
@keapick
Copy link

keapick commented Oct 17, 2019

It's in the release notes. Known issue with cordova and cocoapods. Workaround is to build from xcode.

https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking-attribution/releases/tag/v4.0.0

@Juanperezc
Copy link

Same issue

@echo-branch
Copy link
Contributor

echo-branch commented Oct 17, 2019

Workaround is to build from Xcode.

Also to set expectations. This is a cordova bug, and we will not be investing time to workaround this issue anytime soon. It would require significant work on the native iOS SDK to fix.

@Mapiac
Copy link

Mapiac commented Jan 15, 2020

@echo-branch can you tell us more about what you know and maybe someone can take it on?

@echo-branch
Copy link
Contributor

echo-branch commented Jan 15, 2020

@Mapiac
Of course, the root problem is Cordova does not work with an XCode build option. The fix for this is for the Branch iOS SDK to be rearranged, but this has implications in other areas which will take some time to resolve.

A possible workaround is to modify your Cordova iOS to respect this option. One user reports this worked for them. apache/cordova-ios#659

Also we finally have new maintainers for Cordova, so we should have an update soonish.

@Mapiac
Copy link

Mapiac commented Jan 26, 2020

Thank you @echo-branch Btw is there a place the new maintainers are introduced? Or a blog post I missed?

@echo-branch
Copy link
Contributor

This should be resolved in the latest release.

@AleCat83
Copy link

This is still happening to me in version 4.2.1. I m able to go around this building with Xcode but this force me to remove the plugin when testing with ionic live reload,

@tamsel12
Copy link

Yes, The Build is failed if i have updated the 4.2.1 version. So i am building with only xcode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants