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

Build error in Example #1331

Closed
ffittschen opened this issue Jun 15, 2022 · 3 comments
Closed

Build error in Example #1331

ffittschen opened this issue Jun 15, 2022 · 3 comments

Comments

@ffittschen
Copy link
Contributor

Hi there, I'd like to run your Example app, but unfortunately there is a build error (see attached screenshot).

/Users/user/Code/backpack-ios/Example/Backpack/Backpack Native-Bridging-Header.h:23:9: error: 'BPKThemeContainerController.h' file not found
#import "BPKThemeContainerController.h"
^
1 error generated.
:0: error: failed to emit precompiled header '/Users/user/Library/Developer/Xcode/DerivedData/Backpack-bhocfupkndphmcamwrekbprejfnl/Build/Intermediates.noindex/PrecompiledHeaders/Backpack Native-Bridging-Header-swift_2S3Q792V1CMPG-clang_2XBZU5UVWZVSQ.pch' for bridging header '/Users/user/Code/backpack-ios/Example/Backpack/Backpack Native-Bridging-Header.h'
2 errors generated.

Screen Shot 2022-06-15 at 12 05 34@2x

I ran all steps outlined in the Setup section of the contributing guidelines and I'm using Xcode 13.4 on macOS 12.4 with the latest main of this repo.

@frugoman
Copy link
Contributor

Hi @ffittschen do you happen to be using an M1 mac?

@gert-janvercauteren
Copy link
Contributor

Good morning @ffittschen
We have prepared a pull request that should unblock building the example app on M1

#1341
In the mean-time, you can remove 'excludedArchs' from the build settings.

We expect the PR to be merged later today though :D

@ffittschen
Copy link
Contributor Author

I would have never looked at that build setting based on this build error... Thanks for the PR @gert-janvercauteren. There was still another EXCLUDED_ARCHS build setting on the target level, so I created a follow-up PR: #1366

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

3 participants