

UIWebView - Used by HockeyApp SDK, Facebook SDK, and some pages in the app.For example, the Kickstarter app can’t build due to these missing classes: Thus, most nontrivial apps will not run without modification.

IOSMac only supports a subset of UIKit features.
#MAC OS 10.14 SIMULATOR#
Porting an applicationĪpps can be compiled for iOSMac by building a modified Simulator binary using MarzipanTool’s linker wrapper. uikitenabler.shĭtrace: script 'tracescript.d' matched 1 probe Type 'DONE' to end.Ĭomputer:MarzipanTool zhuowei$ sudo. (lldb) breakpoint set -F "-"īreakpoint 1: where = FrontBoard`-, address = 0x000000010017d23fĮnter your debugger command(s). (lldb) command source -s 0 'uikitsystem.lldb'Įxecuting commands in '/Users/zhuowei/Documents/MarzipanTool/uikitsystem.lldb'. Libsystem_kernel.dylib`mach_msg_overwrite_trap:Ġx7fff67fb50db : movl $0x1000020, %eax imm = 0x1000020Įxecutable module set to "/System/Library/CoreServices/UIKitSystem.app/Contents/MacOS/UIKitSystem".Īrchitecture set to: x86_64h-apple-iosmac. * thread #1, queue = '-thread', stop reason = signal SIGSTOPįrame #0: 0x00007fff67fb50d6 libsystem_kernel.dylib`mach_msg_trap + 10 (lldb) process attach -name "UIKitSystem" Make sure Xcode Beta is selected as the active Xcode.Ĭomputer:MarzipanTool zhuowei$. Please reenable SIP when you’re not running iOSMac applications. Note that disabling System Integrity Protection makes your Mac insecure, but is needed for enabling iOSMac support. You can find tutorials online, such as this one. You need to disable System Integrity Protection on your computer.

(It must be a physical Mac: virtual machines cannot show iOSMac applications, which require GPU acceleration.). You will need a Mac running macOS 10.14 Beta, with Xcode 10 Beta installed.
#MAC OS 10.14 HOW TO#
I made a five minute video tutorial showing how to install MarzipanTool, how to enable iOSMac for third-party programs, and how to configure an Xcode project to build with iOSMac.įor more details, here’s a text-based tutorial. However, both Swift and Objective-C are supported, and Storyboards/Interface Builder layouts are mostly working, so many simple apps should work.
#MAC OS 10.14 CODE#
Obviously, you need the source code of the application to port Most applications will not run without modification, as many frameworks and classes are missing, preventing most third party libraries such as Facebook SDK and HockeyApp from running.įor example, I attempted to port the Kickstarter app, which failed due to its use of the Facebook SDK, HockeyApp, and Stripe. While Apple did not provide official support for converting iOS apps to macOS apps, it’s simple to disable the check in macOS and preview the future of unified iOS and macOS development. IntroductionĪpple announced at WWDC that they were developing a framework, named iOSMac/ Marzipan, to allow iOS developers to build apps for macOS, and revealed that the Home, Stocks, News, and Voice Recorder apps in macOS 10.14 are all ported from iOS with this framework. Try that method if this tutorial doesn’t work. This post will show you how to use my tools to build your own iOSMac apps on macOS 10.14 Mojave beta.Įdit June 7: released an easier method for making iOSMac apps. A “Hello World” iOS app can become a macOS app in less than 5 minutes.

Here’s how to port your iOS apps to macOS 10.14 Beta using Apple’s iOSMac/Marzipan framework.
