Skip to content
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

Cannot build latest version from master #21

Closed
pzoltowski opened this issue Oct 30, 2020 · 2 comments
Closed

Cannot build latest version from master #21

pzoltowski opened this issue Oct 30, 2020 · 2 comments

Comments

@pzoltowski
Copy link

Before I was using cocoapods so maybe there is something I don't understand re Swift Packages. I get the following errors after trying to compile the project:

Cookbook project Group
Validate Project Settings Group
/Users/patryk/Developer/workspace/ios/playground/Cookbook/Cookbook/Cookbook.xcodeproj Update to recommended settings
Cookbook Project Group
Package Loading Group
terminated(128): XPC_FLAGS=0x0 LOGNAME=patryk PATH=/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin MallocNanoZone=0 HOME=/Users/patryk XPC_SERVICE_NAME=com.apple.xpc.launchd.oneshot.0x10000003.Xcode LD_LIBRARY_PATH=/Applications/Xcode.app/Contents/Developer/../SharedFrameworks/ CA_DEBUG_TRANSACTIONS=1 SHELL=/bin/zsh SECURITYSESSIONID=186a6 LaunchInstanceID=DEC86BD3-5BF1-4D93-9C92-45C669F6C961 CA_ASSERT_MAIN_THREAD_TRANSACTIONS=1 TMPDIR=/var/folders/p9/qr_6zy4x0pz4_q2kdt15tl5c0000gn/T/ COMMAND_MODE=unix2003 __CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0 USER=patryk SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.UWKGEX5Jhw/Listeners /Applications/Xcode.app/Contents/Developer/usr/bin/git -C /Users/patryk/Library/Developer/Xcode/DerivedData/Cookbook-cqoqdubjrdtiisghouzsouljfkfr/SourcePackages/repositories/AudioKit-ba28193d rev-parse --verify '9e9f1ab8312c71c02288f73034b0393faa5e0bd3^{commit}' output:
fatal: Needed a single revision
Cookbook Group
Package Loading Group
/Users/patryk/Developer/workspace/ios/playground/Cookbook/Cookbook/Cookbook.xcodeproj Missing package product 'AudioKit'
x-xcode-log://E7637D31-3A0F-4101-9E9F-C78FF1D105F1 Package resolution errors must be fixed before building
/Users/patryk/Developer/workspace/ios/playground/Cookbook/Cookbook/Cookbook.xcodeproj Missing package product 'Sliders'
x-xcode-log://E7637D31-3A0F-4101-9E9F-C78FF1D105F1 Package resolution errors must be fixed before building

after openning the project Swift Package Manager seems to correctly fetch both packages but still not able to build project.

using Macos Catalina 10.15.6 and XCode Version 12.1 (12A7403)

@cdinarte
Copy link

On xcode, go to File > Swift Packages > Update to latest package versions, that should fix it.

@pzoltowski
Copy link
Author

thanks! That solved the problem.

@aure aure closed this as completed Oct 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants