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

No Such File - UnityBridge.h #49

Open
dancreek opened this issue Aug 7, 2017 · 2 comments
Open

No Such File - UnityBridge.h #49

dancreek opened this issue Aug 7, 2017 · 2 comments

Comments

@dancreek
Copy link

dancreek commented Aug 7, 2017

Running on XCode 9, I encountered an issue where the project would not build after following all the setup instructions. I got compiler errors saying the UnityBridge.h file did not exist despite it being loaded properly in the project navigator. The issue appears to be in the Unity.xcconfig file. It's location for the UnityBridge.h file requires that it be in the root of the project folder. Once I moved the file there the project built without a hitch.

@Natata
Copy link

Natata commented Aug 8, 2017

Update the 'Objective-C Bridging Header' in Build Settigns, if you want to move the UnityBridge.h to other path

@kakashysen
Copy link

@dancreek you can fix that very simple, just add the name of you app before file UnityBridge.h

e.g.

SWIFT_OBJC_BRIDGING_HEADER = MainApp/UnityBridge.h;

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