Comments (7)
There's a swift2.3 and swift3 branch in progress right now.
There's a lot more to do than just updating Async (which I'll get to)...
from macpin.
Ah, that's great! Probably safe to close this since you're already aware
from macpin.
swift2.3 branch should now be buildable with Xcode 8, lemme know how you get on.
from macpin.
Still no go. Definitely less errors, but now it's complaining about WebKit. I'm using macOS Sierra with XCode 8.0, if that helps.
$ git clone https://github.com/kfix/MacPin
$ cd MacPin
$ git checkout swift2.3
$ make sites/Digg
[eXcode.mk] $(platform) := OSX
[eXcode.mk] $(arch) := x86_64
[eXcode.mk] $(sdk) := macosx
[eXcode.mk] $(target) := apple-macosx10.11
[eXcode.mk] $(build_mods) (compilable modules): Async MacPin Prompt SSKeychain UTIKit WebKitPrivates XMLHTTPRequest
[eXcode.mk] $(execs) (executables available to assemble): build/macosx-x86_64-apple-macosx10.11/exec/MacPin
[eXcode.mk] $(statics) (static libraries available to build): build/macosx-x86_64-apple-macosx10.11/obj/libAsync.a build/macosx-x86_64-apple-macosx10.11/obj/libPrompt.a build/macosx-x86_64-apple-macosx10.11/obj/libSSKeychain.a build/macosx-x86_64-apple-macosx10.11/obj/libUTIKit.a build/macosx-x86_64-apple-macosx10.11/obj/libWebKitPrivates.a build/macosx-x86_64-apple-macosx10.11/obj/libXMLHTTPRequest.a
[eXcode.mk] $(dynamics) (dynamic libraries available to build): build/macosx-x86_64-apple-macosx10.11/Frameworks/libAsync.dylib build/macosx-x86_64-apple-macosx10.11/Frameworks/libPrompt.dylib build/macosx-x86_64-apple-macosx10.11/Frameworks/libSSKeychain.dylib build/macosx-x86_64-apple-macosx10.11/Frameworks/libUTIKit.dylib build/macosx-x86_64-apple-macosx10.11/Frameworks/libWebKitPrivates.dylib build/macosx-x86_64-apple-macosx10.11/Frameworks/libXMLHTTPRequest.dylib
[eXcode.mk] compiling against /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
[eXcode.mk] swift libraries: /Applications/Xcode.app/Contents/Developer/Toolchains/Swift_2.3.xctoolchain/usr/lib/swift/macosx /Applications/Xcode.app/Contents/Developer/Toolchains/Swift_2.3.xctoolchain/usr/lib/swift_static/macosx
Buildable MacPin apps:
build/macosx-x86_64-apple-macosx10.11/apps/CloudPebble.app
build/macosx-x86_64-apple-macosx10.11/apps/DevDocs.app
build/macosx-x86_64-apple-macosx10.11/apps/Digg.app
build/macosx-x86_64-apple-macosx10.11/apps/Facebook.app
build/macosx-x86_64-apple-macosx10.11/apps/Google_Drive.app
build/macosx-x86_64-apple-macosx10.11/apps/Google_Maps.app
build/macosx-x86_64-apple-macosx10.11/apps/Google_Photos.app
build/macosx-x86_64-apple-macosx10.11/apps/Hangouts.app
build/macosx-x86_64-apple-macosx10.11/apps/Inbox.app
build/macosx-x86_64-apple-macosx10.11/apps/JupyterLab.app
build/macosx-x86_64-apple-macosx10.11/apps/MacPin.app
build/macosx-x86_64-apple-macosx10.11/apps/Messenger.app
build/macosx-x86_64-apple-macosx10.11/apps/Slack.app
build/macosx-x86_64-apple-macosx10.11/apps/Stack_Overflow.app
build/macosx-x86_64-apple-macosx10.11/apps/Trello.app
build/macosx-x86_64-apple-macosx10.11/apps/Vine.app
build/macosx-x86_64-apple-macosx10.11/apps/WhatsApp.app
build/macosx-x86_64-apple-macosx10.11/apps/YouTubemake: Circular build/macosx-x86_64-apple-macosx10.11/apps/Digg.app <- sites/Digg dependency dropped.
install -d build/macosx-x86_64-apple-macosx10.11/obj
install -d build/macosx-x86_64-apple-macosx10.11/exec
install -d build/macosx-x86_64-apple-macosx10.11/Frameworks
install -d build/macosx-x86_64-apple-macosx10.11/SwiftSupport
xcrun --toolchain com.apple.dt.toolchain.Swift_2_3 -sdk macosx swiftc -target x86_64-apple-macosx10.11 -F /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks -L /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks -F build/macosx-x86_64-apple-macosx10.11/Frameworks -I modules -I /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks -I build/macosx-x86_64-apple-macosx10.11 -L build/macosx-x86_64-apple-macosx10.11/Frameworks -L build/macosx-x86_64-apple-macosx10.11/obj \
-whole-module-optimization \
-module-name Async -emit-module-path build/macosx-x86_64-apple-macosx10.11/Async.swiftmodule \
-emit-dependencies \
-emit-object -o build/macosx-x86_64-apple-macosx10.11/obj/Async.o \
modules/Async/Async.swift modules/Async/OSX/null.swift
libtool -static -o build/macosx-x86_64-apple-macosx10.11/obj/libAsync.a build/macosx-x86_64-apple-macosx10.11/obj/Async.o
mkdir build/macosx-x86_64-apple-macosx10.11/obj/libPrompt; cd build/macosx-x86_64-apple-macosx10.11/obj/libPrompt; for i in /Users/mike/Work/MacPin/modules/Prompt/Prompt.m; do \
xcrun -sdk macosx clang -fmodules -target x86_64-apple-macosx10.11 -mmacosx-version-min=10.11 -ObjC -c -F /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks -L /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks -F build/macosx-x86_64-apple-macosx10.11/Frameworks -I modules -I /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks -I build/macosx-x86_64-apple-macosx10.11 -L build/macosx-x86_64-apple-macosx10.11/Frameworks -L build/macosx-x86_64-apple-macosx10.11/obj $i; \
done;
clang: warning: argument unused during compilation: '-L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks'
clang: warning: argument unused during compilation: '-Lbuild/macosx-x86_64-apple-macosx10.11/Frameworks'
clang: warning: argument unused during compilation: '-Lbuild/macosx-x86_64-apple-macosx10.11/obj'
libtool -static -o build/macosx-x86_64-apple-macosx10.11/obj/libPrompt.a build/macosx-x86_64-apple-macosx10.11/obj/libPrompt/Prompt.o
mkdir build/macosx-x86_64-apple-macosx10.11/obj/libSSKeychain; cd build/macosx-x86_64-apple-macosx10.11/obj/libSSKeychain; for i in /Users/mike/Work/MacPin/modules/SSKeychain/SSKeychain.m /Users/mike/Work/MacPin/modules/SSKeychain/SSKeychainQuery.m; do \
xcrun -sdk macosx clang -fmodules -target x86_64-apple-macosx10.11 -mmacosx-version-min=10.11 -ObjC -c -F /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks -L /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks -F build/macosx-x86_64-apple-macosx10.11/Frameworks -I modules -I /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks -I build/macosx-x86_64-apple-macosx10.11 -L build/macosx-x86_64-apple-macosx10.11/Frameworks -L build/macosx-x86_64-apple-macosx10.11/obj $i; \
done;
clang: warning: argument unused during compilation: '-L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks'
clang: warning: argument unused during compilation: '-Lbuild/macosx-x86_64-apple-macosx10.11/Frameworks'
clang: warning: argument unused during compilation: '-Lbuild/macosx-x86_64-apple-macosx10.11/obj'
clang: warning: argument unused during compilation: '-L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks'
clang: warning: argument unused during compilation: '-Lbuild/macosx-x86_64-apple-macosx10.11/Frameworks'
clang: warning: argument unused during compilation: '-Lbuild/macosx-x86_64-apple-macosx10.11/obj'
/Users/mike/Work/MacPin/modules/SSKeychain/SSKeychainQuery.m:113:10: warning: '__bridge_transfer' casts have no effect when not using ARC [-Warc-bridge-casts-disallowed-in-nonarc]
return (__bridge_transfer NSArray *)result;
^~~~~~~~~~~~~~~~~~
/Users/mike/Work/MacPin/modules/SSKeychain/SSKeychainQuery.m:139:23: warning: '__bridge_transfer' casts have no effect when not using ARC [-Warc-bridge-casts-disallowed-in-nonarc]
self.passwordData = (__bridge_transfer NSData *)result;
^~~~~~~~~~~~~~~~~~
/Users/mike/Work/MacPin/modules/SSKeychain/SSKeychainQuery.m:282:15: warning: '__bridge_transfer' casts have no effect when not using ARC [-Warc-bridge-casts-disallowed-in-nonarc]
message = (__bridge_transfer NSString *)SecCopyErrorMessageString(code, NULL);
^~~~~~~~~~~~~~~~~~
3 warnings generated.
libtool -static -o build/macosx-x86_64-apple-macosx10.11/obj/libSSKeychain.a build/macosx-x86_64-apple-macosx10.11/obj/libSSKeychain/SSKeychain.o build/macosx-x86_64-apple-macosx10.11/obj/libSSKeychain/SSKeychainQuery.o
xcrun --toolchain com.apple.dt.toolchain.Swift_2_3 -sdk macosx swiftc -target x86_64-apple-macosx10.11 -F /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks -L /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks -F build/macosx-x86_64-apple-macosx10.11/Frameworks -I modules -I /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks -I build/macosx-x86_64-apple-macosx10.11 -L build/macosx-x86_64-apple-macosx10.11/Frameworks -L build/macosx-x86_64-apple-macosx10.11/obj \
-whole-module-optimization \
-module-name UTIKit -emit-module-path build/macosx-x86_64-apple-macosx10.11/UTIKit.swiftmodule \
-emit-dependencies \
-emit-object -o build/macosx-x86_64-apple-macosx10.11/obj/UTIKit.o \
modules/UTIKit/UTI.swift modules/UTIKit/OSX/null.swift
libtool -static -o build/macosx-x86_64-apple-macosx10.11/obj/libUTIKit.a build/macosx-x86_64-apple-macosx10.11/obj/UTIKit.o
mkdir build/macosx-x86_64-apple-macosx10.11/obj/libWebKitPrivates; cd build/macosx-x86_64-apple-macosx10.11/obj/libWebKitPrivates; for i in /Users/mike/Work/MacPin/modules/WebKitPrivates/WKWebViewSnappable.mm; do \
xcrun -sdk macosx clang++ -fmodules -fcxx-modules -std=c++11 -stdlib=libc++ -target x86_64-apple-macosx10.11 -ObjC++ -c -F /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks -L /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks -F build/macosx-x86_64-apple-macosx10.11/Frameworks -I modules -I /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks -I build/macosx-x86_64-apple-macosx10.11 -L build/macosx-x86_64-apple-macosx10.11/Frameworks -L build/macosx-x86_64-apple-macosx10.11/obj $i; \
done;
clang: warning: argument unused during compilation: '-L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks'
clang: warning: argument unused during compilation: '-Lbuild/macosx-x86_64-apple-macosx10.11/Frameworks'
clang: warning: argument unused during compilation: '-Lbuild/macosx-x86_64-apple-macosx10.11/obj'
<module-includes>:1:1: warning: umbrella header for module 'WebKitPrivates' does not include header '_WKUserStyleSheet.h' [-Wincomplete-umbrella]
#import "WebKitPrivates.h"
^
<module-includes>:1:1: warning: umbrella header for module 'WebKitPrivates' does not include header 'WebViewImpl.h' [-Wincomplete-umbrella]
<module-includes>:1:1: warning: umbrella header for module 'WebKitPrivates' does not include header 'WKErrorPrivate.h' [-Wincomplete-umbrella]
<module-includes>:1:1: warning: umbrella header for module 'WebKitPrivates' does not include header 'WKObject.h' [-Wincomplete-umbrella]
<module-includes>:1:1: warning: umbrella header for module 'WebKitPrivates' does not include header 'WKOpenPanelParameters.h' [-Wincomplete-umbrella]
<module-includes>:1:1: warning: umbrella header for module 'WebKitPrivates' does not include header 'WKProcessPoolInternal.h' [-Wincomplete-umbrella]
<module-includes>:1:1: warning: umbrella header for module 'WebKitPrivates' does not include header 'WKType.h' [-Wincomplete-umbrella]
<module-includes>:1:1: warning: umbrella header for module 'WebKitPrivates' does not include header 'WKUserContentControllerPrivate.h' [-Wincomplete-umbrella]
/Users/mike/Work/MacPin/modules/WebKitPrivates/WKWebViewSnappable.mm:6:17: warning: cannot find interface declaration for 'WKWebViewSnappable'
@implementation WKWebViewSnappable: WKWebView
^
/Users/mike/Work/MacPin/modules/WebKitPrivates/WKWebViewSnappable.mm:7:17: error: use of undeclared identifier 'WebKit'
std::unique_ptr<WebKit::WebViewImpl> _impl; // https://github.com/WebKit/webkit/blob/03aae442c5f9a1e32ff96abf4e2595b4a5d8a44c/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm#L264
^
9 warnings and 1 error generated.
make: *** [build/macosx-x86_64-apple-macosx10.11/obj/libWebKitPrivates.a] Error 1
make: write error
from macpin.
from macpin.
make stp.app
works, opens what looks to be a MacPin test app that needs to be force quit. After that it looks like make sites/...
works. The application windows have no shadow, but that's minor.
from macpin.
yeah, stp.app
will launch a foreground console that will survive window close, you just type CTRL+D (EOF) to kill that off.
I'm planning to make Safari Technical Preview linked-builds the default for all targets and just insist it be installed as a requirement.
Many new features depend on it.
The window shadowing should toggle when you do Tab ->Toggle Translucency… but it looks like the initial state is incorrectly flipped on startup.
I'll look into that, thanks for the report!
from macpin.
Related Issues (20)
- Cannot build HOT 1
- Build error
- Download status
- support Packages/ using SPM (Swift Package Manager)
- Maverick support? HOT 4
- Google Maps search broken HOT 17
- implement host redirection via in-app VPN or socket-filter HOT 2
- Can only build some sites HOT 4
- Logo Design HOT 1
- refine "sites" / extensions packaging HOT 1
- Example of multi-tab app? HOT 2
- Multi-tab app, with notifications. HOT 1
- Crashes in Catalina 10.15.2 (19C57) HOT 3
- Default download location? HOT 1
- rects(forCharacterRange:) & Catalina HOT 1
- Will not compile on Big Sur HOT 2
- disrequire Xcode to build once again HOT 4
- Remove automator extras
- Rewrite iconify in swift
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 macpin.