Posts

Post not yet marked as solved
0 Replies
410 Views
Hello all! Got written examples of using Rust in iOS/MacOS applications with Objective-C/Swift: Using Rust in Objective-C project Using Rust in Swift project All of them working perfectly, but there are necessity to use 2 different IDE for it XCode and IntellyJ IDE. It's making difficulties in maintaining projects and for building it. The question is about using Rust in XCode directly. Is there any way to use Rust in XCode without any other IDE?
Posted
by a.bogong.
Last updated
.
Post not yet marked as solved
10 Replies
736 Views
Hello! Right now developing NE extension. Need to determine DNS (means need to know where this package need to be delivered by Domain Name) and IP from the packet itself. How to do it with NEPacketTunnelProvider? There need to solve issue: if there destination Domain Name equal domain1.com then forward it to forwarder1.com if there destination Domain Name equal domain2.com then forward it to forwarder2.com And etc ... Is it in this class https://developer.apple.com/documentation/networkextension/nepacket ? Or should it be done with NEFilterProvider?
Posted
by a.bogong.
Last updated
.
Post not yet marked as solved
1 Replies
906 Views
Hello! Developing application with NetworkExtension. Got this errors: 2023-07-04 09:11:11.963 embeddedBinaryValidationUtility[1384:20739] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore 2023-07-04 09:11:11.964 embeddedBinaryValidationUtility[1384:20739] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore warning: The CFBundleVersion of an app extension (null) must match that of its containing parent app ('0.1'). What does it mean? What is missed by me? My Info.plist or Extension.entitlements contain: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>com.apple.developer.networking.networkextension</key> <array> <string>content-filter-provider</string> <string>packet-tunnel-provider</string> </array> <key>com.apple.security.app-sandbox</key> <true/> </dict> </plist> and <key>NSExtension</key> <dict> <key>NSExtensionPointIdentifier</key> <string>com.apple.networkextension.packet-tunnel</string> <key>NSExtensionPrincipalClass</key> <string>$(PRODUCT_MODULE_NAME).AppProxyProvider</string> </dict> When trying to run application have this error: What is missing?
Posted
by a.bogong.
Last updated
.
Post not yet marked as solved
4 Replies
1.2k Views
Hello all! My project is C++ with CMake. The application going to be using Network Extension. Infollowing of official documentation there need to be created subtarget in the project within NE. Is there any manuals of how to add correctly subtarget Network Extension from CMake that will be built with main appication?
Posted
by a.bogong.
Last updated
.
Post not yet marked as solved
0 Replies
218 Views
Hello all! Is there any way to switch off font ligatures functionlity in MacOS? There are in many editors "=>" exchanging onto "arrow", "==" exchanging on one long sign of "euality" and etc. This feature is making terrible developer exprience.
Posted
by a.bogong.
Last updated
.
Post marked as solved
2 Replies
282 Views
Hello! There are fully operated iOS Network Extension written with NEPacketTunnelProvider. It's working on iOS device. From previous discussion on this forum got some info abpit similarity for iOS and MacOS. If it's working for iOS, is there something to change in code or just supy with MacOS provisiosnoing profile instead of iOS?
Posted
by a.bogong.
Last updated
.
Post marked as solved
1 Replies
246 Views
Hello all! Got confused with some behavior of VPN applications on MacOS. Some of application instatiate NE System extension for each of protocol. Why? Is it best practice? Or it's requirements? My appology for this questions if it's looking strange or weird. The System Extension on MacOS is very new field of development for me.
Posted
by a.bogong.
Last updated
.
Post marked as solved
1 Replies
995 Views
Hello! There are few projects that built with differend versions of XCode. Is there any way to use few versions of XCode and somehow to switch active?
Posted
by a.bogong.
Last updated
.
Post marked as solved
5 Replies
694 Views
Hello! Need to develop Network Etension Packet Tunnel Provider for MacOS. Previously been developing NE for iOS. There are some limits and mobile application special things. Got some questions because of it: What kind of limits for NE in MacOS? Is it the same like for iOS? (Memory, traffic, etc). How it interacting with main application? Is there something very specific for MacOS implementaion of NE? Is there examples or manuals of NE especially designated for MacOS?
Posted
by a.bogong.
Last updated
.
Post not yet marked as solved
0 Replies
263 Views
Hello all! Trying to find any info about how to create iOS/MacOS application written with CMake/C++ within Network Extension. There are few questions: How to setup CMake project for correct application building with XCode? Is there any examples of it? Some of details about XCode part covered in this thread But there are nothing about settings for CMake.
Posted
by a.bogong.
Last updated
.
Post not yet marked as solved
5 Replies
880 Views
Hello all! The aplication that is developing by me now contain Network Extension and Packet Filtering functionality. The question is about lifecycles and how to handle application lifecycles (active, background, will be terminated) and network extension lifecycles together. There are few questions: Is there any manuals about iOS Application Extensions lifecycles and how to handle it in case of main application lifecycle? Is there something special in case of Network Extension lifecycle? How to correctly handle Network extension crash? How to correctly handle Background mode? Is there any examples, references or manuals about all of this topics?
Posted
by a.bogong.
Last updated
.
Post marked as solved
1 Replies
479 Views
Hello all! My project ic C++ project with CMake and need to create in CMakeLists.txt functionality of automatic code sign for specific team and product. Is there any way to do it? Is there any examples or manuals? My CMake is 3.26.3
Posted
by a.bogong.
Last updated
.
Post not yet marked as solved
4 Replies
847 Views
Hello all! Trying to work with 3d part package that using MacOS 12. In XCode 14.2 unable to find any option to add MacOS 12. Is there any way to do it? In XCode 14.2 for me available only MacOS 13.1.
Posted
by a.bogong.
Last updated
.
Post not yet marked as solved
1 Replies
759 Views
Hello all! Trying to develop VPN application that using Wireguard. Have few qustions about it: Need to have Wireguard https://github.com/WireGuard/wireguard-apple package as static library. Is there any way to use this package as static library? My application is C++. Does anyone know any Wireguard C++ libraries that will be OK for iOS/MacOS? (Not Swift)
Posted
by a.bogong.
Last updated
.