Comments (3)
Thanks @Timac !!
from vpnstatus.
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:
- Change the scheme to 'VPNStatus'
- Compile 'VPNStatus'
- 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.
@jasperblues This issue should now be fixed if you compile with Xcode 12.5.1.
from vpnstatus.
Related Issues (20)
- homebrew support 🍻 HOT 4
- ne_session_set_event_handler_block prototype HOT 3
- Changing menu bar icon HOT 2
- VPN Connection The server is unreachable VPN App Server Address Unknown HOT 2
- Swift Version HOT 1
- Trusted Network Detection HOT 3
- Defaults settings not being read HOT 8
- Add preference to hide specific VPN configurations
- IgnoredSSIDs does not work HOT 1
- Is there a way to configure vpnutil to ignore some of the VPNs? HOT 3
- vpnutil: Update 'usage' to mention 'list' option HOT 4
- No VPN despite green icon HOT 2
- IgnoredSSIDs doesn't work anymore after upgrading to macOS Sonoma HOT 4
- Run script on connect/disconnect HOT 2
- It will be great to see your tools in brew HOT 7
- VPN drops and the app doesn't reconnect for a while HOT 11
- Alternative to polling HOT 4
- Not starting after upgrade to macos 14.4 HOT 2
- Add UI to edit the preferences HOT 1
- Add a check for update solution HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vpnstatus.