Today we got rejected from Apple Mac Store because we used Xamarin implementation of NEVPNManager in our Mac application.
Your app includes VPN services but does not use the NEVPNManager API to deliver these services.
Previously we had the VPN functionality in an objective c library (that was binded) and we got accepted. Now we removed the objective c library and used the xamarin implementation and we got rejected.
Why did Apple reject us? #Xamarin are you using NEVPNManager in your implementation?
You can find the answer on Xamarin Forum:
https://forums.xamarin.com/discussion/comment/328214?
Thanks to #Chris Hamons for the help!
Solution:
Adding --link_flags="-framework NetworkExtension" to Additional MMP Arguments in Project Options -> Build -> Mac Build fixed the issue.
In theory those should be added automatically. Seems like a potential bug.
Related
While searching for an alternative of UIKit for MacOS, I came across UXKit (a private framework used by Apple to develop new Photos app). I found one demo app made with UXKit here and another demo app here. They include headers of UXKit, generated by class-dump. Both of the apps build and runs on MacOS (High Sierra 10.13.1) successfully.
The question is if we include these headers in an Xcode project and develop MacOS app, will it be safely published on Mac AppStore? If No, then is it okay to use UXKit in MacOS apps and publish them outside Mac AppStore.
Read more about UXKit here.
I came across Chameleon, but it looks like it is not maintained for a long and it is not using UXKit (it is trying to mimic UXKit), so I'm not interested in it.
No, it's not safe to use a system private framework in a shipping application. The framework could change in incompatible ways between OS versions, or even be removed completely.
By the time I'm writing this, I'm working on a Xamarin cross-platform app (iOS,Android and Windows Phone), using Azure Mobile Services. There is interest of also developing Mac OS X version of this app.
Is there a way to use the Azure for the OS X app, because I can't find anything on the web? Please, be descriptive as possible :)
There is not currently Xamarin.Mac support in Mobile Services. If you look here (https://github.com/Azure/azure-mobile-apps-net-client/tree/master/sdk) you will see there is a Xam.iOS, Android, and Forms project.
You can add a feature request for Xam.Mac, or make an open PR that adds in a Xam.Mac project. I'd assume the main PCL component will work and its just a matter of adding the Mac specific wrappers where needed. I'm not sure how much dev work that would actually entail though to say if its feasible or not.
Is there a way to add google maps or mapbox to osx app built with swift in xcode? Both websites only show api for ios. Is there any option to add maps to osx app without using apple maps?
I recently ported the Mapbox iOS SDK to OS X. It can be used with either Objective-C or Swift on OS X 10.10.0 and above. Until there’s an official release, you’ll need to clone the mapbox/mapbox-gl-native repository on GitHub and build the project from source. Most of the Mapbox iOS SDK documentation applies equally to the OS X port. The project comes with a demo application as well (via make xproj).
Update: You don’t have to build it from source anymore! See https://github.com/mapbox/mapbox-gl-native/releases/ for prebuilt releases of the Mapbox macOS SDK. (Look for releases beginning with “macos-”.) See the SDK’s homepage for more information and an API reference.
There is no google-maps SDK for OS X. Your only way to go to is add a webView into your app and load a html that contains maps api calls linked to your AUTHORIZATION TOKEN.
Technically Mapbox GL runs on OS X, but it's direct C++, which means that you'd have to wrap it in Objective-C in order to use it with Swift, but it is possible.
We are trying to put our app in the apple app store and would like to add in app purchases but unfortunately our app is not created with Xcode. We use an implementation of common lisp called CCL which includes an objective C bridge to access the Cocoa API. This is all fine and good except after reading through the StoreKitGuide I see that we are supposed to link again the StoreKit.framework in order to add a store to my app.
This presents a problem because we are not using XCode to create our app. Is it possible to add in app purchase to your app if we are not using in app purchases? I realize that most people on here will not be using common lisp but I was wondering if they could offer any insight into how one could enable in app purchases without Xcode.
Does (OBJC:LOAD-FRAMEWORK "SKRequest" :storekit) succeed? Or perhaps (OBJC:LOAD-FRAMEWORK "StoreKit" :cocoa)?
If not, you might have to create the interfaces yourself: http://ccl.clozure.com/manual/chapter13.5.html#Creating-new-interface-directories
If you use an Objective C bridge, them this bridge will need to be modified or updated to support the frameworks you require and whose support is not currently included on the bridge. Recompiling the bridge code likely will require Xcode plus the bridge source code.
I'm developping Iphone application and I want to convert it to a universal one.
I found many tutorial that deals with this issue but they seems to be ancohérent to the new release of SDK and Xcode.
As many said I think that making a universal application is so easy.
Can you give me the necessery steps or a tutorial link? Thanks.
I think you will find necessary information and steps in this tutorial
http://iphonedevelopment.blogspot.com/2010/04/converting-iphone-apps-to-universal.html
and as a side note you should be aware of converting an existing app to universal app
http://useyourloaf.com/blog/2010/4/7/converting-to-a-universal-app-part-i.html