'hello / Hello.h' file not found - attempt to create / launch iOS gomobile Hello, application

I am creating a gomobile Hello sample application, but I encountered the following problem: when I try to create and run the application after opening it in Xcode (7.1), I get the error message "hello / Hello.h" not found "From what I can say Hello.h is actually located in the hello folder in the native directory.

Xcode Error Message

+5
source share
1 answer

Following this discussion on Github, it looks like this is due to a recent change in the way Xcode 7 updates the header paths.

The suggested solution is to check Copy items if needed when importing the frame:

enter image description here

I can confirm that this fixes the problem. But note that you will need to re-import the framework every time you make changes and create the go code.

+1
source

Source: https://habr.com/ru/post/1236091/


All Articles