Giter Site home page Giter Site logo

Comments (3)

jasperblues avatar jasperblues commented on June 21, 2024 1

Thanks @Timac !!

from vpnstatus.

Timac avatar Timac commented on June 21, 2024

I can indeed reproduce this issue with Xcode 11.4.1 (11E503a) on macOS Catalina 10.15.4 (19E287):

  • Delete the Xcode DerivedData
  • Open the project in Xcode 11.4.1
  • Compile the VPNApp scheme

Result: You get an error

While building module 'NetworkExtension' imported from VPNStatus-master/Common/ACDefines.h:16:
In file included from :1:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/NetworkExtension.framework/Headers/NetworkExtension.h:12:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/NetworkExtension.framework/Headers/NEAppProxyFlow.h:10:9: fatal error: 'Network/Network.h' file not found
#import <Network/Network.h>
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/NetworkExtension.framework/Headers/NEAppProxyFlow.h:10:9: note: did not find header 'Network.h' in framework 'Network' (loaded from '/System/Library/PrivateFrameworks')
1 error generated.
In file included from VPNStatus-master/Common/ACNEServicesManager.m:11:
VPNStatus-master/Common/ACDefines.h:16:9: fatal error: could not build module 'NetworkExtension'
#import <NetworkExtension/NetworkExtension.h>

I am not sure what it causing this problem. It could be an Xcode issue. I found a simple workaround yet:

  1. Change the scheme to 'VPNStatus'
  2. Compile 'VPNStatus'
  3. Change the scheme back to 'VPNApp'

Result: You can now compile and run the 'VPNApp' scheme.
As said, I currently don't understand why the NetworkExtension.framework module can't be created.

from vpnstatus.

Timac avatar Timac commented on June 21, 2024

@jasperblues This issue should now be fixed if you compile with Xcode 12.5.1.

from vpnstatus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.