Skip to content

Branch.h - not found issue in ios build #662

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

Open
aishwarya1516 opened this issue Jul 28, 2020 · 3 comments
Open

Branch.h - not found issue in ios build #662

aishwarya1516 opened this issue Jul 28, 2020 · 3 comments

Comments

@aishwarya1516
Copy link

Hi there,
I am facing issue in building the ionic app with ios platform while adding the branch.io sdk as it results in branch.h not found error on xcode build.

The following is the details of the stack which I am using,
Ionic - v5.0.0
Angular - v10.0.1
ios - v5.1.1
xcode - v11.5
branch-cordova-sdk - v4.1.3

the following are the plugins used in the project
Screenshot 2020-07-28 at 12 06 55 PM
Error which comes on building in xcode
Screenshot 2020-07-28 at 12 00 03 PM

I have updated my cocopods version as well. I try downgrading the version of branch-cordova-sdk but facing issue in uploading to app store as it contains UIWebKitView.

Please let me know if any further details are needed and help us in fixing this issue.
Thanks.

@bobrosoft
Copy link

See #602 (comment)

@noahcooper
Copy link

This is a duplicate of #642 which is fixed but not released.

@dw-egl
Copy link

dw-egl commented Jan 27, 2025

For anyone who this might help.

For a while now I have been building for iOS Sim via Xcode and settings for all projects in my workspace in order to get iOS to build. I'm not 100% sure why but it seems to be an M1 Mac thing.

If I change the 'Excluded Architectures'->'Debug' and add an entry for 'arm64' setting it to apply to 'Any iOS Simulator SDK' then it gets around this problem.

I know just enough to be dangerous but not quite enough to say for sure why this works

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

4 participants