-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keeps trying to download 2019 keynote? (and crashes) #87
Comments
Yeah, sorry, it's mostly related to swift version. It appear that crash occurs with the latest 2363 Swift version (xcode-select --version). I just downloaded 120Go for current status of available HD videos. O. |
Interesting. Good to know I'm not going crazy. I'll see if I can figure anything out. EDIT: Looks like I'm running Swift 2354, so it might not just be the latest latest version |
I just verified that the issue is not related to Xcode version installed, but to binaries updated with latest Mac OS versions. I was almost sure that swift was only updated with Xcode, but it does not seems to be the case. Swift is in /usr/bin/swift. |
The issue is not just the macOS version but Xcode as well. I had the latest non-beta Mojave and Xcode installed and have the same crash problem. However, I also have multiple versions of Xcode installed. When adding the audio track handling, I was using the older version of Xcode (10.1) and there were no problem. To work around the problem, install the older version of Xcode and use xcode-select to set using the older version (Based solely on memory. Path may be slightly different): To download older version of Xcode, login to Apple Developer portal and [https://developer.apple.com/download/more/](go here) to find Xcode 10.1. If you want to install in the On why the script crash, this is a compiler bug that I can’t fix unless Apple fixes it. So hopefully Apple will fix it in the next Xcode release. If not, the script may need to be changed to be compilable into a command line app. Sent with GitHawk |
Ok, I’ll test that. Could it be juste Swift binary from the previous version that would be enough to get for running the script ? |
I think it’s possible. Sent with GitHawk |
Ok, I found a workaround (a bit complicated for a script that should not have dependencies :)) explained in the readme. |
I went to the lab and it is indeed a bug in Swift 5.1! O. |
You’re welcome. It’s good to have access to the labs. :) Sent with GitHawk |
When I run ./wwdcDownloader.sh --hd720 --pdf --sample I get the following error: dyld: Library not loaded: @rpath/libswiftAppKit.dylib
Referenced from: /Users/vandad/Desktop/wwdc2019/wwdc-downloader/./wwdcDownloader
Reason: image not found
./wwdcDownloader.sh: line 3: 959 Abort trap: 6 ./wwdcDownloader "$@" Swift version: xcrun swift --version
Apple Swift version 5.0.1 (swiftlang-1001.0.82.4 clang-1001.0.46.5)
Target: x86_64-apple-darwin19.0.0 |
If you have more than one version of Xcode installed, which version is setup to be used (what's the output of Try to use If you have just installed the version of Xcode you've installed, try also launching it to get it to install additional components. Hope this helps. |
I have both the latest release version of Xcode and the latest Beta of Xcode
I did the ➜ wwdc-downloader git:(master) ✗ sudo xcode-select -s /Applications/Xcode.app/Contents/Developer/
Password:
➜ wwdc-downloader git:(master) ✗ ./wwdcDownloader.sh --hd720 --pdf --sample
dyld: Library not loaded: @rpath/libswiftAppKit.dylib
Referenced from: /Users/vandad/Desktop/wwdc2019/wwdc-downloader/./wwdcDownloader
Reason: image not found
./wwdcDownloader.sh: line 3: 2745 Abort trap: 6 ./wwdcDownloader "$@" |
I think it's possible that the beta version of Xcode could have messed up something. I don't have any more ideas at the moment. |
Hello @vandadnp, O. |
I'm on the same configuration as @vandadnp . I solved using the interpreter:
|
Hello @ignazioc, the issue occurs when trying to download a video.
Compiling wwdcDownloader.swift with /usr/bin/swiftc (like For me, it indeed crash with:
I believe it's not particularly related to Xcode but to installed Swift version. After visiting Apple Swift Labs, it have been confirmed as a swift 5 version. I have filed a radar (and Open Radar does not seems to work at the moment). O. |
OK so for some reason when I run the downloader script
./wwdcDownloader.swift
it tries to download the WWDC 2019 Keynote video, which then fails, presumably because it isn't available. But I can't figure out why it's trying to do this.For extra strange points I popped the code into an Xcode command line project and it works fine (downloads them to whatever DerivedData directory the thing outputs to). I notice when it fails from the command line it's trying to download a 1080p keynote video but in Xcode it's just downloading 720p everything.
In Xcode, where it succeeds
On the command line, where it fails
This is with source I fetched just now with the PRs that just got merged for video streams and ffmpeg and so forth. Presumably this script works for folks so I'm not sure what I'm doing wrong.
The text was updated successfully, but these errors were encountered: